Summary

      When entering data into a comment (eg. into comment section), a user can accidentally click on a link in the page causing the browser to re-direct to the new page. Clicking the Back button of the browser will return the user to the original issue. However, the behaviour is inconsistent in regards to the already entered data

      Type of project Chrome Firefox
      Normal Project Clicking Back will reload all previously entered data Clicking Back will load a new page. Any data entered previously will be lost
      Service Desk Project Clicking Back will load a new page. Any data entered previously will be lost Clicking Back will load a new page. Any data entered previously will be lost

      Steps to Reproduce

      Here are videos demonstrating the behaviour

      Expected Results

      • As a normal project can retrieve the entered data, Service Desk projects should be able to do the same

      Actual Results

      • Nothing is saved after clicking Back. All data previously entered will be lost

      Workaround

      • No known workaround

      Suggestion

      1. Make Firefox (and all other supported browsers) behave the same and able to retrieve entered data; AND
      2. Make Service Desk projects behave the same as well so that browsers can retrieve entered data
        OR
      3. Have a pop up which warns users such that entered data will be lost

        1. chrome.mp4
          2.72 MB
        2. firefox.mp4
          2.52 MB

          Form Name

            [JSDSERVER-2301] Save entered data when clicking after clicking "Back" button

            rae edwards added a comment - - edited

            The issue still appears to occur in JSD v 4.1 so can you please explain how the issue has been "fixed" i.e. Is a warning message presented to the JSD agent before navigating away from the page? Or is the comment text that was entered in the comment field prior to navigating from the page held in the field?

            rae edwards added a comment - - edited The issue still appears to occur in JSD v 4.1 so can you please explain how the issue has been "fixed" i.e. Is a warning message presented to the JSD agent before navigating away from the page? Or is the comment text that was entered in the comment field prior to navigating from the page held in the field?

            Nicolas Barbulesco added a comment - - edited

            Thank you Woo Yit Wei.

            The screen films here show writing a comment.

            The issue I encountered is when I created a help request.

            In my issue:

            There is a form with several fields. The fields look solid in the page, it's not like the comment field coming only in AJAX after a click on a link "Add comment". After writing my content in the fields and going to another page and going back to the request page, all the fields lose my content. This is a bug. With a standard form, the navigator (Firefox and the others) keeps the entered content.

            It would be nice to fix this bug.

            Thank you.

            NB

            Nicolas Barbulesco added a comment - - edited Thank you Woo Yit Wei. The screen films here show writing a comment. The issue I encountered is when I created a help request. In my issue: There is a form with several fields. The fields look solid in the page, it's not like the comment field coming only in AJAX after a click on a link "Add comment". After writing my content in the fields and going to another page and going back to the request page, all the fields lose my content. This is a bug. With a standard form, the navigator (Firefox and the others) keeps the entered content. It would be nice to fix this bug. Thank you. NB

            CSHL added a comment -

            Additionally, the behavior you see in JRA-14031 (after fix) where a browser alert warns you before navigating away from the page with comment data filled in, does not happen on a JIRA Service Desk project (from the JIRA interface, not the customer portal). I would expect that either the data would be saved or it would prevent you from losing a long comment via an accidental back button click.

            CSHL added a comment - Additionally, the behavior you see in JRA-14031 (after fix) where a browser alert warns you before navigating away from the page with comment data filled in, does not happen on a JIRA Service Desk project (from the JIRA interface, not the customer portal). I would expect that either the data would be saved or it would prevent you from losing a long comment via an accidental back button click.

              ldoan Lan Doan (Inactive)
              ywoo Yit Wei
              Affected customers:
              3 This affects my team
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: