[Mahara-contributors] [Bug 984575] Re: Leap2A importer: improve robustness of content importing
** Changed in: mahara Milestone: 15.04.0 = 15.04.1 -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/984575 Title: Leap2A importer: improve robustness of content importing Status in Mahara ePortfolio: Won't Fix 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=htmllt;pgt;amp;nbsp;lt;/pgt; lt;pgt;a paragraphlt;/pgt; lt;pgt;amp;nbsp;lt;/pgt/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 ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 984575] Re: Leap2A importer: improve robustness of content importing
** Changed in: mahara Milestone: 15.04.1 = None -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/984575 Title: Leap2A importer: improve robustness of content importing Status in Mahara ePortfolio: Won't Fix 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=htmllt;pgt;amp;nbsp;lt;/pgt; lt;pgt;a paragraphlt;/pgt; lt;pgt;amp;nbsp;lt;/pgt/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 ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 984575] Re: Leap2A importer: improve robustness of content importing
** Changed in: mahara Status: In Progress = Won't Fix -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/984575 Title: Leap2A importer: improve robustness of content importing Status in Mahara ePortfolio: Won't Fix 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=htmllt;pgt;amp;nbsp;lt;/pgt; lt;pgt;a paragraphlt;/pgt; lt;pgt;amp;nbsp;lt;/pgt/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 ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 984575] Re: Leap2A importer: improve robustness of content importing
** Changed in: mahara Milestone: 1.10.0 = 1.11.0 -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/984575 Title: Leap2A importer: improve robustness of content importing Status in Mahara ePortfolio: In Progress 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=htmllt;pgt;amp;nbsp;lt;/pgt; lt;pgt;a paragraphlt;/pgt; lt;pgt;amp;nbsp;lt;/pgt/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 ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 984575] Re: Leap2A importer: improve robustness of content importing
** Changed in: mahara Milestone: 1.9.0 = 1.10.0 -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/984575 Title: Leap2A importer: improve robustness of content importing Status in Mahara ePortfolio: In Progress 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=htmllt;pgt;amp;nbsp;lt;/pgt; lt;pgt;a paragraphlt;/pgt; lt;pgt;amp;nbsp;lt;/pgt/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 ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 984575] Re: Leap2A importer: improve robustness of content importing
** Changed in: mahara Milestone: 1.8.1 = 1.9.0 -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/984575 Title: Leap2A importer: improve robustness of content importing Status in Mahara ePortfolio: In Progress 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=htmllt;pgt;amp;nbsp;lt;/pgt; lt;pgt;a paragraphlt;/pgt; lt;pgt;amp;nbsp;lt;/pgt/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 ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 984575] Re: Leap2A importer: improve robustness of content importing
According to the documentation here: http://www.leapspecs.org/2A/literals#content_or_description We should not be trying to import content/content as HTML (all escaped) but rather as XHTML (not escaped) eg, instead of this: content type=htmllt;pgt;amp;nbsp;lt;/pgt; lt;pgt;a paragraphlt;/pgt; lt;pgt;amp;nbsp;lt;/pgt/content it should be more like this: content type=xhtml div xmlns=http://www.w3.org/1999/xhtml; p /p pa paragrapgh/p p /p /div /content where the containing div gets stripped on import So on import should we take the contents of content type=html unescape it, then run it thru html tidy and import it as xhtml? -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/984575 Title: Leap2A importer: improve robustness of content importing Status in Mahara ePortfolio: In Progress 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=htmllt;pgt;amp;nbsp;lt;/pgt; lt;pgt;a paragraphlt;/pgt; lt;pgt;amp;nbsp;lt;/pgt/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 ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 984575] Re: Leap2A importer: improve robustness of content importing
** Changed in: mahara Milestone: 1.8.0 = 1.8.1 -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/984575 Title: Leap2A importer: improve robustness of content importing Status in Mahara ePortfolio: In Progress 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=htmllt;pgt;amp;nbsp;lt;/pgt; lt;pgt;a paragraphlt;/pgt; lt;pgt;amp;nbsp;lt;/pgt/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 ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 984575] Re: Leap2A importer: improve robustness of content importing
** Changed in: mahara Milestone: 1.8rc1 = 1.8.0 -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/984575 Title: Leap2A importer: improve robustness of content importing Status in Mahara ePortfolio: In Progress 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=htmllt;pgt;amp;nbsp;lt;/pgt; lt;pgt;a paragraphlt;/pgt; lt;pgt;amp;nbsp;lt;/pgt/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 ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 984575] Re: Leap2A importer: improve robustness of content importing
** Changed in: mahara Milestone: 1.7.0 = 1.8.0 -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contrib members https://bugs.launchpad.net/bugs/984575 Title: Leap2A importer: improve robustness of content importing Status in Mahara ePortfolio: In Progress 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=htmllt;pgt;amp;nbsp;lt;/pgt; lt;pgt;a paragraphlt;/pgt; lt;pgt;amp;nbsp;lt;/pgt/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 ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 984575] Re: Leap2A importer: improve robustness of content importing
** Changed in: mahara Milestone: 1.6.0 = 1.7.0 -- 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: In Progress 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=htmllt;pgt;amp;nbsp;lt;/pgt; lt;pgt;a paragraphlt;/pgt; lt;pgt;amp;nbsp;lt;/pgt/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 ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 984575] Re: Leap2A importer: improve robustness of content importing
I have done several tests for this patch. However, it did not work as expected. Some child HTML tags of content tag did not import such as p, a, img, table, ol, and ul. See my import file in the attached file?field.comment=I have done several tests for this patch. However, it did not work as expected. Some child HTML tags of content tag did not import such as p, a, img, table, ol, and ul. See my import file in the attached file ** Attachment added: importLeap2A.zip https://bugs.launchpad.net/mahara/+bug/984575/+attachment/3308334/+files/importLeap2A.zip -- 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: In Progress 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=htmllt;pgt;amp;nbsp;lt;/pgt; lt;pgt;a paragraphlt;/pgt; lt;pgt;amp;nbsp;lt;/pgt/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 ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 984575] Re: Leap2A importer: improve robustness of content importing
It's actually https://reviews.mahara.org/#/c/1162/ -- 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: In Progress 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=htmllt;pgt;amp;nbsp;lt;/pgt; lt;pgt;a paragraphlt;/pgt; lt;pgt;amp;nbsp;lt;/pgt/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 ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 984575] Re: Leap2A importer: improve robustness of content importing
https://reviews.mahara.org/1299 -- 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: In Progress 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=htmllt;pgt;amp;nbsp;lt;/pgt; lt;pgt;a paragraphlt;/pgt; lt;pgt;amp;nbsp;lt;/pgt/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 ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 984575] Re: Leap2A importer: improve robustness of content importing
** Patch added: improve-importer-robustness.patch https://bugs.launchpad.net/bugs/984575/+attachment/3087498/+files/improve-importer-robustness.patch -- 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=htmllt;pgt;amp;nbsp;lt;/pgt; lt;pgt;a paragraphlt;/pgt; lt;pgt;amp;nbsp;lt;/pgt/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 ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 984575] Re: Leap2A importer: improve robustness of content importing
** Changed in: mahara Status: New = In Progress ** Changed in: mahara Importance: Undecided = Medium ** Changed in: mahara Milestone: None = 1.6.0 ** Changed in: mahara Assignee: (unassigned) = Nigel McNie (nigel-mcnie) -- 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: In Progress 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=htmllt;pgt;amp;nbsp;lt;/pgt; lt;pgt;a paragraphlt;/pgt; lt;pgt;amp;nbsp;lt;/pgt/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 ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp