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

Users cannot remove the license manager after it isn't used in any files.

XMLWordPrintable

    • MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE
    • MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE
    • MDL-77312-401
    • Hide
      1. Log in as admin
      2. Navigate to License > License manager in site administration
      3. Create a new license
      4. Navigate to Private files from user menu
      5. Upload a file
      6. Press on the file in the file manager to open properties dialog
      7. Set Choose license to your new license type, press Update
      8. Press Save changes
      9. Navigate to License > License manager in site administration
      10. Try to delete the new license
      11. Confirm you receive an error stating it's currently assigned to files
      12. Navigate to Private files from user menu
      13. Press on the file in the file manager to open properties dialog
      14. Set Choose license to Public domain, press Update
      15. Press Save changes
      16. Navigate to License > License manager in site administration
      17. Try to delete the new license
      18. Confirm the license was deleted
      Show
      Log in as admin Navigate to License > License manager in site administration Create a new license Navigate to Private files from user menu Upload a file Press on the file in the file manager to open properties dialog Set Choose license to your new license type, press Update Press Save changes Navigate to License > License manager in site administration Try to delete the new license Confirm you receive an error stating it's currently assigned to files Navigate to Private files from user menu Press on the file in the file manager to open properties dialog Set Choose license to Public domain , press Update Press Save changes Navigate to License > License manager in site administration Try to delete the new license Confirm the license was deleted
    • 1
    • Team Hedgehog 2023 Sprint 1.4, Team Hedgehog 2023 Sprint 2.0

      To reproduce the bug, please follow these steps:

      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 the "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.
        You can not delete the license.
      6. In the user menu, go to "Private files."
      7. Edit the file we added before, and set "Choose license" with another license.
      8. Go back to the Licence manager page and try to delete the licence you created.
      9. Verify that you can not delete the license.

      What we need to fix is the license should be removed because there are no files using the license.

            pholden Paul Holden
            meirza.arson@moodle.com Meirza
            Huong Nguyen Huong Nguyen
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 21 minutes
                1h 21m

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