Problems in HTML export

Bug #1955607 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Status tracked in 22.04
20.10
High
Unassigned
21.04
High
Unassigned
21.10
High
Unassigned
22.04
High
Unassigned

Bug Description

When we fixed up some issues in HTML export in https://reviews.mahara.org/#/c/11785/

We added $this->get_block_artefacts() function to return a list of artefact IDs and set them as $artefactidarray

But then we override this variable with a new list of artefact IDs

Before this change exports could sometimes fail if a block being exported contained connections to artefacts where the description contained an embedded artefact in it, eg contained text 'artefact/file/download.php?file='

After the change in patch 11785 the error stopped because the associated artefactids were not actually checked.

This patch will endeavor to fix things so both the old and new problems go away

Robert Lyon (robertl-9)
Changed in mahara:
milestone: none → 22.04.0
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "main" branch: https://reviews.mahara.org/12321

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

Other bug subscribers