Uploaded image for project: 'Alfresco One Platform'
  1. Alfresco One Platform
  2. ACE-3735

It should be possible to set the cm:versionLabel property programmatically

    Details

    • Type: Feature
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.4 Enterprise, 4.0, 4.1, 4.2, 5.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      Currently the cm:versionLabel property is a "protected" property, meaning that it cannot be set programmatically by extension code. However there are cases (during content migration, for example) where there can be a requirement to capture the precise version labels from elsewhere (e.g. the source system).

      Note also that these version labels may not conform to Alfresco's [major.minor] version labeling convention. As a first pass at this functionality it may be acceptable to require that this convention be followed (while still allowing each version label to be set to any [major.minor] value), but a comprehensive fix for this issue should add support for arbitrary version label values.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                resplin Richard Esplin [X] (Inactive)
                Reporter:
                resplin Richard Esplin [X] (Inactive)
              • Votes:
                4 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated: