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

Deprecate scope in DocumentModel context data

    XMLWordPrintable

    Details

    • Type: Clean up
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.1
    • Component/s: Core
    • Impact type:
      API change
    • Upgrade notes:
      Hide

      Any usage of ScopedMap or ScopeType is deprecated and will be removed in the future.

      Instead of ScopedMap, use Map<String, Serializable>.
      Instead of ScopeType in getContextData and putContextData, use equivalent methods without a scope.

      Show
      Any usage of ScopedMap or ScopeType is deprecated and will be removed in the future. Instead of ScopedMap, use Map<String, Serializable>. Instead of ScopeType in getContextData and putContextData, use equivalent methods without a scope.
    • Sprint:
      nxFG 9.1.6
    • Story Points:
      2

      Description

      The DocumentModel context data is a ScopedMap but the scoping features are actually unused and confusing. Remove them.


      Any usage of ScopedMap or ScopeType is deprecated and will be removed in the future. Instead of ScopedMap use Map<String, Serializable>. Instead of ScopeType in getContextData and putContextData use equivalent methods without a scope.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: