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

Deprecate the filename (sub-)field of the file and files schemas

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.1
    • Component/s: Core
    • Story Points:
      8

      Description

      Deprecate file:filename since it is redundant with the name property of the content complex type.
      Therefore we should at least:

      • Make sure we always set the content/name sub-field when setting the file:content or files:files/*/file property of a document. This means that the filename field of the input Blob must not be null.
      • Have some migration code / procedure to set content/name if not set, using the file:filename field assuming it is set.
      • Make sure we always use content/name when reading / displaying a blob's filename.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.