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

Adding records to the database does not behave as expected

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. As a teacher Create a database activity with a picture field
      2. As a student navigate to the database activity.
      3. As a student click on "Add entry"
      4. As a student Set the Title to "Moodle" and upload a picture
      5. Click "Save and add another"
        Expected result: You will get a blank form to add a new entry
      Show
      As a teacher Create a database activity with a picture field As a student navigate to the database activity. As a student click on "Add entry" As a student Set the Title to "Moodle" and upload a picture Click "Save and add another" Expected result: You will get a blank form to add a new entry
    • Affected Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-49861-master

      Description

      Found while testing MDLQA-7889

      When adding a record to the database activity module and then clicking on the "Save and add another" button, The form that loads is populated with the previously saved data.

      Steps to reproduce:

      1. As a teacher Create a database activity with a picture field
      2. As a student navigate to the database activity.
      3. As a student click on "Add entry"
      4. As a student Set the Title to "Moodle" and upload a picture
      5. Click "Save and add another"

      Expected result: You will get a blank form to add a new entry
      Actual result: The previously added record is displayed including the uploaded pictures.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              abgreeve Adrian Greeve
              Reporter:
              sbourget Stephen Bourget
              Peer reviewer:
              Andrew Nicols
              Integrator:
              Dan Poltawski
              Tester:
              Ryan Wyllie
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/May/16