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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to