"locked by dependencies" when backing up a course (2.0 RC1)

"locked by dependencies" when backing up a course (2.0 RC1)

by Mark Dover -
Number of replies: 7
Using Moodle 2.0 RC1

Hi there, I'm wondering if anyone can help with this.

I can backup and restore the main course structure however the document attachments such as Word documents and PDF's don't get backed up.

When I'm in the "Schema settings" part of the backup there are red crosses and a lock which says "locked by dependencies" against those particular topics that have the attachments. Is there any way around this?

Sorry if it's already been covered but I couldn't find a solution anywhere.

Thanks, Mark.
Average of ratings: -
In reply to Mark Dover

Re: "locked by dependencies" when backing up a course (2.0 RC1)

by josh west -

We're trying to figure this one out also.  Our version is 2.0 release version.

If we learn anything . . . will share here.

Josh

In reply to josh west

Re: "locked by dependencies" when backing up a course (2.0 RC1)

by josh west -

Update:

Courses -> Bacukups -> General backup defaults

Just set the backup preferences back to the original default settings and now things work as expected.

But . . . we didn't have any of the "locked" checkboxes selected .  .  . so I'm not sure why it seemed to behave as if the setting was locked.

I wonder whether it may be a Bug?   or our UI confusion?

Josh

In reply to josh west

Re: "locked by dependencies" when backing up a course (2.0 RC1)

by Graham Clark -

I’m trying to backup a learning object in a Moodle 2.0 (Build: 20101130) course and restore the learning object to another course in the same Moodle.

However, all of my learning objects have a big red cross next to them and a yellow padlock next to that.

When I hover over the padlock some text comes up saying “Locked by dependencies”.

What does this mean exactly?

More importantly, what can I do about it?

Attachment image 2.jpg
In reply to Graham Clark

Re: "locked by dependencies" when backing up a course (2.0 RC1)

by Denny Whitford -

I had a similar problem as described in "Loss of Backup in Moodle 2.1.1" posted on November 11, 2011.

In reply to Graham Clark

Re: "locked by dependencies" when backing up a course (2.0 RC1)

by Nathan Hammond -

Same Problem here.

First I get this script error though:

 

Then I get the "locked by dependencies" showing up for the last 30 or so activities in my restore course listing.