Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2856

Database: Offline entries cannot be viewd, edited, deleted and approved

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Done
    • Minor
    • 3.7.0
    • 3.6.1
    • Database add-on
    • Hide

      Test on any device.

      1. Login to a 3.3 or newer site as a teacher.
      2. Go to a database activity with Approval required. Make sure that the template has approve, disapprove and delete actions.
      3. Download the database.
      4. Switch the app to offline.
      5. Delete an entry.
      6. Edit the first entry and change some fields.
      7. Add a new entry.
      8. Edit the new entry and change some fields. Check that the offline entry is updated.
      9. Disapprove the entry (thumbs down icon) .Check that the entry is now unapproved (thumbs up icon is displayed).
      10. View the new entry in a single page (glass magnifier icon). Check that the displayed entry is the correct one.
      11. Click the "Next" button and check that the the first online entry is displayed.
      12. Click the "Previous" button and check that the the added entry entry is displayed..
      13. Switch the device to online and sync the database.
      14. Check that all actions are applied: the new entry, the deleted entry and the edited entry.
      Show
      Test on any device. Login to a 3.3 or newer site as a teacher. Go to a database activity with Approval required. Make sure that the template has approve, disapprove and delete actions. Download the database. Switch the app to offline. Delete an entry. Edit the first entry and change some fields. Add a new entry. Edit the new entry and change some fields. Check that the offline entry is updated. Disapprove the entry (thumbs down icon) .Check that the entry is now unapproved (thumbs up icon is displayed). View the new entry in a single page (glass magnifier icon). Check that the displayed entry is the correct one. Click the "Next" button and check that the the first online entry is displayed. Click the "Previous" button and check that the the added entry entry is displayed.. Switch the device to online and sync the database. Check that all actions are applied: the new entry, the deleted entry and the edited entry.
    • MOODLE_36_STABLE
    • MOODLE_37_STABLE
    • Moodle App 3.7.0

    Description

      Steps to reproduce:

      1. Go to a database activity
      2. Switch the app to offline.
      3. Create an entry.
      4. Click any action icon (view, edit, delete, etc.) of the created entry.
      5. Check that the site is opened in a browser with a URL similar to /mod/data/view.php?d=%202&delete=-1548927007836

      Attachments

        Activity

          People

            albert.gasset Albert Gasset
            albert.gasset Albert Gasset
            Dani Palou Dani Palou
            Juan Leyva Juan Leyva
            Dani Palou Dani Palou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.