-
Type: Improvement
-
Status: Resolved
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: 9.3
-
Sprint:nxGang Sprint 9.3.6
The REST API does not include the `name` property when returning DocumentRoute documents. For example use this query:
`Select * from DocumentRoute where ecm:currentLifeCycleState = 'validated'`
The response will look like:
javascript { "entity-type": "document", "repository": "default", "uid": "670690cf-f465-46d2-bb4b-26d39b6a6030", "path": "/document-route-models-root/ShoppingCart_Download_Request", "type": "DocumentRoute", "state": "validated", "parentRef": "6bfc0019-858f-499b-8ef8-05aa55fbaa5c", "isCheckedOut": true, "isVersion": false, "isProxy": false, "changeToken": null, "title": "Asset Download Request", "properties": { "common:size": null, "common:icon-expanded": null, "common:icon": "/icons/route.png", "stepf:execution": "graph", "dc:description": null, "dc:language": null, "dc:coverage": null, "dc:valid": null, "dc:creator": null, "dc:modified": null, "dc:lastContributor": null, "dc:rights": null, "dc:expired": null, "dc:format": null, "dc:created": null, "dc:title": "Asset Download Request", "dc:issued": null, "dc:nature": null, "dc:subjects": [], "dc:contributors": [], "dc:source": null, "dc:publisher": null, "var_ShoppingCart_Download_Request:start": null, "var_ShoppingCart_Download_Request:reason": null, "var_ShoppingCart_Download_Request:end": null, "var_ShoppingCart_Download_Request:Comments": null, "docri:variablesFacet": "facet-var_ShoppingCart_Download_Request", "docri:availabilityFilter": "filter@wf@ShoppingCart_Download_Request", "docri:initiator": null, "docri:parentRouteInstanceId": null, "docri:modelId": null, "docri:participatingDocuments": [], "docri:parentRouteNodeId": null }, "facets": [ "facet-var_ShoppingCart_Download_Request", "SystemDocument", "Folderish", "ForceAudit", "HiddenInNavigation", "Orderable", "DocumentRoute", "StepFolder" ] }
The `name` parameter is missing.
I'm setting to major because it has a pretty bad effect when trying to use workflows (i.e. I can't query the system for workflow analytics).
Workaround: the name is in the `path` parameter but you have to parse it.
- depends on
-
NXP-22851 nuxeo-workflow-analytics should fetch worfklows from repository instead of hard-code
- Resolved