mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fixed applying convert_path recipes on sub-paths of grouped elements
Grouped elements contain arrays with the sub-paths. This patch makes sure that the sub-paths are pre-cooked recursively. However because the recipes do not distinguish the full path to the element, only the implicit recipe (making the tags lowecase) is applied. To avoid potential data loss (for example dropfields recipe would delete all fields from the whole grouped tree, not only the direct descendants of the path where the recipe is declared), explicit recipes are forbidden for grouped elements. The developer has to convert the $data manually as needed.
- Loading branch information
Showing
2 changed files
with
138 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters