Skip to content

Fix warnings in EAD XML exports#2315

Merged
anvit merged 2 commits intoartefactual:qa/2.xfrom
danloveg:dev/issue-2269-ead-xml-warnings
Apr 15, 2026
Merged

Fix warnings in EAD XML exports#2315
anvit merged 2 commits intoartefactual:qa/2.xfrom
danloveg:dev/issue-2269-ead-xml-warnings

Conversation

@danloveg
Copy link
Copy Markdown
Contributor

Closes #2269

Adds two variables referenced in XML templates and coalesces null strings to '' in strlen() calls to fix large amount of warnings when running XML exports.

I didn't fix the warning mentioned in the issue in BaseEvent.model.php because that felt like a separate issue. I think #1957 might be a better issue to address that since the strlen() call in that example sits within a call_user_func_array. I can address that in this pull request though if needed.

@sarah-mason sarah-mason added the Community Pull requests that have been contributed from community members outside Artefactual label Mar 19, 2026
Copy link
Copy Markdown
Contributor

@melaniekung melaniekung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @danloveg !

@anvit anvit merged commit 01d9a51 into artefactual:qa/2.x Apr 15, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Community Pull requests that have been contributed from community members outside Artefactual

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problem: EAD Export PHP Warnings Spewing Logs

4 participants