You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Bernhard Reutner-Fischer (JIRA)" <ji...@apache.org> on 2010/11/24 11:14:16 UTC
[jira] Created: (CMIS-283) createFolder('trailingDot.') fails
createFolder('trailingDot.') fails
----------------------------------
Key: CMIS-283
URL: https://issues.apache.org/jira/browse/CMIS-283
Project: Chemistry
Issue Type: Bug
Components: python-cmislib
Environment: Alfresco Community v3.3.0
(g 2860) schema 4100
Reporter: Bernhard Reutner-Fischer
createFolder('trailingDot.') fails with:
ERROR: Create a folder with a trailing dot in it's name
----------------------------------------------------------------------
Traceback (most recent call last):
File "./cmislibtest.py", line 582, in testFolderTrailingDot
trailingDotFolder = self._testFolder.createFolder('trailingDot.')
File "./../cmislib/model.py", line 2716, in createFolder
ATOM_XML_ENTRY_TYPE)
File "./../cmislib/model.py", line 258, in post
self._processCommonErrors(result)
File "./../cmislib/model.py", line 316, in _processCommonErrors
raise RuntimeException(error.status, error.url)
RuntimeException: Error 500 at http://127.0.0.1:8080/alfresco/s/cmis/s/workspace:SpacesStore/i/5bbced9a-59dd-44a3-a3bb-b1b18c7dd6b1/children
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CMIS-283) createFolder('trailingDot.') fails
Posted by "Bernhard Reutner-Fischer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CMIS-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bernhard Reutner-Fischer updated CMIS-283:
------------------------------------------
Attachment: cmislib-testcase-folderName_dots.patch
testcase for creating folders with leading- and trailing dot in name. Leading works, trailing does NOT work.
> createFolder('trailingDot.') fails
> ----------------------------------
>
> Key: CMIS-283
> URL: https://issues.apache.org/jira/browse/CMIS-283
> Project: Chemistry
> Issue Type: Bug
> Components: python-cmislib
> Environment: Alfresco Community v3.3.0
> (g 2860) schema 4100
> Reporter: Bernhard Reutner-Fischer
> Attachments: cmislib-testcase-folderName_dots.patch
>
>
> createFolder('trailingDot.') fails with:
> ERROR: Create a folder with a trailing dot in it's name
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "./cmislibtest.py", line 582, in testFolderTrailingDot
> trailingDotFolder = self._testFolder.createFolder('trailingDot.')
> File "./../cmislib/model.py", line 2716, in createFolder
> ATOM_XML_ENTRY_TYPE)
> File "./../cmislib/model.py", line 258, in post
> self._processCommonErrors(result)
> File "./../cmislib/model.py", line 316, in _processCommonErrors
> raise RuntimeException(error.status, error.url)
> RuntimeException: Error 500 at http://127.0.0.1:8080/alfresco/s/cmis/s/workspace:SpacesStore/i/5bbced9a-59dd-44a3-a3bb-b1b18c7dd6b1/children
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CMIS-283) createFolder('trailingDot.') fails
Posted by "Jeff Potts (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CMIS-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935328#action_12935328 ]
Jeff Potts commented on CMIS-283:
---------------------------------
Basically this is a dup of CMIS-282 with a different file name. Alfresco 3.4a Community does not consider this to be a valid file name.
> createFolder('trailingDot.') fails
> ----------------------------------
>
> Key: CMIS-283
> URL: https://issues.apache.org/jira/browse/CMIS-283
> Project: Chemistry
> Issue Type: Bug
> Components: python-cmislib
> Environment: Alfresco Community v3.3.0
> (g 2860) schema 4100
> Reporter: Bernhard Reutner-Fischer
> Attachments: cmislib-testcase-folderName_dots.patch
>
>
> createFolder('trailingDot.') fails with:
> ERROR: Create a folder with a trailing dot in it's name
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "./cmislibtest.py", line 582, in testFolderTrailingDot
> trailingDotFolder = self._testFolder.createFolder('trailingDot.')
> File "./../cmislib/model.py", line 2716, in createFolder
> ATOM_XML_ENTRY_TYPE)
> File "./../cmislib/model.py", line 258, in post
> self._processCommonErrors(result)
> File "./../cmislib/model.py", line 316, in _processCommonErrors
> raise RuntimeException(error.status, error.url)
> RuntimeException: Error 500 at http://127.0.0.1:8080/alfresco/s/cmis/s/workspace:SpacesStore/i/5bbced9a-59dd-44a3-a3bb-b1b18c7dd6b1/children
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CMIS-283) createFolder('trailingDot.') fails
Posted by "Bernhard Reutner-Fischer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CMIS-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12984628#action_12984628 ]
Bernhard Reutner-Fischer commented on CMIS-283:
-----------------------------------------------
It's the same issue as CMIS-282, yes. As with colons as part of a pathSegment, i don't see where in the spec a trailing dot is forbidden in a pathSegment.
> createFolder('trailingDot.') fails
> ----------------------------------
>
> Key: CMIS-283
> URL: https://issues.apache.org/jira/browse/CMIS-283
> Project: Chemistry
> Issue Type: Bug
> Components: python-cmislib
> Environment: Alfresco Community v3.3.0
> (g 2860) schema 4100
> Reporter: Bernhard Reutner-Fischer
> Attachments: cmislib-testcase-folderName_dots.patch
>
>
> createFolder('trailingDot.') fails with:
> ERROR: Create a folder with a trailing dot in it's name
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "./cmislibtest.py", line 582, in testFolderTrailingDot
> trailingDotFolder = self._testFolder.createFolder('trailingDot.')
> File "./../cmislib/model.py", line 2716, in createFolder
> ATOM_XML_ENTRY_TYPE)
> File "./../cmislib/model.py", line 258, in post
> self._processCommonErrors(result)
> File "./../cmislib/model.py", line 316, in _processCommonErrors
> raise RuntimeException(error.status, error.url)
> RuntimeException: Error 500 at http://127.0.0.1:8080/alfresco/s/cmis/s/workspace:SpacesStore/i/5bbced9a-59dd-44a3-a3bb-b1b18c7dd6b1/children
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CMIS-283) createFolder('trailingDot.') fails
Posted by "Florent Guillaume (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CMIS-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12985740#action_12985740 ]
Florent Guillaume commented on CMIS-283:
----------------------------------------
As for CMIS-282 any server is free to add its own restriction to the allowed values for the properties.
Here the server should not return a 500 but something cleaner.
> createFolder('trailingDot.') fails
> ----------------------------------
>
> Key: CMIS-283
> URL: https://issues.apache.org/jira/browse/CMIS-283
> Project: Chemistry
> Issue Type: Bug
> Components: python-cmislib
> Environment: Alfresco Community v3.3.0
> (g 2860) schema 4100
> Reporter: Bernhard Reutner-Fischer
> Attachments: cmislib-testcase-folderName_dots.patch
>
>
> createFolder('trailingDot.') fails with:
> ERROR: Create a folder with a trailing dot in it's name
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "./cmislibtest.py", line 582, in testFolderTrailingDot
> trailingDotFolder = self._testFolder.createFolder('trailingDot.')
> File "./../cmislib/model.py", line 2716, in createFolder
> ATOM_XML_ENTRY_TYPE)
> File "./../cmislib/model.py", line 258, in post
> self._processCommonErrors(result)
> File "./../cmislib/model.py", line 316, in _processCommonErrors
> raise RuntimeException(error.status, error.url)
> RuntimeException: Error 500 at http://127.0.0.1:8080/alfresco/s/cmis/s/workspace:SpacesStore/i/5bbced9a-59dd-44a3-a3bb-b1b18c7dd6b1/children
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.