mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
. 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:
@@ -264,6 +264,9 @@
|
||||
<property name="contentService">
|
||||
<ref bean="contentService" />
|
||||
</property>
|
||||
<property name="dictionaryService">
|
||||
<ref bean="dictionaryService" />
|
||||
</property>
|
||||
<property name="metadataExtracterRegistry">
|
||||
<ref bean="metadataExtracterRegistry" />
|
||||
</property>
|
||||
|
@@ -71,6 +71,11 @@ cm_contentmodel.property.cm_modifier.description=Who last modified this item
|
||||
cm_contentmodel.property.cm_accessed.title=Last Accessed Date
|
||||
cm_contentmodel.property.cm_accessed.description=When this item was last accessed
|
||||
|
||||
cm_contentmodel.aspect.cm_author.title=Author
|
||||
cm_contentmodel.aspect.cm_author.description=Author
|
||||
cm_contentmodel.property.cm_author.title=Author
|
||||
cm_contentmodel.property.cm_author.description=Author
|
||||
|
||||
cm_contentmodel.aspect.cm_localizable.title=Localizable
|
||||
cm_contentmodel.aspect.cm_localizable.description=Localizable
|
||||
cm_contentmodel.property.cm_locale.title=Locale
|
||||
|
@@ -218,7 +218,7 @@
|
||||
<type>d:datetime</type>
|
||||
</property>
|
||||
<property name="cm:creator">
|
||||
<title>Author</title>
|
||||
<title>Creator</title>
|
||||
<type>d:text</type>
|
||||
</property>
|
||||
<property name="cm:modified">
|
||||
@@ -309,7 +309,7 @@
|
||||
<parent>cm:auditable</parent>
|
||||
<!-- TODO: Support mandatory-aspects on an aspect in the meta-model
|
||||
<mandatory-aspects>
|
||||
<aspect>Auditable</aspect>
|
||||
<aspect>cm:auditable</aspect>
|
||||
</mandatory-aspects>
|
||||
-->
|
||||
<properties>
|
||||
@@ -329,15 +329,20 @@
|
||||
</property>
|
||||
</properties>
|
||||
</aspect>
|
||||
|
||||
<aspect name="cm:author">
|
||||
<title>Author</title>
|
||||
<properties>
|
||||
<property name="cm:author">
|
||||
<title>Author</title>
|
||||
<type>d:text</type>
|
||||
</property>
|
||||
</properties>
|
||||
</aspect>
|
||||
|
||||
<aspect name="cm:dublincore">
|
||||
<title>Dublin Core</title>
|
||||
<parent>cm:titled</parent>
|
||||
<!-- TODO: Support mandatory-aspects on an aspect in the meta-model
|
||||
<mandatory-aspects>
|
||||
<aspect>Auditable</aspect>
|
||||
</mandatory-aspects>
|
||||
-->
|
||||
<properties>
|
||||
<property name="cm:publisher">
|
||||
<title>Publisher</title>
|
||||
@@ -372,13 +377,17 @@
|
||||
<type>d:text</type>
|
||||
</property>
|
||||
</properties>
|
||||
<mandatory-aspects>
|
||||
<aspect>cm:auditable</aspect>
|
||||
<aspect>cm:author</aspect>
|
||||
</mandatory-aspects>
|
||||
</aspect>
|
||||
|
||||
<!--
|
||||
<aspect name="cm:subjectable">
|
||||
<title>Subjectable</title>
|
||||
<mandatory-aspects>
|
||||
<aspect>Auditable</aspect>
|
||||
<aspect>cm:auditable</aspect>
|
||||
</mandatory-aspects>
|
||||
<properties>
|
||||
<property name="cm:subject">
|
||||
|
Reference in New Issue
Block a user