mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #08855
[Bug 984575] [NEW] Leap2A importer: improve robustness of <content> importing
Public bug reported:
In import/leap/lib.php, function fix_artefact_reference.
If a <content> tag in a Leap2A import has more than one child node, the
importer gets confused and only imports one of them (either the first or
the last, not sure which).
E.g.:
<content type="html"><p>&nbsp;</p> <p>a
paragraph</p> <p>&nbsp;</p></content>
This is:
<content>
<p>
<p>
<p>
Which isn't handled properly. I think the leap2A spec mentions that
content like this is not a good idea, but the fix seems pretty easy.
Patch attached.
** Affects: mahara
Importance: Undecided
Status: New
** Tags: import leap2a
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/984575
Title:
Leap2A importer: improve robustness of <content> importing
Status in Mahara ePortfolio:
New
Bug description:
In import/leap/lib.php, function fix_artefact_reference.
If a <content> tag in a Leap2A import has more than one child node,
the importer gets confused and only imports one of them (either the
first or the last, not sure which).
E.g.:
<content type="html"><p>&nbsp;</p> <p>a
paragraph</p> <p>&nbsp;</p></content>
This is:
<content>
<p>
<p>
<p>
Which isn't handled properly. I think the leap2A spec mentions that
content like this is not a good idea, but the fix seems pretty easy.
Patch attached.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/984575/+subscriptions
Follow ups
-
[Bug 984575] Re: Leap2A importer: improve robustness of <content> importing
From: Robert Lyon, 2015-04-17
-
[Bug 984575] Re: Leap2A importer: improve robustness of <content> importing
From: Robert Lyon, 2015-04-17
-
[Bug 984575] Re: Leap2A importer: improve robustness of <content> importing
From: Kristina Hoeppner, 2014-11-10
-
[Bug 984575] Re: Leap2A importer: improve robustness of <content> importing
From: Aaron Wells, 2014-09-10
-
[Bug 984575] Re: Leap2A importer: improve robustness of <content> importing
From: Aaron Wells, 2014-04-15
-
[Bug 984575] Re: Leap2A importer: improve robustness of <content> importing
From: Kristina Hoeppner, 2013-12-02
-
[Bug 984575] Re: Leap2A importer: improve robustness of <content> importing
From: Robert Lyon, 2013-10-30
-
[Bug 984575] Re: Leap2A importer: improve robustness of <content> importing
From: Aaron Wells, 2013-10-22
-
[Bug 984575] Re: Leap2A importer: improve robustness of <content> importing
From: Aaron Wells, 2013-09-30
-
[Bug 984575] Re: Leap2A importer: improve robustness of <content> importing
From: Aaron Wells, 2013-04-19
-
[Bug 984575] Re: Leap2A importer: improve robustness of <content> importing
From: Kristina Hoeppner, 2012-09-16
-
[Bug 984575] Re: Leap2A importer: improve robustness of <content> importing
From: Son Nguyen, 2012-09-11
-
[Bug 984575] Re: Leap2A importer: improve robustness of <content> importing
From: Kristina Hoeppner, 2012-07-06
-
[Bug 984575] Re: Leap2A importer: improve robustness of <content> importing
From: Hugh Davenport, 2012-07-02
-
[Bug 984575] Re: Leap2A importer: improve robustness of <content> importing
From: Richard Mansfield, 2012-04-18
-
[Bug 984575] [NEW] Leap2A importer: improve robustness of <content> importing
From: Nigel McNie, 2012-04-18
-
[Bug 984575] Re: Leap2A importer: improve robustness of <content> importing
From: Nigel McNie, 2012-04-18
References