[wpkg-users] Package with empty revision number

Rainer Meier r.meier at wpkg.org
Thu Sep 11 22:12:16 CEST 2014


Hi Antony,

On 11.09.2014 20:05, Antony Awaida wrote:
> Hi everyone:
>
> I mistakenly created a package of shockwave using an empty revision number.
>
> At the bottom is the debug log from WPKG.js
>
> The problem is how do I fix this error? If I create a new revision that fixes
> the revision number, WPKG. js will still fail since it is unable to compare to
> an empty version.

Actually I think this might be a bug. According to WSDL specification I think 
revision is optional but should default to some number if not set. I will have a 
look at the code.

Moreover the code to compare empty string against version number should perhaps 
behave differently and provide empty string to be lower version than any other 
version number.

Meanwhile deleting wpkg.xml via pre-execution script might work.

br,
Rainer



More information about the wpkg-users mailing list