mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #58075
[Bug 1873118] [NEW] Files doubling up in an export
Public bug reported:
When doing a full export we can get files doubled up appearing in
export_info/files/ directory and also subdirectories under this
directory.
It looks like if the file is used in a page / block it gets put here but
at the same time the Files area of the user's Content section is added
in with the same folder structure.
So, for example if I add a coverimage, img1.jpg, to a page it gets saved
in the 'Cover images' folder in files.
When I export the user I get a copy of img1.jpg in export_info/files/
directory because of it's association to the exported page and another
copy in export_info/files/Cover images/ because of it's relation to the
files directory.
we used to export files in their directories to avoid name clashes - but
now that we export files prefixed with their fileid we don't need to
worry about that so we should export all files into export_info/files/
directory without bothering with the subdirectories and have the
generated files html page point to export_info/files/ instead
** Affects: mahara
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1873118
Title:
Files doubling up in an export
Status in Mahara:
New
Bug description:
When doing a full export we can get files doubled up appearing in
export_info/files/ directory and also subdirectories under this
directory.
It looks like if the file is used in a page / block it gets put here
but at the same time the Files area of the user's Content section is
added in with the same folder structure.
So, for example if I add a coverimage, img1.jpg, to a page it gets
saved in the 'Cover images' folder in files.
When I export the user I get a copy of img1.jpg in export_info/files/
directory because of it's association to the exported page and another
copy in export_info/files/Cover images/ because of it's relation to
the files directory.
we used to export files in their directories to avoid name clashes -
but now that we export files prefixed with their fileid we don't need
to worry about that so we should export all files into
export_info/files/ directory without bothering with the subdirectories
and have the generated files html page point to export_info/files/
instead
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1873118/+subscriptions
Follow ups
-
[Bug 1873118] Re: Files doubling up in an export
From: Dianne Tennent, 2022-05-03
-
[Bug 1873118] Re: Files doubling up in an export
From: Dianne Tennent, 2022-05-03
-
[Bug 1873118] A patch has been submitted for review
From: Mahara Bot, 2021-10-14
-
[Bug 1873118] Re: Files doubling up in an export
From: Robert Lyon, 2021-04-30
-
[Bug 1873118] Re: Files doubling up in an export
From: Cecilia Vela Gurovic, 2020-09-17
-
[Bug 1873118] A change has been merged
From: Mahara Bot, 2020-09-10
-
[Bug 1873118] A patch has been submitted for review
From: Mahara Bot, 2020-09-01
-
[Bug 1873118] Re: Files doubling up in an export
From: Cecilia Vela Gurovic, 2020-06-15
-
[Bug 1873118] Re: Files doubling up in an export
From: Kristina Hoeppner, 2020-04-27
-
[Bug 1873118] Re: Files doubling up in an export
From: Robert Lyon, 2020-04-22
-
[Bug 1873118] A patch has been submitted for review
From: Mahara Bot, 2020-04-21
-
[Bug 1873118] Re: Files doubling up in an export
From: Cecilia Vela Gurovic, 2020-04-20
-
[Bug 1873118] Re: Files doubling up in an export
From: Robert Lyon, 2020-04-17
-
[Bug 1873118] Re: Files doubling up in an export
From: Robert Lyon, 2020-04-17
-
[Bug 1873118] Re: Files doubling up in an export
From: Robert Lyon, 2020-04-17