-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 7.10, 8.10
-
Component/s: Notifications
-
Backlog priority:550
-
Sprint:nxcore 9.2.5, nxcore 9.2.6
-
Story Points:1
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.
- is related to
-
NXP-24185 Adding an alert on a proxy generates an error
- Resolved