Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-36991

When editing an assessment, if the user refresh the page, the delete/new-item trigger again

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.0
    • Fix Version/s: 11.1
    • Labels:
      None
    • 11 status:
      Resolved
    • Previous Issue Keys:
      SAM-2907
    • Test Plan:
      Hide

      Case A:
      1) Create a test assessment
      2) Go to edit
      3) Add a new question
      4) refresh the page
      <An identical copy will pop up>
      Case B:
      1) Create assessment
      2) Edit and add questions
      3) delete any question
      4) refresh the page
      <look at the logs, going to main screen indicates exception>

      Show
      Case A: 1) Create a test assessment 2) Go to edit 3) Add a new question 4) refresh the page <An identical copy will pop up> Case B: 1) Create assessment 2) Edit and add questions 3) delete any question 4) refresh the page <look at the logs, going to main screen indicates exception>

      Description

      When editing an assessment, after deleting or creating a new item, if the user refreshes the page, the action triggers again the listeners with the same state, causing a failed deletion attempt (hbm trace) or a new identical item to be created.

      Pull request to be added promptly PR -Github

        Gliffy Diagrams

          Zeplin

            Attachments

            1. new_s1.png
              23 kB
              Fernando
            2. new_s2.png
              62 kB
              Fernando
            3. new_s3.png
              62 kB
              Fernando
            4. s1.png
              49 kB
              Fernando
            5. s2.png
              74 kB
              Fernando
            6. s3.png
              50 kB
              Fernando

              Issue Links

                Activity

                  People

                  Assignee:
                  Sristi Sristi Shrestha
                  Reporter:
                  fgeraci Fernando
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration