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

-- 
Florent Guillaume, Director of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87

Reply via email to