Export collections not creating the export pdf

Bug #1873112 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Lisa Seeto

Bug Description

When exporting an individual collection or group of collections the pdf files don't seem to be made

To test / fix:

1) A user with collections is exporting all content
2) A user with collections is exporting just a few collections
3) A user with collections exports just one collection

Revision history for this message
Rangi Daymond (rangid) wrote :

Hi Lisa

Please see attached zip export file (unzipped content should contain a single page 'collection' PDF file as shown by the HTML file). I cannot find the PDF in here ?

Revision history for this message
Lisa Seeto (lisaseeto) wrote :

This looks like it could be a problem with collection/ page titles. A one page collection title "collection" with a page titled "one page collection" will export a pdf file... but a collection containg a file titled "one page (collection)" with parenthesis will not export. We may need to escape parenthesis in order for the pdf to export correctly.

Revision history for this message
Robert Lyon (robertl-9) wrote :

Need to use the parent HTML export text_to_filename() function to format the page / collection name correctly

Changed in mahara:
milestone: none → 20.04rc1
importance: Undecided → High
assignee: nobody → Lisa Seeto (lisaseeto)
status: New → Confirmed
Lisa Seeto (lisaseeto)
Changed in mahara:
status: Confirmed → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/10907

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/10907
Committed: https://git.mahara.org/mahara/mahara/commit/7fd804540da9b497a1a46237dc52253cdf43026a
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 7fd804540da9b497a1a46237dc52253cdf43026a
Author: Lisa Seeto <email address hidden>
Date: Mon Apr 20 10:55:26 2020 +1200

Bug 1873112: Export collections not creating the export pdf

- added () to text_to_filename regex
- filtered $collectionname through text_to_filename func

Change-Id: Ib762944eb9184aa2d88997016ca36e07ae209126
Signed-off-by: Lisa Seeto <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "20.04_STABLE" branch: https://reviews.mahara.org/10925

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/10925
Committed: https://git.mahara.org/mahara/mahara/commit/3678ee08ee7e5ed8549bdd464487e4a40523baf4
Submitter: Robert Lyon (<email address hidden>)
Branch: 20.04_STABLE

commit 3678ee08ee7e5ed8549bdd464487e4a40523baf4
Author: Lisa Seeto <email address hidden>
Date: Mon Apr 20 10:55:26 2020 +1200

Bug 1873112: Export collections not creating the export pdf

- added () to text_to_filename regex
- filtered $collectionname through text_to_filename func

Change-Id: Ib762944eb9184aa2d88997016ca36e07ae209126
Signed-off-by: Lisa Seeto <email address hidden>
(cherry picked from commit 7fd804540da9b497a1a46237dc52253cdf43026a)

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
milestone: 20.04rc1 → 20.04.0
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.