Bug 34779 - Property namespace and name clash
Summary: Property namespace and name clash
Status: NEW
Alias: None
Product: Slide
Classification: Unclassified
Component: Core (show other bugs)
Version: 2.1
Hardware: All All
: P2 critical (vote)
Target Milestone: ---
Assignee: Slide Developer List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-06 14:30 UTC by Johan Stuyts
Modified: 2005-05-06 06:30 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Stuyts 2005-05-06 14:30:51 UTC
The namespaces and names of properties are not completely separated. It seems 
that the concatenation of the namespace and the name uniquely identify a value. 
Because of this it is possible to delete values in other namespaces.

For an example of this behaviour try to set a property with namespace 'DAV:c' 
and name 'reationdate'. The 'DAV:creationdate' property will disappear.

This does not affect 'DAV:acl'. This is probably because it is stored different 
in the store than the other properties.

I suspect the problem is in org.apache.slide.content.NodeRevisionDescriptor as 
it uses a concatenation of the namespace and the name without a special 
separator as a key for the properties map.