Bug #8508
$options is sometimes undefined when rendering EAD, crashes AtoM
Status: | Verified | Start date: | 06/02/2015 | |
---|---|---|---|---|
Priority: | Medium | Due date: | ||
Assignee: | Mike Gale | % Done: | 0% | |
Category: | EAD | |||
Target version: | Release 2.2.0 | |||
Google Code Legacy ID: | Tested version: | |||
Sponsored: | No | Requires documentation: |
Description
For whatever reason this crash only showed itself after I tried adding in some other, unrelated code for EAD. The files indexSuccessBody.xml.php and indexSuccessBodyDidElement.xml.php rely on having $options defined for export:bulk CLI options such as --current-level-only and --public. However, the indexSuccess action for exporting EAD from the UI doesn't have $options declared, causing the crash when it hits if statements with $options in them.
Related issues
History
#1 Updated by Mike Gale almost 7 years ago
#2 Updated by Mike Gale almost 7 years ago
- Blocks Bug #8475: Nested EAD elements in <physdesc> should not be escaped added
#3 Updated by José Raddaoui Marín almost 7 years ago
- Status changed from Code Review to In progress
- Assignee changed from José Raddaoui Marín to Mike Gale
Looks good.
#4 Updated by Mike Gale almost 7 years ago
- Status changed from In progress to Verified