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

Clean up spurious "TypeError: already read" warnings in browser console

    XMLWordPrintable

    Details

    • Epic Link:
    • Sprint:
      Blue Ocean 1.4 - beta 1, Blue Ocean 1.4 - beta 2
    • Similar Issues:

      Description

      When the application loads, there are three "unhandled rejection" errors in console. I believe these stem from i18n bundle loading - I think the content is read once in an already Fetch handler - and then read again. Technically an invalid API usage, we can probably ensure that the first time its read that the string value is returned by the promise, and ensure downstream logic is suitably changed.

        Attachments

          Issue Links

            Activity

            cliffmeyers Cliff Meyers created issue -
            cliffmeyers Cliff Meyers made changes -
            Field Original Value New Value
            Epic Link JENKINS-35749 [ 171790 ]
            cliffmeyers Cliff Meyers made changes -
            Description When the application loads, there are three "unhandled rejection" errors in console. I believe these stem from i18n bundle loading - I think the content is read once in an already Fetch handler - and then read again. Technically an invalid API usage, we can probably ensure that the first time its read that the string value is returned by the promise, and ensure downstream logic is suitable changed. When the application loads, there are three "unhandled rejection" errors in console. I believe these stem from i18n bundle loading - I think the content is read once in an already Fetch handler - and then read again. Technically an invalid API usage, we can probably ensure that the first time its read that the string value is returned by the promise, and ensure downstream logic is suitably changed.
            cliffmeyers Cliff Meyers made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            cliffmeyers Cliff Meyers made changes -
            Sprint Blue Ocean 1.4 - beta 1 [ 401 ]
            cliffmeyers Cliff Meyers made changes -
            Assignee Cliff Meyers [ cliffmeyers ]
            cliffmeyers Cliff Meyers made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            cliffmeyers Cliff Meyers made changes -
            Remote Link This issue links to "PR#1487 (Web Link)" [ 17876 ]
            jamesdumay James Dumay made changes -
            Sprint Blue Ocean 1.4 - beta 1 [ 401 ] Blue Ocean 1.4 - beta 1, Blue Ocean 1.4 - beta 2 [ 401, 426 ]
            cliffmeyers Cliff Meyers made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            kshultz Karl Shultz made changes -
            Labels testing-notes-not-applicable
            michaelneale Michael Neale made changes -
            Remote Link This issue links to "Page (Jenkins Wiki)" [ 19831 ]
            jbriden Jenn Briden made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              People

              • Assignee:
                cliffmeyers Cliff Meyers
                Reporter:
                cliffmeyers Cliff Meyers
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: