Comments (3)
I don't remember why the library uses objectId
instead of folderId
, probably beacuse the Alfresco implementation when I developed the library only worked with objectId
as parameter..
Any PR is welcome, thank you!
from cmisjs.
Hi,
As I suggested to you, I prepared a PR.
But with my modifications, the 'createDocument' test do not pass anymore because of an error :
{
"exception" : "contentAlreadyExists",
"message" : "An object with this name already exists: Existing file or folder test.txt already exists"
}
Obviously, the Alfresco repository does not recognize the folderId parameter of the createDocument method because it tries to create the "test.txt" file on the root folder instead of the previously created random folder...
Of course, I don't want to break your compatibility with Alfresco, so I guess you can close this issue, I will adapt my CMIS server implementation to accept the objectId parameter if folderId is not sent...
Wiser.
from cmisjs.
Ok, thank you
from cmisjs.
Related Issues (20)
- getFolderTree() wrong CMIS Selector? HOT 1
- Detect nodeJS environment HOT 1
- Session Parameter - Caching HOT 4
- getObjectByPath crashes when path contains certain accented characters
- In certain conditions CmisRequest is invoked with undefined res HOT 2
- method getRepositories must be called with the token as argument id one is provided to the session
- Uploading file without extension does not allow mimetype to be set
- Andrea, are you planning to continue the contribution to this project? HOT 2
- includeRelationships option
- Quick Tutorial
- Writing content to file HOT 2
- node Buffer error in cmis.ts
- Using setContentStream change the mimetype in Alfresco
- typo for parameter download in getContentStream
- error: TS2749: 'Buffer' refers to a value but is being used as a type here HOT 1
- createItem signature and submitted form data HOT 4
- Later Versions of cross-fetch-1.1.1.tgz and node-fetch-1.7.3.tgz have not not been updated in CmisJS
- Error: TypeError: undefined is not an object (evaluating 'self.atob.bind')
- Can't create document with session.createDocument() HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmisjs.