Moodle

You can't select the category when restoring a course

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9.1
  • Fix Version/s: 1.9.6
  • Component/s: Backup
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

When restoring a course from the site files you can no longer select the category for it to go into. Versions before 1.9 used to allow this. This is really annoying if you have a large number of courses to restore.

The code rather implies that this is a design decision (comment - "// Category selection isn't alowed if restoring from within SITEID course"), but I have no idea why this should be.

Issue Links

Activity

Hide
Ray Lawrence added a comment -

Wha!?

I can confirm this.

++1 to revert to the previous (IIRC) behaviour.

Show
Ray Lawrence added a comment - Wha!? I can confirm this. ++1 to revert to the previous (IIRC) behaviour.
Hide
Howard Miller added a comment -

The whole category thing seems to have gone down the toilet. It's ability to make a reasonable guess at the correct category to load a course into is broken and when you do get a list, it doesn't show the category tree structure (like in the category select tree in a course settings page).

Show
Howard Miller added a comment - The whole category thing seems to have gone down the toilet. It's ability to make a reasonable guess at the correct category to load a course into is broken and when you do get a list, it doesn't show the category tree structure (like in the category select tree in a course settings page).
Hide
Howard Miller added a comment -

Oh, I tell I lie - you do get a proper select for category now in 1.9

Show
Howard Miller added a comment - Oh, I tell I lie - you do get a proper select for category now in 1.9
Hide
Ray Lawrence added a comment -

Really? I'm not seeing this in site files on a fresh 1.9.2 install. See pic.

Show
Ray Lawrence added a comment - Really? I'm not seeing this in site files on a fresh 1.9.2 install. See pic.
Hide
Ray Lawrence added a comment -

Still an issue on 1.9.5 for me.

Show
Ray Lawrence added a comment - Still an issue on 1.9.5 for me.
Hide
Eloy Lafuente (stronk7) added a comment -

Resolving as fixed. Now the category is displayed when restoring from SITE, showing the allowed categories where the user can create courses and defaults are guessed a bit more cleverly than before.

Adding Helen as QA, just in case she can test it together with the MDL-19246.

Ciao

Show
Eloy Lafuente (stronk7) added a comment - Resolving as fixed. Now the category is displayed when restoring from SITE, showing the allowed categories where the user can create courses and defaults are guessed a bit more cleverly than before. Adding Helen as QA, just in case she can test it together with the MDL-19246. Ciao
Hide
Helen Foster added a comment -

Another great combination of Howard-the-reporter, Ray-the-commenter and Eloy-the-fixer. Thanks guys - everything works perfectly

Show
Helen Foster added a comment - Another great combination of Howard-the-reporter, Ray-the-commenter and Eloy-the-fixer. Thanks guys - everything works perfectly

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: