• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • blueocean-plugin
    • None
    • jenkins 2.44
      blueocean-plugin 1.0.0-b21
    • 1.0

      It seems under some conditions the proceed button for input does not work and the UI does not automatically update to reflect this state.

      There needs to be some manual testing around inputs to check if we are handling errors correctly and that the state of the UI is handled appropriately in error cases.

      It would be prudent to test around error cases and SSE updates for input here too.

      It would also be worth ensuring that under successful conditions that the UI updates correctly on proceeding with input.

      Original request
      Recently our inputs (with checkboxes) stopped to work. Pressing "Proceed" button does nothing, there is an error response:

      Error processing Input Submit request. This Run instance does not have an Input with an id of 'D875578491b444dd8bc3f26a12399d2a'.

      This occurs in ~90%, some success still may exist )

          [JENKINS-41662] Proceed button fails (investigate)

          Oleg Korsak created issue -
          Oleg Korsak made changes -
          Description Original: Recently our inputs (with checkboxes) stopped to work. Pressing "Proceed" button does nothing, there is an error response:

          Error processing Input Submit request. This Run instance does not have an Input with an id of 'D875578491b444dd8bc3f26a12399d2a'.
          New: Recently our inputs (with checkboxes) stopped to work. Pressing "Proceed" button does nothing, there is an error response:

          Error processing Input Submit request. This Run instance does not have an Input with an id of 'D875578491b444dd8bc3f26a12399d2a'.

          This occurs in ~90%, some success still may exist )

          Oleg Korsak added a comment -

          More investigation:
          First button press produces a request to server, but HTTP/200 response body is empty. An error in console occurs: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data

          When trying to press button again - response is HTTP/400 with body like in the description

          Oleg Korsak added a comment - More investigation: First button press produces a request to server, but HTTP/200 response body is empty. An error in console occurs: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data When trying to press button again - response is HTTP/400 with body like in the description

          James Dumay added a comment -

          kamikaze would you be able to capture a HAR file when you click the proceed button? This will give us a snapshot of the response sent back to the server. If you wish to keep this information secret, you can email me directly at jdumay@cloudbees.com

          James Dumay added a comment - kamikaze would you be able to capture a HAR file when you click the proceed button? This will give us a snapshot of the response sent back to the server. If you wish to keep this information secret, you can email me directly at jdumay@cloudbees.com
          James Dumay made changes -
          Assignee New: James Dumay [ jamesdumay ]
          James Dumay made changes -
          Epic Link New: JENKINS-38490 [ 174672 ]

          Oleg Korsak added a comment -

          Sure, will do on monday )

          Oleg Korsak added a comment - Sure, will do on monday )
          James Dumay made changes -
          Sprint New: iapetus [ 216 ]

          James Dumay added a comment -

          kamikaze have you had a chance to send the HAR file yet?

          James Dumay added a comment - kamikaze have you had a chance to send the HAR file yet?

          Oleg Korsak added a comment -

          jamesdumay yep, sent you to jdumay@cloudbees.com with issue name as a subject

          Oleg Korsak added a comment - jamesdumay yep, sent you to jdumay@cloudbees.com with issue name as a subject

            tfennelly Tom FENNELLY
            kamikaze Oleg Korsak
            Votes:
            17 Vote for this issue
            Watchers:
            26 Start watching this issue

              Created:
              Updated: