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

Impossible to follow published documents

    XMLWordPrintable

    Details

      Description

      When clicking on the button to follow a published document, an error page is displayed.

      The corresponding stacktrace in the logs shows that the system tried to modify a property on the target version

      Caused by: org.nuxeo.ecm.core.api.PropertyException: Cannot set property on a version: notif:notifications
      	at org.nuxeo.ecm.core.storage.BaseDocument.checkReadOnlyIgnoredWrite(BaseDocument.java:276)
      	at org.nuxeo.ecm.core.storage.BaseDocument.writeComplexProperty(BaseDocument.java:782)
      	at org.nuxeo.ecm.core.storage.BaseDocument.writeComplexProperty(BaseDocument.java:748)
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLDocumentLive.writeDocumentPart(SQLDocumentLive.java:176)
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLDocumentProxy.writeDocumentPart(SQLDocumentProxy.java:199)
      	at org.nuxeo.ecm.core.api.DocumentModelFactory.writeDocumentModel(DocumentModelFactory.java:236)
      	at org.nuxeo.ecm.core.api.AbstractSession.writeModel(AbstractSession.java:363)
      	at org.nuxeo.ecm.core.api.AbstractSession.saveDocument(AbstractSession.java:1526)
      	at org.nuxeo.ecm.platform.ec.notification.service.NotificationService$2.run(NotificationService.java:301)
      	at org.nuxeo.ecm.core.api.UnrestrictedSessionRunner.runUnrestricted(UnrestrictedSessionRunner.java:139)
      	at org.nuxeo.ecm.platform.ec.notification.service.NotificationService.addSubscriptions(NotificationService.java:304)
      	at org.nuxeo.ecm.webapp.notification.SubscriptionsAction.updateAllSubscriptions(SubscriptionsAction.java:164)
      

      The button should be hidden for proxies/published documents.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day
                  1d