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

when assignment grader hidden, mobile app has caching issues.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 3.6.0
    • Fix Version/s: 3.6.1
    • Component/s: Assignment add-on
    • Labels:
    • Testing Instructions:
      Hide

      This issue should only be tested in 1 OS.

      1. In web, login as teacher in a site with MDL-64761 applied.
      2. Create 2 assignments. One of them should have the setting "Grade > Hide grader identity from students" set to Yes and the other one set to No.
      3. As a student (in web or app, doesn't matter) submit both assignments.
      4. In web as teacher, grade both assignments for the student.
      5. In the app, open the assignment with the setting set to No.
      6. Open the Grade tab and check that you see the name and avatar of the teacher that graded you.
      7. Now open the assignment with the setting set to Yes.
      8. Open the Grade tab and check that you don't see the name and avatar of the teacher that graded you, you only see the "Graded on".
      Show
      This issue should only be tested in 1 OS. In web, login as teacher in a site with  MDL-64761 applied. Create 2 assignments. One of them should have the setting "Grade > Hide grader identity from students" set to Yes and the other one set to No. As a student (in web or app, doesn't matter) submit both assignments. In web as teacher, grade both assignments for the student. In the app, open the assignment with the setting set to No. Open the Grade tab and check that you see the name and avatar of the teacher that graded you. Now open the assignment with the setting set to Yes. Open the Grade tab and check that you don't see the name and avatar of the teacher that graded you, you only see the "Graded on".
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Sprint:
      Moodle Mobile 3.6.1

      Description

      This relates to the work in MDL-49673

      When the grader doesn't come through from the webservice I'm seeing inconsistent results in the app - it seems that it doesn't cope nicely when the data is returned with an empty "grader"

      sometimes the grade is updated but it still shows the "Cached" previous grader - even if the grader is different. in other cases I've seen it's been hard to get the new grade to come through at all when no grader is in the returned data from the mod_assign get_submission_status webservice function.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dpalou Dani Palou
              Reporter:
              danmarsden Dan Marsden
              Peer reviewer:
              Pau Ferrer
              Integrator:
              Juan Leyva
              Tester:
              Isabel Renedo Rouco
              Participants:
              Component watchers:
              Votes:
              4 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                29/Mar/19