[Yanel-dev] [Bug 7531] resource-types package configurations get lost

bugzilla at wyona.com bugzilla at wyona.com
Wed Apr 21 13:48:19 CEST 2010


http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=7531





------- Comment #2 from guillaume.deflache at wyona.com  2010-04-21 12:43 -------
I changed:
if (!resourceTypeExists(srcAttr, rootElement)) {

to:
if (srcAttr == null || srcAttr.equals("") || !resourceTypeExists(srcAttr,
rootElement)) {

and it seems to work as expected with default development build settings for
me.

The problem was that for a "package" resource-type there is no 'src' attribute,
srcAttr gets empty but this also happens for all other "package"
resource-types, so the RT is seen as a duplicate by the 'resourceTypeExists'
method.

AFAICS this is broken since r42497.


-- 
Configure bugmail: http://bugzilla.wyona.com/cgi-bin/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the Yanel-development mailing list