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

New activities fail to load if xxx_by_courses is cached

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Make sure you have at least one chat in your Moodle course.
      2. Open that chat in the app.
      3. In Moodle web, add a new chat to that course (you have 5 minutes to do so).
      4. In the app, go to the new chat and check that you can see its data without having to do a pull to refresh inside the chat activity.
      5. Perform the same check for forum, choice, lti and survey.
      Show
      Make sure you have at least one chat in your Moodle course. Open that chat in the app. In Moodle web, add a new chat to that course (you have 5 minutes to do so). In the app, go to the new chat and check that you can see its data without having to do a pull to refresh inside the chat activity. Perform the same check for forum, choice, lti and survey.
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE

      Description

      Certain activities use the xxx_by_courses WebServices. This WS returns all the activities of that type in a course. If a new activity is added to a course, if the user opens it in the app but the xxx_by_courses was cached before the new activity was added then an error message is shown because the activity isn't found.

        Attachments

          Activity

            People

            • Assignee:
              dpalou Daniel Palou
              Reporter:
              dpalou Daniel Palou
              Peer reviewer:
              Juan Leyva
              Integrator:
              Juan Leyva
              Tester:
              Juan Leyva
              Participants:
              Component watchers:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                6/Nov/15