-
Bug
-
Resolution: Fixed
-
Minor
-
3.2.5, 3.3.1, 3.4
-
MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
-
MOODLE_32_STABLE, MOODLE_33_STABLE
-
MDL-60025-master -
Could be related to .MDL-40386
How to reproduce:
- Create a course with a student user.
- Create a book with at least 1 chapter. Please write down the cmid and the sectionid of the book, you will need it later.
- As admin, enable "Mobile services": Plugins ► Web Services ► Mobile
- Create a Token for the student user.
- Click on Site administration ► Plugins ► Web services ► Manage tokens
- Next, you can do a CURL REST call simulating a WS client with the student user .
- You need to replace the wstoken, courseid, cmid, sectionid and the URL of your moodle instance.
curl 'http://localhost/m/stable_master/webservice/rest/server.php?moodlewsrestformat=json' --data 'courseid=9&options%5B0%5D%5Bname%5D=cmid&options%5B0%5D%5Bvalue%5D=355&options%5B1%5D%5Bname%5D=sectionid&options%5B1%5D%5Bvalue%5D=82&wsfunction=core_course_get_contents&wstoken=413ebb77feed0fde2e612290645df640' --compressed
- You need to replace the wstoken, courseid, cmid, sectionid and the URL of your moodle instance.
- Please write down the "timemodified" returned by the book's chapter (inside the "contents" property).
- Edit the book's chapter and modify the chapter's content. Save the changes.
- Perform the REST call again and check that the timemodified hasn't changed.
- will help resolve
-
MOBILE-2214 Book pages are not updated in mobile after modified in Moodle
-
- Closed
-