Uploaded image for project: 'Workspaces'
  1. Workspaces
  2. WORKSPACES-153

Error on activity stream after deleting a resource

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: None
    • Labels:
      None

      Description

      A deleted resource is still present in events and leads to an error

      Caused by: org.ametys.plugins.repository.UnknownAmetysObjectException: There's no node for id resource://9a7a45c5-899a-4983-93df-d992b91bc65b
      	at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getNode(SimpleAmetysObjectFactory.java:187)
      	at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getAmetysObjectById(SimpleAmetysObjectFactory.java:137)
      	at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getAmetysObjectById(SimpleAmetysObjectFactory.java:126)
      	at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getAmetysObjectById(SimpleAmetysObjectFactory.java:1)
      	at org.ametys.plugins.repository.AmetysObjectResolver.resolveById(AmetysObjectResolver.java:310)
      	at org.ametys.intranet.events.documents.ResourceCreatedEventType.event2JSON(ResourceCreatedEventType.java:69)
      	at org.ametys.plugins.repository.events.EventTypeExtensionPoint.getEvents(EventTypeExtensionPoint.java:81)
      	at org.ametys.intranet.events.activitystream.ActivityStreamClientInteraction.getEvents(ActivityStreamClientInteraction.java:75)
      	... 125 more
      

        Attachments

          Activity

            People

            • Assignee:
              laurence Laurence Aumeunier
              Reporter:
              laurence Laurence Aumeunier
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: