Project

General

Profile

Bug #521

Course copy tool the copies the same path in different courses

Added by Julio Montoya over 9 years ago. Updated about 9 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
16/01/2010
Due date:
% Done:

100%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

When trying to do a back up

Result expected:

course/ORIGEN/images/test.png

course/DESTINO/images/test.png

Bug:
course/ORIGEN/images/test.png
course/ORIGEN/images/test.png

In Exercise tool, glossary, etc


Files

course-copy-classes.tar (120 KB) course-copy-classes.tar Julio Montoya, 16/01/2010 00:50

History

#1

Updated by Julio Montoya over 9 years ago

I tried this solution see attachements
Unstable solution
I prefer to do a str_replace()

It does not work with this kind of code:

<embed type="application/x-shockwave-flash" src="/main/inc/lib/mediaplayer/player.swf" width="320" height="240" style="undefined" id="single" name="single" quality="high" allowfullscreen="true" flashvars="width=320&height=240&autostart=false&file=/courses/123456/document/video/flv/example.flv&repeat=false&image=&showdownload=false&*link=/courses/123456/document/video/flv/example.flv*&showdigits=true&shownavigation=true&logo=">

#2

Updated by Julio Montoya over 9 years ago

  • Target version set to 1.8.7
#3

Updated by Julio Montoya about 9 years ago

  • Status changed from New to Bug resolved
  • % Done changed from 0 to 100

This was already fixed with the
replace_urls_inside_content_html_from_copy_course() function in the document.lib.php

Also available in: Atom PDF