← Back to team overview

mahara-contributors team mailing list archive

[Bug 1999344] Re: Portfolio import error

 

Note: Once we figure out why it's not liking the URL because changing it
back to just http://terms.leapspecs.org didn't resolve the issue, we may
still need to revert to that defunct URL because all exports will have
that. We'll need to consider what happens with portfolios from older
versions.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1999344

Title:
  Portfolio import error

Status in Mahara:
  Confirmed
Status in Mahara 22.10 series:
  Confirmed
Status in Mahara 23.04 series:
  Confirmed

Bug description:
  On Mahara 22.10 and main portfolio imports fail due to this error
  message:

  [WAR] 47 (artefact/internal/import/leap/lib.php:451) Undefined index: https://web.archive.org/web/20100503000634/http://terms.leapspecs.org
  Call stack (most recent first):

      log_message("Undefined index: https://web.archive.org/web/20100...";, 8, true, true, "/home/kristina/code/mahara/htdocs/artefact/interna...", 451) at /home/kristina/code/mahara/htdocs/lib/errors.php:514
      error(8, "Undefined index: https://web.archive.org/web/20100...";, "/home/kristina/code/mahara/htdocs/artefact/interna...", 451, array(size 3)) at /home/kristina/code/mahara/htdocs/artefact/internal/import/leap/lib.php:451
      LeapImportInternal::import_author_data(object(PluginImportLeap), false) at /home/kristina/code/mahara/htdocs/lib/mahara.php:1943
      call_static_method("LeapImportInternal", "import_author_data", object(PluginImportLeap), false) at /home/kristina/code/mahara/htdocs/import/leap/lib.php:892
      PluginImportLeap->import_from_load_mapping() at /home/kristina/code/mahara/htdocs/import/leap/lib.php:368
      PluginImportLeap->process() at /home/kristina/code/mahara/htdocs/admin/users/add.php:345
      adduser_submit(object(Pieform), array(size 26)) at /home/kristina/code/mahara/htdocs/lib/pieforms/pieform.php:563
      Pieform->__construct(array(size 8)) at /home/kristina/code/mahara/htdocs/lib/pieforms/pieform.php:159
      Pieform::process(array(size 8)) at /home/kristina/code/mahara/htdocs/lib/mahara.php:5787
      pieform(array(size 8)) at /home/kristina/code/mahara/htdocs/admin/users/add.php:154


  To replicate:

  1. Create a portfolio with a text and an image block.
  2. Submit the portfolio to a group that allows archiving.
  3. Release the portfolio and archive it (run the cron job).
  4. Create a new account with the resulting archive file.

  Results:
  - Expected: New account is created and page is available.
  - Actual: Account is created but page is not there.

  The same happens when you import the portfolio into an existing
  account: The page doesn't come along.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1999344/+subscriptions



References