MantisBT - ATutor
View Issue Details
0003733ATutorExport Contentpublic2009-04-14 07:192009-07-21 08:49
harris 
harris 
normalminoralways
closedfixed 
 
1.6.3 
SVN
0003733: A4a Export/import fails to copy images
If images' links are like the following: "../file.jpg", then the import fails on Linux, seems like it actually records "../file.jpg" as a filename in the achieve.

Fix this by using realpath, not relative path.

This also brings up a problem in the ims_import.php code because it doesn't copy files outside of the package_base directory. In this case, add another loop to copy every file in that directory.
No tags attached.
Issue History
2009-04-14 07:19harrisNew Issue
2009-04-14 07:19harrisAffects version => SVN
2009-04-14 07:19harrisStatusnew => assigned
2009-04-14 07:19harrisAssigned To => harris
2009-04-14 07:29harrisStatusassigned => resolved
2009-04-14 07:29harrisResolutionopen => fixed
2009-04-14 07:29harrisNote Added: 0003501
2009-04-17 07:29harrisStatusresolved => feedback
2009-04-17 07:29harrisResolutionfixed => reopened
2009-04-17 07:29harrisNote Added: 0003504
2009-04-17 07:29harrisStatusfeedback => assigned
2009-04-17 07:30harrisStatusassigned => resolved
2009-04-17 07:30harrisResolutionreopened => fixed
2009-04-17 07:30harrisNote Added: 0003505
2009-06-12 09:31gregStatusresolved => new
2009-06-12 09:33gregStatusnew => resolved
2009-06-12 09:33gregFixed in Version => 1.6.3
2009-07-21 08:49gregStatusresolved => closed

Notes
(0003501)
harris   
2009-04-14 07:29   
8434

Patch 0019
(0003504)
harris   
2009-04-17 07:29   
Fails on UNIX and some on Windows
(0003505)
harris   
2009-04-17 07:30   
8svn: 456

Patch 0000020