Issue Details (XML | Word | Printable)

Key: MDL-14432
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Eloy Lafuente (stronk7)
Reporter: Ray Lawrence
Votes: 0
Watchers: 2
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Cannot create new course using restore

Created: 19/Apr/08 11:09 PM   Updated: 14/May/08 11:29 AM
Return to search
Component/s: Backup
Affects Version/s: 1.9
Fix Version/s: 1.9.1

Environment: mysql 5.0.27, php 5.2.4

Database: MySQL
Participants: Dan Marsden, Dongsheng Cai, Eloy Lafuente (stronk7), Hansueli Schwaninger, Martin Dougiamas and Ray Lawrence
Security Level: None
QA Assignee: Dongsheng Cai
Resolved date: 02/May/08
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
To re-create:

Upgrade t 1.9 weekly from 1.8.4
Log in as user: Default CC at System, Editing teacher in course
Back up that course using all defaults.
Restore course to create new course - use all defaults (it makes no difference if the short name is changed)
Cannot create new course: Error message is "You need to be an edit teacher or admin to restore into selected course!"

It works Ok if logged in as Admin.
(Editing teachers should not be able to create new courses anyway)

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Dan Marsden added a comment - 24/Apr/08 10:49 AM
Hi Ray....

works for me....

user is a teacher in CF101 and added to the system role "course creators"

can restore to a new course with no errors.

I'm using:
Moodle 1.9 + (Build: 20080412)

can you provide any more information to help us replicate it?

thanks,

Dan


Ray Lawrence added a comment - 25/Apr/08 09:34 PM - edited
Sadly not. Just updated to this weeks, um, WEEKLY.

Still the same behaviour.

Will try on a fresh install in the next day or so.


Ray Lawrence added a comment - 29/Apr/08 03:16 PM
Same on fresh install of latest weekly.

Definitely an issue on exactly the basis in the original report.

database mysql version 4.1.16 is required and you are running 5.0.27 OK
php version 4.3.0 is required and you are running 5.2.4


Martin Dougiamas added a comment - 29/Apr/08 05:11 PM
Any changes to any of the roles?

Ray Lawrence added a comment - 30/Apr/08 12:56 AM
Nope, absolutely everything default, untouched.

Hansueli Schwaninger added a comment - 01/May/08 05:52 PM
Salü

I had the same problem, but with Moodle 1.9 + (Build: 20080430) it's now OK
MySQL 5.0.26
PHP 5.2.5
Best Regards from Switzerland


Ray Lawrence added a comment - 01/May/08 06:16 PM
Updated to 20080430 too.

OK now.


Eloy Lafuente (stronk7) added a comment - 02/May/08 06:42 AM
Oh, thanks for feedback. B-)

Closing this as fixed.


Eloy Lafuente (stronk7) made changes - 02/May/08 06:42 AM
Field Original Value New Value
Fix Version/s 1.9.1 [ 10240 ]
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Dongsheng Cai made changes - 14/May/08 11:22 AM
QA Assignee dongsheng
Dongsheng Cai added a comment - 14/May/08 11:29 AM
Thanks all

Dongsheng Cai made changes - 14/May/08 11:29 AM
Status Resolved [ 5 ] Closed [ 6 ]