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

Check that both values are filled in database module fields with more than one value

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Create a database activity.
      2. When selecting the fields for the activity make sure to include two latlong fields. Make one set required.
      3. Save the templates.
      4. Try adding just the Latitude or the Longitude for both longlat fields.
      5. After trying to submit, check that there is an error message informing you that both latlong fields need to be filled in.
      6. Fill in all of the details for the required fields, but leave the non required fields empty.
      7. Check that the entry is added.
      8. Create another database activity.
      9. When selecting the fields for the activity include one latlong field. Make sure they are not required
      10. Save the templates.
      11. Try adding just the Latitude or the Longitude for the longlat field.
      12. After trying to submit, check that there is an error message informing you that the both the latitude and the longitude fields need to be filled in.
      13. Fill in all of the details.
      14. Check that the entry is added.
      Show
      Create a database activity. When selecting the fields for the activity make sure to include two latlong fields. Make one set required. Save the templates. Try adding just the Latitude or the Longitude for both longlat fields. After trying to submit, check that there is an error message informing you that both latlong fields need to be filled in. Fill in all of the details for the required fields, but leave the non required fields empty. Check that the entry is added. Create another database activity. When selecting the fields for the activity include one latlong field. Make sure they are not required Save the templates. Try adding just the Latitude or the Longitude for the longlat field. After trying to submit, check that there is an error message informing you that the both the latitude and the longitude fields need to be filled in. Fill in all of the details. Check that the entry is added.
    • Affected Branches:
      MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-51108-master
    • Sprint:
      Team Both Sprint 1

      Description

      • Latitude/Longitude

      Url with autolink enabled and Picture seem to work just fine

      This may mean both fields are required or just one is required

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              abgreeve Adrian Greeve
              Reporter:
              johno John Okely
              Peer reviewer:
              John Okely
              Integrator:
              Dan Poltawski
              Tester:
              cameron1729
              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:
                Fix Release Date:
                9/Nov/15