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

Unreadable Data errors with BlueOceanUrlObjectImpl/modelObject

    XMLWordPrintable

Details

    • Blue Ocean 1.4 - beta 5

    Description

      On an upgrade to 1.4 beta5 kshultz noted warnings/errors about missing fields for data (see attachment). 

       

      This seems related to a change made: https://github.com/jenkinsci/blueocean-plugin/commit/6775f8a79de9ee0c8ff428f65b436eeaff3116b4#diff-5677a2bc858d8f4b7f087697025cc047

      Need to know if this is a problem, or perhaps this could be annotated to not cause this error if it doesn't matter vivek

       

      Attachments

        Issue Links

          Activity

            vivek Vivek Pandey added a comment -

            Ugh, looks like previously serialized old version deserializing to new version where ModelObject has been removed is causing this. I will work on a fix.

            vivek Vivek Pandey added a comment - Ugh, looks like previously serialized old version deserializing to new version where ModelObject has been removed is causing this. I will work on a fix.
            michaelneale Michael Neale added a comment -

            if the data isn't needed for modelObject - I bet there is an anotation to make the bad error message go away

            michaelneale Michael Neale added a comment - if the data isn't needed for modelObject - I bet there is an anotation to make the bad error message go away
            vivek Vivek Pandey added a comment -

            Its absolutely harmless to ignore these unreadable data, that is user clicks on 'Discard Unreadable Data' on OldData/manage page.

            I have also opened PR https://github.com/jenkinsci/blueocean-plugin/pull/1614 to avoid these errors.

            vivek Vivek Pandey added a comment - Its absolutely harmless to ignore these unreadable data, that is user clicks on 'Discard Unreadable Data' on OldData/manage page. I have also opened PR https://github.com/jenkinsci/blueocean-plugin/pull/1614 to avoid these errors.
            vivek Vivek Pandey added a comment -

            Reduced priority to Minor as these reported errors are ignorable.

            vivek Vivek Pandey added a comment - Reduced priority to Minor as these reported errors are ignorable.
            michaelneale Michael Neale added a comment -

            kshultz thanks so much for finding this, whilst they are warnings and don't change anything, this looks "really bad" to users due to the sheer volume, and devalues that warning system about data for important errors, so it is great we can easily fix this (and vivek knew exactly what to do). 

             

             

            michaelneale Michael Neale added a comment - kshultz thanks so much for finding this, whilst they are warnings and don't change anything, this looks "really bad" to users due to the sheer volume, and devalues that warning system about data for important errors, so it is great we can easily fix this (and vivek knew exactly what to do).     

            People

              vivek Vivek Pandey
              michaelneale Michael Neale
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: