Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-44644

SSE Events ignored on activity page when a custom Org factory is used

    • Blue Ocean 1.1, Blue Ocean 1.1

      When a custom OrganizationFactory is registered SSE events are not processed correctly in the Activity page (re-running an existent build does not update the UI).

      The event is delivered but some specific data must be wrong, I suspect it is the organization not being correctly computed (I've removed my custom OrganizationFactory for testing and it fixes the issue). FWIW my org factory is just setting the Organization root as a specific folder inside the Jenkins instance (instead of the Jenkins root folder), in the screencast "AnotherTeam" is the root of my organization (returned on OrganizationFactory.get(String) wrapped in a BlueOrganization object).

          [JENKINS-44644] SSE Events ignored on activity page when a custom Org factory is used

          Antonio Muñiz created issue -
          Antonio Muñiz made changes -
          Description Original: When a custom {{OrganizationFactory}} is registered SSE events are not processed correctly in the _Activity_ page (re-running an existent build does not update the UI).

          !activity-run2.gif!

          The event is delivered but some specific data must be wrong, I suspect it is the organization not being correctly computed (I've removed my custom {{OrganizationFactory}} for testing and it fixes the issue). FWIW my org factory is just setting the Organization root as a specific folder inside the Jenkins instance (instead of the Jenkins root folder), in the screencast "AnotherTeam" is the root of my organization (returned on {{OrganizationFactory.get(String)}} wrapped in a {{BlueOrganization}} object).
          New: When a custom {{OrganizationFactory}} is registered SSE events are not processed correctly in the _Activity_ page (re-running an existent build does not update the UI).

          !activity-run2.gif|height=450,width=700!

          The event is delivered but some specific data must be wrong, I suspect it is the organization not being correctly computed (I've removed my custom {{OrganizationFactory}} for testing and it fixes the issue). FWIW my org factory is just setting the Organization root as a specific folder inside the Jenkins instance (instead of the Jenkins root folder), in the screencast "AnotherTeam" is the root of my organization (returned on {{OrganizationFactory.get(String)}} wrapped in a {{BlueOrganization}} object).
          Michael Neale made changes -
          Epic Link New: JENKINS-35759 [ 171771 ]
          Michael Neale made changes -
          Summary Original: SSE Events not working on Activity page New: SSE Events ignored on activity page when a custom Org factory is used
          Michael Neale made changes -
          Assignee New: Vivek Pandey [ vivek ]
          Michael Neale made changes -
          Sprint New: Blue Ocean 1.1 [ 321 ]
          Ryan Campbell made changes -
          Priority Original: Major [ 3 ] New: Critical [ 2 ]
          Vivek Pandey made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Vivek Pandey made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          James Dumay made changes -
          Sprint Original: Blue Ocean 1.1 [ 321 ] New: Blue Ocean 1.1, Blue Ocean 1.1 [ 321, 331 ]
          Vivek Pandey made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]

            vivek Vivek Pandey
            amuniz Antonio Muñiz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: