HTML export not creating folder structure index pages

Bug #1827966 reported by Robert Lyon on 2019-05-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Status tracked in 19.10
18.10
High
Unassigned
19.04
High
Unassigned
19.10
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) on 2019-05-07
Changed in mahara:
assignee: nobody → Robert Lyon (robertl-9)
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

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>

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)

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)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers