1 page collection export preview producing warning

Bug #1898003 reported by Lisa Seeto
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
20.10
Fix Released
Medium
Lisa Seeto

Bug Description

When trying to export a one page collection, a warning is being produced if the collection is first previewed.

To replicate:
1. Log in and create a page and add it to a collection
2. Go to Manage -> Export and select "Just some my collections"
3. Select to preview the collection
Expected result:
The pop-up preview is displayed correctly
Actual result:
The collection page navigation drop-down displays 'You are on page 1/0' (see attachment)
4. Close the preview and export the collection
Expected result:
The export runs and completes with a .zip file to download
Actual result:
A warning is produced. (see attachment)

This is happening in current Master.

Revision history for this message
Lisa Seeto (lisaseeto) wrote :
Revision history for this message
Lisa Seeto (lisaseeto) wrote :
Changed in mahara:
milestone: none → 20.04.2
milestone: 20.04.2 → none
Lisa Seeto (lisaseeto)
Changed in mahara:
assignee: nobody → Lisa Seeto (lisaseeto)
status: New → 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/11317

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

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

commit f1f33d53ab0415703fdcbb52cb08bec89cbe28e9
Author: Lisa Seeto <email address hidden>
Date: Fri Oct 2 11:36:37 2020 +1300

Bug 1898003: 1 page collection export preview producing warning

- remove if count of collection > 1 condition (one page collections exist)

Change-Id: I4d6866781a5864640230a8e776288edc3e7ffb18
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.10_STABLE" branch: https://reviews.mahara.org/11337

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

Reviewed: https://reviews.mahara.org/11337
Committed: https://git.mahara.org/mahara/mahara/commit/8aa7b5f65de2fad0a9ce5e40abdd9f22f6104f7f
Submitter: Robert Lyon (<email address hidden>)
Branch: 20.10_STABLE

commit 8aa7b5f65de2fad0a9ce5e40abdd9f22f6104f7f
Author: Lisa Seeto <email address hidden>
Date: Fri Oct 2 11:36:37 2020 +1300

Bug 1898003: 1 page collection export preview producing warning

- remove if count of collection > 1 condition (one page collections exist)

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

Robert Lyon (robertl-9)
no longer affects: mahara/21.04
Robert Lyon (robertl-9)
Changed in mahara:
milestone: 20.10.0 → none
no longer affects: mahara
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.