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

Publishing documents in Web UI does not show in activity

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.3
    • Component/s: Core, Web UI
    • Release Notes Description:
      Hide

      We introduce during this ticket a new test listener: CapturingEventListener.
      This listener is useful to test:

      • if a specific event has been fired
      • captured every fired event or just a sub set

      Its usage leverage try-with-resource java feature:

      try (CapturingEventListener listener = new CapturingEventListener("eventName")) {
          Framework.getService(EventService.class).fireEvent(event);
          assertTrue(listener.hasBeenFired("eventName");
      }
      

      Available API are:

      • List<Event> getCapturedEvents()
      • Optional<Event> getLastCapturedEvent(String eventName)
      • long getCapturedEventCount(String eventName)
      • boolean hasBeenFired(String eventName)
      • void clear() to reset the listener
      Show
      We introduce during this ticket a new test listener: CapturingEventListener . This listener is useful to test: if a specific event has been fired captured every fired event or just a sub set Its usage leverage try-with-resource java feature: try (CapturingEventListener listener = new CapturingEventListener( "eventName" )) { Framework.getService(EventService.class).fireEvent(event); assertTrue(listener.hasBeenFired( "eventName" ); } Available API are: List<Event> getCapturedEvents() Optional<Event> getLastCapturedEvent(String eventName) long getCapturedEventCount(String eventName) boolean hasBeenFired(String eventName) void clear() to reset the listener
    • Backlog priority:
      900
    • Sprint:
      nxcore 10.10.1, nxcore 10.10.2
    • Story Points:
      1

      Description

      When publishing a document using Web UI we are not firing the documentPublished event so there's no record of it in "Activity" or "History" tabs.

      This event is fired when publishing through JSF UI.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 2 hours
                  1d 2h