[wpkg-users] [Bug 156] Variables in WPKG-1.1.0-M21 doesn't work correctly

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Thu Jun 25 08:37:01 CEST 2009


http://bugzilla.wpkg.org/show_bug.cgi?id=156


Rainer Meier <r.meier at wpkg.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |r.meier at wpkg.org




--- Comment #1 from Rainer Meier <r.meier at wpkg.org>  2009-06-25 08:36:55 ---
You are right. The documentation of WSH states that in case of variable
re-definition it throws an error. So I've included some code to remove any
eventually existing definition before.

I don't like the "x.Item(variableName)=variableValue" approach at all because
most IDEs (including Eclipse) complain about this statement (lvalue needs to be
a variable, not a method/function).


Changes:
FIX: Fixed WPKG quit if a variable definition appears twice (re-defined). For
     example if a variable is defined in profiles.xml and overwritten in
     hosts.xml.
     Fixes Bug 156.


Get update version from here:
<http://wpkg.svn.sourceforge.net/viewvc/wpkg/wpkg/stable/1.1/wpkg.js?view=log>

At time of writing 1.1.1-RC9 is the latest one:
<http://wpkg.svn.sourceforge.net/viewvc/wpkg/wpkg/stable/1.1/wpkg.js?revision=85>

I am going to release it soon.

br,
Rainer

-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the wpkg-users mailing list