Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-11359

Documents with forbidden filename chars such as * / or \ trigger 404 error and prevent synchronization

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Nuxeo Drive
    • Tags:
    • Backlog priority:
      550

      Description

      Here is the typical traceback in the client logs:

      Traceback (most recent call last):
        File "/Users/ogrisel/coding/nuxeo-drive/nuxeo-drive-client/nxdrive/tests/test_integration_synchronization.py", line 954, in test_synchronize_special_filenames
          u'Folder for 2013/04/01 and forbidden chars: (\\ *)')
        File "/Users/ogrisel/coding/nuxeo-drive/nuxeo-drive-client/nxdrive/client/remote_document_client.py", line 123, in make_folder
          properties={'dc:title': name})
        File "/Users/ogrisel/coding/nuxeo-drive/nuxeo-drive-client/nxdrive/client/remote_document_client.py", line 254, in create
          type=doc_type, name=name, properties=properties)
        File "/Users/ogrisel/coding/nuxeo-drive/nuxeo-drive-client/nxdrive/client/base_automation_client.py", line 156, in execute
          resp = self.opener.open(req, timeout=timeout)
        File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 406, in open
          response = meth(req, response)
        File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 519, in http_response
          'http', request, response, code, msg, hdrs)
        File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 444, in error
          return self._call_chain(*args)
        File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 378, in _call_chain
          result = func(*args)
        File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 527, in http_error_default
          raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
      HTTPError: HTTP Error 404: Not Found
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 hours
                  3h
                  Remaining:
                  Remaining Estimate - 3 hours
                  3h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.