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

Manual completion cannot be changed when accessing activity via recent accessed items

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Waiting for testing
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.9.5
    • Fix Version/s: None
    • Component/s: Completion
    • Labels:
    • Testing Instructions:
      Hide

      This issue only needs to be tested in 1 device.

      Test manual completion and recent accessed block

      1. In Moodle web 3.11+ as admin, create 1 activity or resource with manual completion.
      2. Add the recent accessed items block in dashboard.
      3. In the app, login as a student and open the activity from step 1 through the course.
      4. Go back to Dashboard and perform a PTR so the activity appears in recent accessed items.
      5. Click the activity in recent accessed items block.
      6. Click to mark the activity as completed. Check that the button changes to "Done".

      Test length of undefined error

      1. In Moodle web 3.11+ as teacher, create 2 resources with manual completion enabled (let's call them A and B). E.g. you can create 2 pages.
      2. Add an access restriction to the resource B so the user can only access it if resource A is completed.
      3. In resource A, include a link to resource B (e.g. in the content or the description).
      4. In the app, login as a student and open resource A.
      5. Click the link to resource B. Check that you see an error saying that the resource isn't accessible.
      6. Mark the resource A as completed.
      7. Click the link to resource B again. Check that now the resource is opened.
      8. Go back to the resource A and unmark it as completed.
      9. Go back to course page and perform a PTR.
      10. Open resource A and perform a PTR.
      11. Click the link to resource B again. Check that you see an error saying that the resource or activity wasn't found. Please notice it's not the same error as in step 5, the app now has some cached data and it isn't easy to display the same error.
      Show
      This issue only needs to be tested in 1 device. Test manual completion and recent accessed block In Moodle web 3.11+ as admin, create 1 activity or resource with manual completion. Add the recent accessed items block in dashboard. In the app, login as a student and open the activity from step 1 through the course. Go back to Dashboard and perform a PTR so the activity appears in recent accessed items. Click the activity in recent accessed items block. Click to mark the activity as completed. Check that the button changes to "Done". Test length of undefined error In Moodle web 3.11+ as teacher, create 2 resources with manual completion enabled (let's call them A and B). E.g. you can create 2 pages. Add an access restriction to the resource B so the user can only access it if resource A is completed. In resource A, include a link to resource B (e.g. in the content or the description). In the app, login as a student and open resource A. Click the link to resource B. Check that you see an error saying that the resource isn't accessible. Mark the resource A as completed. Click the link to resource B again. Check that now the resource is opened. Go back to the resource A and unmark it as completed. Go back to course page and perform a PTR. Open resource A and perform a PTR. Click the link to resource B again. Check that you see an error saying that the resource or activity wasn't found. Please notice it's not the same error as in step 5, the app now has some cached data and it isn't easy to display the same error.
    • Affected Branches:
      MOODLE_39_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle App 4.0

      Description

      If you access an activity from a course it works fine, but using the recent accessed items you cannot change the manual completion from inside the activity.

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            dpalou Dani Palou
            Peer reviewer:
            Noel De Martin Noel De Martin
            Integrator:
            Noel De Martin Noel De Martin
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: