Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-61828

Unit test Privacy writer does not write children properly

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.3.5, 3.4.2, 3.5
    • 3.3.6, 3.4.3
    • Privacy

    Description

      The array replace works recursively, but we always add a file in array index 0 and thus gets replaced.

      I've also found a related issue whereby the tree structure does not contain enough detail which makes sense to fix at the same time.

      I'll see if I can unit test the unit test content writer... but it's getting a bit meta.

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              dobedobedoh Andrew Lyons
              Adrian Greeve Adrian Greeve
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              CiBoT CiBoT
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                17/May/18