-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: QualifiedToSchedule
-
Component/s: Notifications
-
Tags:
When trying to click on the "Follow this Document" button of a published document (proxy to a version), the following exception is raised:
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:278) at org.nuxeo.ecm.core.storage.BaseDocument.writeComplexProperty(BaseDocument.java:783) at org.nuxeo.ecm.core.storage.BaseDocument.writeComplexProperty(BaseDocument.java:750) at org.nuxeo.ecm.core.storage.sql.coremodel.SQLDocumentLive.writeDocumentPart(SQLDocumentLive.java:183) at org.nuxeo.ecm.core.storage.sql.coremodel.SQLDocumentProxy.writeDocumentPart(SQLDocumentProxy.java:206) at org.nuxeo.ecm.core.api.DocumentModelFactory.writeDocumentModel(DocumentModelFactory.java:243) at org.nuxeo.ecm.core.api.AbstractSession.writeModel(AbstractSession.java:365) at org.nuxeo.ecm.core.api.AbstractSession.saveDocument(AbstractSession.java:1496) at org.nuxeo.ecm.platform.ec.notification.service.NotificationService$3.run(NotificationService.java:328) at org.nuxeo.ecm.core.api.UnrestrictedSessionRunner.runUnrestricted(UnrestrictedSessionRunner.java:146) at org.nuxeo.ecm.platform.ec.notification.service.NotificationService.removeSubscriptions(NotificationService.java:331) at org.nuxeo.ecm.webapp.notification.SubscriptionsAction.updateAllSubscriptions(SubscriptionsAction.java:170)