Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-8814

Provide a declarative, performant mechanism to prevent duplicate document names within a folder

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.5
    • Fix Version/s: Postponed
    • Component/s: Seam / JSF UI

      Description

      Enhance the content repository with the ability to declaratively prevent duplicate document names within a folder. Alfresco supports this capability using the boolean "duplicate" element within a child association as follows: (http://wiki.alfresco.com/wiki/Data_Dictionary_Guide#Child_Associations)

      <type name="cm:folder">
      <title>Folder</title>
      <parent>cm:cmobject</parent>
      <associations>
      <child-association name="cm:contains">
      <source>
      <mandatory>false</mandatory>
      <many>false</many>
      </source>
      <target>
      <class>sys:base</class>
      <mandatory>false</mandatory>
      <many>true</many>
      </target>
      <duplicate>false</duplicate>
      <propagateTimestamps>true</propagateTimestamps>
      </child-association>
      </associations>
      </type>

      Alfresco uses database constraint to performantly implement this feature. Nuxeo should consider providing a similar capability.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: