mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #49416
[Bug 1788092] Re: unable to import a portfolio with images in the comments
Looks like the export is removing the '/' at the end of some tags,
that's why tags 'img' and 'br' are broken when importing
** Changed in: mahara
Assignee: (unassigned) => Cecilia Vela Gurovic (ceciliavg)
--
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/1788092
Title:
unable to import a portfolio with images in the comments
Status in Mahara:
Confirmed
Bug description:
This happens on master branch.
How to test
- create a portfolio page
- add a comment with an image
- export the page as leap2A
- import it back
Result: there is an error similar to
[INF] 46 (import/index.php:246) Leap2A import failed: FATAL: XML not well formed
Opening and ending tag mismatch: img line 87 and p
Opening and ending tag mismatch: p line 87 and div
Opening and ending tag mismatch: div line 87 and content
Opening and ending tag mismatch: content line 87 and entry
Opening and ending tag mismatch: entry line 80 and feed
Premature end of data in tag feed line 2
Import your portfolio Help
Sorry - the import of your Leap2A file failed.
This could be because you did not select a valid Leap2A file to upload
or because the version of your Leap2A file is not supported by this
Mahara version. Alternatively, there may be a bug in Mahara causing
the import to fail, even though the Leap2A file is valid.
Please go back and try again, and if the problem persists, you may
want to post to the Mahara Forums to ask for help. Be prepared to be
asked for a copy of your file.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1788092/+subscriptions
References