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

Fix ITWorkListTest.userCanAddItemToWorklist using mongo

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 9.2-SNAPSHOT
    • Fix Version/s: None
    • Component/s: Core MongoDB

      Description

      See failure at https://qa.nuxeo.org/jenkins/job/Deploy/job/IT-nuxeo-master-tests-cap-tomcat-mongodb/338/testReport/org.nuxeo.ftest.cap/ITWorkListTest/userCanAddItemToWorklist/

      Couldn't find element 'By.xpath: //div[@id='clipboardCopy']//a[text()='ws']' after timeout
      For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
      Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
      System info: host: '0233fe3d264f', ip: '172.17.0.7', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-77-generic', java.version: '1.8.0_77'
      Driver info: driver.version: unknown
      

      Attached full server.log file that shows error logs not seen on other databases:

      2017-05-18 05:03:53,014 WARN  [http-bio-0.0.0.0-8080-exec-25] [org.nuxeo.ecm.platform.ui.web.restAPI.SystemLogRestlet] ----- WebDriver: Starting test 'org.nuxeo.ftest.cap.ITWorkListTest#userCanAddItemToWorklist'
      2017-05-18 05:03:56,450 ERROR [http-bio-0.0.0.0-8080-exec-19] [org.nuxeo.ecm.webapp.documentsLists.DocumentsListsPersistenceManager] Unable to create entry
      org.nuxeo.ecm.directory.DirectorySecurityException: User jdoe does not have Write permission
      	at org.nuxeo.ecm.directory.BaseSession.checkPermission(BaseSession.java:120)
      	at org.nuxeo.directory.mongodb.MongoDBSession.createEntry(MongoDBSession.java:136)
      	at org.nuxeo.ecm.webapp.documentsLists.DocumentsListsPersistenceManager.addDocumentToPersistentList(DocumentsListsPersistenceManager.java:257)
      	at org.nuxeo.ecm.webapp.documentsLists.BaseDocumentsListsManager.addToWorkingList(BaseDocumentsListsManager.java:240)
      	at org.nuxeo.ecm.webapp.documentsLists.DocumentsListsManagerBean.addToWorkingList(DocumentsListsManagerBean.java:143)
      	at org.nuxeo.ecm.webapp.documentsLists.BaseDocumentsListsManager.addToWorkingList(BaseDocumentsListsManager.java:215)
      	at org.nuxeo.ecm.webapp.documentsLists.DocumentsListsManagerBean.addToWorkingList(DocumentsListsManagerBean.java:134)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: