EAD import and Export broken in 2.2.x branch
|Assignee:||Misty De Meo||% Done:|
|Target version:||Release 2.2.0|
|Google Code Legacy ID:||Tested version:||2.2|
1) Navigate to a description with children
2) Click export EAD
Resulting error: 500 internal server error - see attached stack trace
3) Try to import an EAD description created in an earlier 2.x version of AtoM - see attached EAD as an example. (This file was tested first on the stable/2.1.x branch to ensure the EAD would import)
Resulting error: 502 Bad Gateway
There have been several changes in the EAD for 2.2 - Misty has made significant changes in #5094, and Mike G has made EAD fixes based on other client projects recently. Any of these might be affecting the import/export, and should be considered when trying to diagnose the issue.
#1 Updated by Dan Gillean over 7 years ago
In case it is of use, I recently tried to do a bulk CLI import on my local install of qa/2.2.x - the attempt failed immediately, with the following error message:
PHP Fatal error: Call to a member function getActor() on a non-object in .../lib/QubitXmlImport.class.php on line 895
#2 Updated by Mike Gale over 7 years ago
This bug was introduced with Misty's fixes for events... see: https://github.com/artefactual/atom/commit/c4dd3a16ea2682534b06b974761f6c8a2607eec4#diff-388a807e866482e6526be428c356959eR877
I don't think it will be a hard fix. I'll probably have time this week to fix it.