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

Resetting dashboards does not actually delete block instances on oracle

XMLWordPrintable

      Resetting dashboards does not fully on oracle - it deletes the records in my_pages table but does not delete block instances, leaving them orphaned

      We found it in Workplace by writing proper unittest for tenant dashboard reset and then they failed. We realised that the tests for resetting user dashboard in LMS are not testing functionality (only events), so they did not detect this problem.

      There is no method to cast int to char in our DML, the code uses $DB->sql_concat("''", 'p.id') that apparently does not work in oracle

            pholden Paul Holden
            marina Marina Glancy
            Marina Glancy Marina Glancy
            Jun Pataleta Jun Pataleta
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 46 minutes
                2h 46m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.