Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-53372

Database "Save and add another' button doesn't refresh to null

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.0
    • Fix Version/s: None
    • Labels:
    • Affected Branches:
      MOODLE_30_STABLE

      Description

      When clicking on the 'Save and add another' button to add entries into the database, all previous fields are not refreshing to null. Look like nothing happened. Users tend to click the 'Save and add another button again, and end up with many same entries.

      To recreate:
      1) Create a Database Activity
      2) Add one or more fields
      3) Select Add Entry tab
      4) Fill in the first entry
      5) Select 'Save and add another'
      6) All fields are pre filled with the previous content.
      7) Force refresh the page won't clear all existing content.

      Work around:
      Warn users never click on this button, use 'Save and view' button only. Then click on the 'Add entry' tab to add another one.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              wenxin Wenxin Lu
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: