Portfolio import error

Bug #1999344 reported by Kristina Hoeppner
This bug report is a duplicate of:  Bug #1999608: Leap2A import errors. Edit Remove
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mahara
Confirmed
High
Unassigned
22.10
Confirmed
High
Unassigned
23.04
Confirmed
High
Unassigned

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.

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.