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

Make DocumentType getters return immutable objects

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2021.x
    • Component/s: Core

      Description

      All the getters of the DocumentType class must return immutable objects to avoid modifying the whole application configuration, for instance by adding or removing allowed subtypes.

      This was seen with FIO-76.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                troger Thomas Roger
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: