Moodle

CLONE - moving files breaks links

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    All

Description

When a course file is moved or renamed, could a quick check be made for any course references to the file that would create a broken link or perhpas change or update these references to the new folder/file name or location? Even just a quick list of where broken links might have been created would allow a course teacher to fix them. It seems to happen to generally happen to me when I tweak image or course folder/file names and digging up all the places where I might have referenced the file is rather clumbersome.

Issue Links

Activity

Hide
Chris Fryer added a comment -

I've cloned an issue that was marked as affecting 1.4, but can't see a way to mark the clone as affecting 1.8.x, which it does. Sorry if this is generating tons of mail.

Show
Chris Fryer added a comment - I've cloned an issue that was marked as affecting 1.4, but can't see a way to mark the clone as affecting 1.8.x, which it does. Sorry if this is generating tons of mail.
Hide
Ann Adamcik added a comment -

Here's a patch for this issue (I attached it to the clone as well). Would someone please review it and commit if it looks okay?

Show
Ann Adamcik added a comment - Here's a patch for this issue (I attached it to the clone as well). Would someone please review it and commit if it looks okay?
Hide
John Ennew added a comment -

My institution has been adding this patch for a while now since we consider it important. It appears to do the job nicely and is what the users expect to happen when they move a file in the file resource area. Would be good if this could be added to the 1.9 branch permanently.

Show
John Ennew added a comment - My institution has been adding this patch for a while now since we consider it important. It appears to do the job nicely and is what the users expect to happen when they move a file in the file resource area. Would be good if this could be added to the 1.9 branch permanently.
Hide
Chris Fryer added a comment -
Show
Chris Fryer added a comment - Reading Petr's comment on the clone of this issue, I think this won't be fixed in 1.9. http://tracker.moodle.org/browse/MDL-2238?focusedCommentId=75277&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_75277

People

Vote (3)
Watch (4)

Dates

  • Created:
    Updated: