Bug #8508

$options is sometimes undefined when rendering EAD, crashes AtoM

Added by Mike Gale almost 7 years ago. Updated almost 7 years ago.

Status:VerifiedStart date:06/02/2015
Priority:MediumDue 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.

0001-Define-options-when-exporting-EAD-via-UI-8508.patch Magnifier (1.75 KB) Mike Gale, 06/02/2015 10:04 PM


Related issues

Blocks Access to Memory (AtoM) - Bug #8475: Nested EAD elements in <physdesc> should not be escaped Verified 05/22/2015

History

#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

Also available in: Atom PDF