-
Bug
-
Resolution: Fixed
-
Major
-
3.2
-
MOODLE_32_STABLE
-
MOODLE_32_STABLE
-
MDL-57051-master -
How to reproduce:
- Create a Page with some files in the content and in the description.
- Call WS check_updates for that module with current datetime and check that no updates are returned.
- Now click to edit the page and Save without changing anything.
- Call the WS with the exact same parameters as before. Check that you receive updates in configuration, introfiles and contentfiles.
The reason is that the WS checks for folders, so we always receive changes in the root folder because of how draft files work. We should ignore folders since we'll receive the new files inside them anyway. The only downside is that we won't receive new empty subfolders, but those won't be downloadable anyway so that shouldn't be a problem.