-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
createItem signature and submitted form data #73
Comments
I think it's a bug, probably the line https://github.com/agea/CmisJS/blob/master/src/cmis.ts#L1342 it's wrong, you may create a pull request with the correction, and if possible even a test (the tests were run against alfresco mainly, i don't know what is your backend) Thank you |
Ok, I will do a pull request with a test. |
Hello @agea I have take a look on the lib tests and there is a lot of Thanks |
hello, it's possibile that the test server specified in the tests (https://cmis.alfresco.com/cmisbrowser) is no longer available to everyone.. if you have an internal alfresco available you can change the url to your server via an environment variable, otherwise just add your test, and i will check before merging the pull request |
Hello,
to start, let me thank you for still maintaining your library, we use it time to time it’s a very convenient.
We have tried to use the "createItem" method and we observe a shift between what we expected and what we get.
In your documentation, we have to provide a
folderId
. The cmis specification says it’s optionnal, so we try to putnull
value and it works. Ok, that’s fine.But when we provide a real value (the root folder id of our repository) the request send an
objectId
data instead of afolderId
.There is what we receive in our server :
cmisaction = > "createItem",
objectId => 2,
propertyId => [...],
propertyValue => [...],
succinct => true
Our server doesn’t understand the submitted
objectId
parameter.According to you, is there a mistake in the cmis library or do we have to consider the objectId is the folderId in the server side ?
Thanks for your help.
Wiser
The text was updated successfully, but these errors were encountered: