Hi Florent,

That's a bug. I'll fix it.


- Florian

On 23/09/2010 13:23, Florent Guillaume wrote:
Hi,

In AtomEntryParser.parseEntry the atom title is added to the
properties using (simplified):
         // overwrite cmis:name with Atom title
         if (atomTitle != null)  {
             PropertyString nameProperty = new
PropertyStringImpl(PropertyIds.NAME, atomTitle);
             ((PropertiesImpl)
fObject.getProperties()).addProperty(nameProperty);
         }

and addProperty does:
         propertyList.add(property);
         properties.put(property.getId(), property);

which means that if a cmis:name was already specified in the
properties (like the swing client does), the map is correctly
overwritten but the list sees it added at the end, not replaced.

Is this expected?

Florent


Reply via email to