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

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

    XMLWordPrintable

Details

    • Blue Ocean 1.1, Blue Ocean 1.1

    Description

      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).

      Attachments

        Issue Links

          Activity

            amuniz Antonio Muñiz created issue -
            amuniz Antonio Muñiz made changes -
            Field Original Value New Value
            Description 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).
            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).
            michaelneale Michael Neale added a comment -

            vivek perhaps you can bring amuniz along when you chat to alobato - solve this then? 

            michaelneale Michael Neale added a comment - vivek perhaps you can bring amuniz along when you chat to alobato - solve this then? 
            michaelneale Michael Neale added a comment -

            amuniz if there was some code sample to see this - would help, otherwise a bit of guess work. 

             

            I wonder if this is related to the fix in https://issues.jenkins-ci.org/browse/JENKINS-44625 - which seems to be confused by the folder as well. 

            michaelneale Michael Neale added a comment - amuniz if there was some code sample to see this - would help, otherwise a bit of guess work.    I wonder if this is related to the fix in https://issues.jenkins-ci.org/browse/JENKINS-44625  - which seems to be confused by the folder as well. 
            michaelneale Michael Neale made changes -
            Epic Link JENKINS-35759 [ 171771 ]
            michaelneale Michael Neale made changes -
            Summary SSE Events not working on Activity page SSE Events ignored on activity page when a custom Org factory is used
            michaelneale Michael Neale made changes -
            Assignee Vivek Pandey [ vivek ]
            michaelneale Michael Neale made changes -
            Sprint Blue Ocean 1.1 [ 321 ]
            recampbell Ryan Campbell made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            vivek Vivek Pandey added a comment -

            michaelneale yes meeting with Antonio and Alvaro this morning to sort these issues.

            vivek Vivek Pandey added a comment - michaelneale yes meeting with Antonio and Alvaro this morning to sort these issues.
            vivek Vivek Pandey made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            vivek Vivek Pandey made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            vivek Vivek Pandey added a comment - amuniz PTAL https://github.com/jenkinsci/blueocean-plugin/pull/1119 .
            jamesdumay James Dumay made changes -
            Sprint Blue Ocean 1.1 [ 321 ] Blue Ocean 1.1, Blue Ocean 1.1 [ 321, 331 ]
            vivek Vivek Pandey made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal CJP-6983 (Web Link)" [ 19155 ]
            jbriden Jenn Briden made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: