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

Make licence manager page related errors more user-friendly

XMLWordPrintable

    • MOODLE_402_STABLE
    • MOODLE_402_STABLE
    • MDL-77269-master
    • Hide
      1. As admin go to Site Administration > Licence > Licence manager
      2. Create a new license
      3. In the user menu, go to "Private files"
      4. Click add button, select a file, set "Choose licence" field to the licence you just created and save.
      5. Go back to the Licence manager page and try to delete the licence you created.
      6. Verify you see a notification on the top of the page instead of a exception message.
      Show
      As admin go to Site Administration > Licence > Licence manager Create a new license In the user menu, go to "Private files" Click add button, select a file, set "Choose licence" field to the licence you just created and save. Go back to the Licence manager page and try to delete the licence you created. Verify you see a notification on the top of the page instead of a exception message.
    • 1
    • Team Hedgehog Sprint 2.1

      While converting MDLQA-16746 QA test to Behat I have noticed the license manager page throws exceptions in some scenarios, for instance trying to remove a custom license that is linked to a file:

      The problem is that Behat understands it's a error and the test fails.

      This issue is about changing those error messages to something more user-friendly such as moodle notifications:

        1. boost.gif
          167 kB
          Ron Carl Alfon Yu
        2. classic.gif
          432 kB
          Ron Carl Alfon Yu
        3. licence exception.png
          80 kB
          Simey Lameze
        4. notification.png
          77 kB
          Simey Lameze

            lameze Simey Lameze
            lameze Simey Lameze
            Meirza Meirza
            Paul Holden Paul Holden
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours
                5h

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