Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6815

Tárgy: Re: Links to resources in restored courses point back to original courses resource

$
0
0
by Magyar-Hunor Tamas.  

Hey Mary,
My tests didn't go as well as I wished so I have some questions. Is this Activity names auto-linking filter responsible for the following:

course A has a forum and a resource(file activity [a pdf named xzy])
the forum's description has html code with a href tag to the resource called xzy, but the link says document
I backup course A
I restore course A and so I will have course A and course A_1
course A_2 also has the forum activity and the resource(file activity[a pdf named xzy])
I then open course A_1 and open the forum, hover over the document, and it links to the Course A resource NOT the Course A_1 resource.

But I am now unable to replicate the bug, so now Course A_1 has its forums descriptions link properly pointing to Course A_1 's resource.
When I started testing this yesterday, I was able to replicate the bug, I actually still have the course where the restored courses forums descriptions link points towards the backed up courses resource and not its own

is the above mentioned Activity names auto-linking filter responsible for fixing these links or its a total different thing?

this is how we use it, example forum description:
General news and announcements
...
<u><a href="http://mysite.local/mod/resource/view.php?id=110503" target="_blank">document</a></u>
...

Viewing all articles
Browse latest Browse all 6815

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>