getNodeContent throwing error
See original GitHub issueType of issue: (check with “[x]”)
- [ ] New feature request
- [x ] Bug
- [ ] Support request
Current behavior:
Running this.nodesApi.getNodeContent(nodeId, opts) throws an error:
Type Error: Value is not a sequence: alfrescoApiClient.js:174
If I view the HTTP trace (via the browser developer tools), the REST call can be seen to return correctly, but the API fails before it can return the file back to my code.
My code is an angular 10 application. alfresco-js-api was installed via npm and each of my components I use:
include {AlfrescoApi, NodesApi} from ‘@alfresco/js-api’;
Expected behavior:
getNodeContent should return the content as blob
Steps to reproduce the issue:
Run getNodeContent as above.
Node version (for build issues):
Angular 10.1.7 Node 12.16.1 NPM 6.14.8 Alfresco repository 6.2.2 (Enterprise) alfresco-js-api 4.1.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (5 by maintainers)
Top GitHub Comments
The error is thrown whenever you call
getNodeContent()
which is why I thought it might be related to this issue.Solved in ADF 4.4.0