← Back to team overview

mahara-contributors team mailing list archive

[Bug 1788092] Re: unable to import a portfolio with images in the description

 

** Summary changed:

- unable to import a portfolio with images in the comments
+ unable to import a portfolio with images in the description

** Description changed:

  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
+  - create a portfolio page
+  - adit the description of the pageand add 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.

** Changed in: mahara
       Status: Confirmed => In Progress

-- 
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 description

Status in Mahara:
  In Progress

Bug description:
  This happens on master branch.

  How to test

   - create a portfolio page
   - adit the description of the pageand add 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