Should CMIS select * from cmis:folder return the root folder?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-19-2013 11:53 AM
The current set of nuxeo-chemistry unit tests expect the root folder to be filtered out in cmis:folder queries since its lifecyclestate is NULL. Yet, 'Root' is considered a valid cmis:folder primarytype. Are the unit tests that make this assumption about the root folder incorrect?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-19-2013 12:38 PM
I'd say they are neither correct or incorrect, they just test the current state of the platform. What would you change?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-19-2013 12:48 PM
For example, in TestNuxeoBinding.testQueryBasic(), I would change the number 4 to 5 in the assertEquals below if we agreed that the root of the CMIS tree should itself be considered a cmis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-19-2013 01:15 PM
But you'd need to change what's returned for the root. How would you change that? Note that I don't much care about the behavior of the root, it's special and does not matter in real life.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2014 04:21 PM
Hi rg1
