1. 28 Jun, 2022 1 commit
  2. 24 Jun, 2022 2 commits
  3. 23 Jun, 2022 3 commits
  4. 21 Jun, 2022 4 commits
  5. 20 Jun, 2022 1 commit
  6. 17 Jun, 2022 7 commits
  7. 15 Jun, 2022 4 commits
  8. 14 Jun, 2022 6 commits
  9. 13 Jun, 2022 3 commits
  10. 11 Jun, 2022 1 commit
    • Eloy Lafuente's avatar
      MDL-74449 gradebook: Protect flatten_dependencies_array() a little bit · df048de4
      Eloy Lafuente authored
      It has been detected that the flatten_dependencies_array() was fragile
      and leading to wrong results when some incorrect data was passed to it.
      
      This includes:
      
      - Missing elements.
      - Null dependencies.
      - Non array dependencies.
      
      While the existing behaviour (testing-wise) has been preserved, now the
      situations above are better controlled and the function ignores all
      those incorrect cases that shouldn't happen ever.
      
      That implies that a good number of notices/warnings/errors aren't
      happening anymore. That was impacting both results (when the problems
      were  only notices and warnings) and execution (when the problems
      were errors).
      
      Covered with tests.
      df048de4
  11. 10 Jun, 2022 8 commits