portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bora Gonul <bora.go...@eu.sony.com>
Subject PreferencesImpl bug ?
Date Thu, 26 May 2005 10:30:00 GMT
Hi all,

I think we have a bug in Preferences API. The problem is that the new
PropertyKey is not added the nodeKeys collection so nothing is inserted to
PREFS_NODE_PROPERTY_KEY table in putSpi method.

PreferencesImpl.putSpi(){

....
        else if (!prefsProvider.isPropertyManagerEnabled() && !foundProp)
        {
            foundKey = true;
            PropertyKey pKey = new PropertyKeyImpl(key, Property.STRING_TYPE);
            properties.add(new PropertyImpl(node.getNodeId(),
pKey.getPropertyKeyId(), pKey, pKey
                    .getPropertyKeyType(), value));
            //NEED TO ADD THIS ?
            nodeKeys.add(pKey);
....
}

Regards

Bora Gonul

Sony EDC







---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message