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

Require property cmis:name when creating document

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Detail
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.3
    • Component/s: CMIS

      Description

      CMIS Spec section "2.1.4.3.3 Property Definitions" declares that Property "cmis:name" is REQUIRED.

      CMIS Spec section "2.2.4.1.3 Exceptions Thrown & Conditions" declares that the createDocument operation should throw a constraint If the value of any of the properties violates the constraints (min/max/required/length etc.) specified in the property definition in the object-type.

      But currently the code allows this (the dc:title stays empty and the last path segment is inferred through PathSegmentService). It should throw an exception instead.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h