[wpkg-users] [Bug 243] Empty variable value causes crash

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Sat Oct 15 22:00:16 CEST 2011


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

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

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

--- Comment #1 from Rainer Meier <r.meier at wpkg.org>  ---
I can't confirm this using the latest WPKG 1.2.1-RC22 from SVN. WPKG just
defines an empty variable if the value is set to value="". But indeed it
crashes with an exception if either name or value is not defined at all.
Actually this would be an invalid definition accoridng to XSD. I've added some
code which will bei included in WPKG 1.2.1-RC23 which will print an error to
the logs in case of invalid variable specification in the XML files. It will
ignore such invalid variables which either miss the name or value attribute.

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