mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #05418
[Bug 813905] [NEW] Trailing Spaces in Folder Names effect HTML Export
Public bug reported:
Found an issue with a student's HTML export where files would be present
in the zip file, but the zip extractor (in this case WinRAR) reported
the following:
! C:\Users\gagesw\Downloads\Mahara\mahara-export-html-user230-1311221980.zip: Cannot create portfolio-for-gagesw\files\file\Here is a folder with trailing spaces \title-vidmaster.gif
The system cannot find the path specified.
! C:\Users\gagesw\Downloads\Mahara\mahara-export-html-user230-1311221980.zip: Attempting to correct the invalid file name
! C:\Users\gagesw\Downloads\Mahara\mahara-export-html-user230-1311221980.zip: Renaming portfolio-for-gagesw\files\file\Here is a folder with trailing spaces
While this fixes the issue, the HTML pages are generated before the zip
is even created so all its references to files in the folder will be
broken.
Regarding the folder itself in the file area, the user can fix the
folder name but they may not even notice the issue due to the trailing
spaces being concatenated in the links (see attached image).
This issue does not effect the file share as files/folders are given
numerical references.
** Affects: mahara
Importance: Undecided
Status: New
** Tags: error export folders html spaces trailling
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/813905
Title:
Trailing Spaces in Folder Names effect HTML Export
Status in Mahara ePortfolio:
New
Bug description:
Found an issue with a student's HTML export where files would be
present in the zip file, but the zip extractor (in this case WinRAR)
reported the following:
! C:\Users\gagesw\Downloads\Mahara\mahara-export-html-user230-1311221980.zip: Cannot create portfolio-for-gagesw\files\file\Here is a folder with trailing spaces \title-vidmaster.gif
The system cannot find the path specified.
! C:\Users\gagesw\Downloads\Mahara\mahara-export-html-user230-1311221980.zip: Attempting to correct the invalid file name
! C:\Users\gagesw\Downloads\Mahara\mahara-export-html-user230-1311221980.zip: Renaming portfolio-for-gagesw\files\file\Here is a folder with trailing spaces
While this fixes the issue, the HTML pages are generated before the
zip is even created so all its references to files in the folder will
be broken.
Regarding the folder itself in the file area, the user can fix the
folder name but they may not even notice the issue due to the trailing
spaces being concatenated in the links (see attached image).
This issue does not effect the file share as files/folders are given
numerical references.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/813905/+subscriptions
Follow ups
References