Skip to content

[BUGFIX] Adjust holder metadata assignment - #2194

Merged
sebastian-meyer merged 2 commits into
kitodo:mainfrom
beatrycze-volk:holder
Oct 9, 2026
Merged

sebastian-meyer merged 2 commits into
kitodo:mainfrom
beatrycze-volk:holder

Conversation

@beatrycze-volk

Copy link
Copy Markdown
Collaborator

Removes a redundant intermediate variable for the holder name and an unnecessary (string) cast for the URI value. The name property can directly reference the existing metadata value, and the URI value is already a string or stringable.

Bugfix for
Core: Error handler (FE): PHP Warning: Undefined array key 0 in /var/www/webroot/releases/30/vendor/kitodo/presentation/Classes/Format/Mods.php line 275

Removes a redundant intermediate variable for the holder name and an
unnecessary (string) cast for the URI value. The `name` property can
directly reference the existing metadata value, and the URI value is
already a string or stringable.
@beatrycze-volk beatrycze-volk self-assigned this Oct 6, 2026
@beatrycze-volk beatrycze-volk added the ☇ bug A non-security related bug. label Oct 6, 2026
@sebastian-meyer
sebastian-meyer merged commit e5f1cb8 into kitodo:main Oct 9, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

☇ bug A non-security related bug.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants