-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2023.7, 2021.49
-
Component/s: Rest API
-
Release Notes Summary:Document.Create Operation takes path segment limit into account (24 characters by default).
-
Tags:
-
Backlog priority:750
-
Sprint:nxplatform #108
-
Story Points:3
Steps to Reproduce:
Run this curl command
curl -X POST -H 'Content-Type: application/json' -u Administrator:Administrator http://localhost:8080/nuxeo/api/v1/automation/Document.Create -d '{"input":"<parentId>","params": { "type":"File", "name":"testing1234567891011121314151617181920", "properties": {"dc:title":"testing1234567891011121314151617181920"}}}'
Observe that the returned JSON response contains the same value as the title for the name
Expected behavior: the document creation should limit the document name to 24 characters (or to the value configuration with the property "nuxeo.path.segment.maxsize"
- is related to
-
NXP-31363 Make the document creation take into account the segment limit in WebUI
- Resolved