Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-59556

Marking a vocabulary as required for documents breaks upload via Liferay Sync

    Details

      Description

      Steps to Reproduce

      1. Have the Sync Connector installed and Liferay Sync ready to work with the website.
      2. Create a Vocabulary with the following configuration:
        • Name: My Vocabulary
        • Associated Asset Types, Choose Asset Type: Document
        • Check Required
        • Save
      3. Add a category to that vocabulary named "My Category";
      4. Upload a few files from your computer (copy then to the Sync folder).

      Expected Behavior
      Files are uploaded

      Actual Behaviour
      Sync no longer uploads files. Additionaly the following errors are thrown on Sync client logs:

      12:26:23.947 TRACE [pool-16-thread-1] [BaseEvent:151] Processing event AddFileEntryEvent file path C:\Users\vasco\Downloads\localhost\GamerLife\150612_Many_Glacier_Iceberg_Lake_6537.jpg
      12:26:23.972 TRACE [pool-16-thread-1] [BaseEvent:151] Processing event AddFileEntryEvent file path C:\Users\vasco\Downloads\localhost\GamerLife\150612_Many_Glacier_Iceberg_Lake_6537 - Copia.jpg
      12:26:24.006 TRACE [pool-16-thread-1] [BaseEvent:156] Processing event UpdateFileEntriesEvent
      12:26:24.144 DEBUG [pool-22-thread-1] [BaseJSONHandler:133] Handling exception com.liferay.portal.kernel.jsonwebservice.NoSuchJSONWebServiceException
      12:26:25.100 DEBUG [JavaFX Application Thread] [PreferencesController:701] Uploading files for account 5
      12:26:25.103 DEBUG [JavaFX Application Thread] [PreferencesController:706] {"uiEvent":20,"state":1,"changeLog":"","checksum":"XnOzZ0RCAhbturKAqTEXssJh/sE=","companyId":0,"createTime":0,"description":"","event":null,"extension":null,"extraSettings":null,"filePathName":"C:\\Users\\vasco\\Downloads\\localhost\\GamerLife\\150612_Many_Glacier_Iceberg_Lake_6537 - Copia.jpg","localSyncTime":1445009168094,"lockExpirationDate":0,"lockUserId":0,"lockUserName":null,"mimeType":"image/jpeg","modifiedTime":0,"name":"150612_Many_Glacier_Iceberg_Lake_6537 - Copia.jpg","parentFolderId":0,"previousModifiedTime":0,"repositoryId":10180,"size":0,"syncAccountId":5,"syncFileId":4959,"type":"file","typePK":0,"typeUuid":null,"userId":0,"userName":null,"version":null,"versionId":0,"file":true,"system":false,"folder":false,"privateWorkingCopy":false}
      12:26:25.104 DEBUG [JavaFX Application Thread] [PreferencesController:706] {"uiEvent":20,"state":1,"changeLog":"","checksum":"XnOzZ0RCAhbturKAqTEXssJh/sE=","companyId":0,"createTime":0,"description":"","event":null,"extension":null,"extraSettings":null,"filePathName":"C:\\Users\\vasco\\Downloads\\localhost\\GamerLife\\150612_Many_Glacier_Iceberg_Lake_6537.jpg","localSyncTime":1445009144067,"lockExpirationDate":0,"lockUserId":0,"lockUserName":null,"mimeType":"image/jpeg","modifiedTime":0,"name":"150612_Many_Glacier_Iceberg_Lake_6537.jpg","parentFolderId":0,"previousModifiedTime":0,"repositoryId":10180,"size":0,"syncAccountId":5,"syncFileId":4958,"type":"file","typePK":0,"typeUuid":null,"userId":0,"userName":null,"version":null,"versionId":0,"file":true,"system":false,"folder":false,"privateWorkingCopy":false}
      12:26:25.146 TRACE [pool-16-thread-4] [BaseEvent:156] Processing event RetryServerConnectionEvent
      12:26:25.158 TRACE [pool-16-thread-4] [BaseJSONHandler:311] Handling response RetryServerConnectionHandler 
      12:26:25.159 DEBUG [pool-16-thread-4] [RetryServerConnectionHandler:46] Connected to http://localhost:8080
      12:26:25.168 TRACE [pool-16-thread-4] [BaseEvent:151] Processing event AddFileEntryEvent file path C:\Users\vasco\Downloads\localhost\GamerLife\150612_Many_Glacier_Iceberg_Lake_6537.jpg
      12:26:25.202 TRACE [pool-16-thread-4] [BaseEvent:151] Processing event AddFileEntryEvent file path C:\Users\vasco\Downloads\localhost\GamerLife\150612_Many_Glacier_Iceberg_Lake_6537 - Copia.jpg
      12:26:25.390 TRACE [pool-16-thread-4] [BaseEvent:156] Processing event UpdateFileEntriesEvent
      12:26:25.549 DEBUG [pool-22-thread-1] [BaseJSONHandler:133] Handling exception com.liferay.portal.kernel.jsonwebservice.NoSuchJSONWebServiceException
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 39 weeks, 3 days ago

                  Packages

                  Version Package