HTML export not creating folder structure index pages

Bug #1827966 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Robert Lyon
18.10
Fix Released
High
Unassigned
19.04
Fix Released
High
Unassigned
19.10
Fix Released
High
Robert Lyon

Bug Description

When doing an HTML export the files pages are not being generated correctly

I see the summary on HTML export page:

Files

Browse your file collection

    Files: 3
    Folders: 1
    Space used: 591.6KB

But when I follow "Browse your file collection" link I don't see any files (or sub folders)

To test:

Have a user with some files in Content -> Files
Have some subdirectories also containing files

Robert Lyon (robertl-9)
Changed in mahara:
assignee: nobody → Robert Lyon (robertl-9)
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/9969

Revision history for this message
Steven (stevens-q) wrote :

Commit hash: 2ab0b2869e18f7b03e7710f5609ddaea5eea63a6
Environment tested: Master
Browser tested: Chrome
Theme used: Primary school

PRECONDITIONS:
------------------------
1) Mahara user exists (no roles) User3
2) Have a user with some files in Content -> Files
       a) included are folders with images
       b) nested folders with images
3) Have some subdirectories also containing files
4) portfolio page exists with
      a) pdf block
      b) image block
      c) image gallery block
5) Another portfolio page exists with
     a) Embedded Media block

TEST STEPS:
------------------------
1) Log in as Mahara user
2) Export your all your data as html
3) Save the file locally and extract contents of the zip file
4) Open the index.html in a browser window
5) Follow the "Browse your file collection" link on the page
6) Verify all of the files are displayed ✔
7) Verify that the folders can be opened and the files and any nested folders are displayed ✔

Catalyst QA Approved ✔

Changed in mahara:
status: New → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/9969
Committed: https://git.mahara.org/mahara/mahara/commit/2ab0b2869e18f7b03e7710f5609ddaea5eea63a6
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit 2ab0b2869e18f7b03e7710f5609ddaea5eea63a6
Author: Robert Lyon <email address hidden>
Date: Tue May 7 14:12:58 2019 +1200

Bug 1827966: HTML export folder index pages not generated

Problem with trying to use expression as variable

behatnotneeded

Change-Id: I58409ab8373b9db8af9bc1a2b682995e3722f140
Signed-off-by: Robert Lyon <email address hidden>

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

Patch for "19.04_STABLE" branch: https://reviews.mahara.org/10006

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

Reviewed: https://reviews.mahara.org/10006
Committed: https://git.mahara.org/mahara/mahara/commit/704050afd7f9ad07d620331d6f1b722b43dfda06
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: 19.04_STABLE

commit 704050afd7f9ad07d620331d6f1b722b43dfda06
Author: Robert Lyon <email address hidden>
Date: Tue May 7 14:12:58 2019 +1200

Bug 1827966: HTML export folder index pages not generated

Problem with trying to use expression as variable

behatnotneeded

Change-Id: I58409ab8373b9db8af9bc1a2b682995e3722f140
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 2ab0b2869e18f7b03e7710f5609ddaea5eea63a6)

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

Patch for "18.10_STABLE" branch: https://reviews.mahara.org/10007

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

Reviewed: https://reviews.mahara.org/10007
Committed: https://git.mahara.org/mahara/mahara/commit/67bf2f951569e0445b128c8a1b1cb7b3e7005ad5
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: 18.10_STABLE

commit 67bf2f951569e0445b128c8a1b1cb7b3e7005ad5
Author: Robert Lyon <email address hidden>
Date: Tue May 7 14:12:58 2019 +1200

Bug 1827966: HTML export folder index pages not generated

Problem with trying to use expression as variable

behatnotneeded

Change-Id: I58409ab8373b9db8af9bc1a2b682995e3722f140
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 2ab0b2869e18f7b03e7710f5609ddaea5eea63a6)
(cherry picked from commit 704050afd7f9ad07d620331d6f1b722b43dfda06)

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/10065

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.