. Fixes/improvements for handling of author/creator in the repository and the web-client:

- added new aspect called "cm:author" with a single text property "cm:author"
 - fixed the content meta-data extractors to set the new cm:author property rather than the system cm:creator property (which was causing a couple of bugs spotted recently)
 - fixed the web-client to set the new cm:author property rather than the cm:creator property from user entered data into the UI
 - fixed web-client config of document properties screen to display cm:author
 - fixed client to not allow editing of the cm:creator value

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2034 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2005-12-13 15:25:56 +00:00
parent 6accb7a795
commit cafe3fb51f
12 changed files with 78 additions and 23 deletions

View File

@@ -73,7 +73,7 @@ public class QNameMap<K,V> implements Map, Cloneable
*/
public boolean containsKey(Object key)
{
return (this.contents.containsKey(QName.resolveToQNameString(resolver, (String)key)));
return (this.contents.containsKey(QName.resolveToQNameString(resolver, key.toString())));
}
/**
@@ -100,7 +100,7 @@ public class QNameMap<K,V> implements Map, Cloneable
*/
public Object put(Object key, Object value)
{
return this.contents.put(QName.resolveToQNameString(resolver, (String)key), value);
return this.contents.put(QName.resolveToQNameString(resolver, key.toString()), value);
}
/**
@@ -108,7 +108,7 @@ public class QNameMap<K,V> implements Map, Cloneable
*/
public Object remove(Object key)
{
return this.contents.remove(QName.resolveToQNameString(resolver, (String)key));
return this.contents.remove(QName.resolveToQNameString(resolver, key.toString()));
}
/**