Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Namespace for DOMXPath missing in MetsDocument #1321

Open
BFallert opened this issue Aug 29, 2024 · 1 comment
Open

[BUG] Namespace for DOMXPath missing in MetsDocument #1321

BFallert opened this issue Aug 29, 2024 · 1 comment
Labels
🐛 bug A non-security related bug.

Comments

@BFallert
Copy link
Collaborator

Description

When I want to save a document in Typo3 BE, I get several error messages. The error message occurs both when I want to save the data record without or with changes.

Each of the two lines is repeated x times:

12 times:
PHP Warning
Core: Error handler (BE): PHP Warning: DOMXPath::evaluate(): Undefined namespace prefix in /var/www/typo3/packages/bfallert/presentation/Classes/Common/MetsDocument.php line 797

6 time:
PHP Warning
Core: Error handler (BE): PHP Warning: DOMXPath::evaluate(): Undefined namespace prefix in /var/www/typo3/packages/bfallert/presentation/Classes/Common/MetsDocument.php line 850

Reproduction

Steps to reproduce the behaviour:

  1. Open Typo3-BE
  2. Select your "Data-Folder"
  3. Select / Click on "List"
  4. Scroll down to "Documents"
  5. Select a document
  6. Click on "edit record"
  7. Click on "Save"
  8. See the error

Expected Behavior

No error message

Screenshots and Examples

image

Environment

  • OS version: Debian GNU/Linux 11 (bullseye)
  • RDBMS version: MySQL 5.5.5-10.5.23-MariaDB-0+deb11u1
  • Apache Solr version: 8.11.2
  • TYPO3 version: 10.4.38
  • PHP version: 7.4.33

Additional Context

Add any other context about the problem here.

@BFallert BFallert changed the title Typo3 BE warning message when saving a document [BUG] Typo3 BE warning message when saving a document Aug 29, 2024
@sebastian-meyer sebastian-meyer added the 🐛 bug A non-security related bug. label Aug 30, 2024
@sebastian-meyer sebastian-meyer changed the title [BUG] Typo3 BE warning message when saving a document [BUG] TYPO3 BE warning message when saving a document Aug 30, 2024
@sebastian-meyer sebastian-meyer changed the title [BUG] TYPO3 BE warning message when saving a document [BUG] Namespace for DOMXpath missing in MetsDocument Aug 30, 2024
@sebastian-meyer sebastian-meyer changed the title [BUG] Namespace for DOMXpath missing in MetsDocument [BUG] Namespace for DOMXPath missing in MetsDocument Aug 30, 2024
@sebastian-meyer
Copy link
Member

Did you change any of the pre-defined metadata mappings?

The error suggest that maybe some mapping is missing a mandatory namespace for an element...

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

No branches or pull requests

2 participants