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] setDefaultPage() is not called when page parameter is not set #1299

Open
beatrycze-volk opened this issue Aug 14, 2024 · 1 comment
Open
Assignees
Labels
🐛 bug A non-security related bug.

Comments

@beatrycze-volk
Copy link
Collaborator

Description

Kitodo Presentation has a function setDefaultPage() which should handle the cases when URL is passed without page parameter. Currently it does't work and instead of setting default page the application throws multiple errors.

Reproduction

Steps to reproduce the behaviour:

  1. Install TYPO3 11.x with PHP 8.x
  2. Click on link to display document page e.g. https://sachsendigital.ddev.site/werkansicht?tx_dlf[id]=https://digital.slub-dresden.de/data/kitodo/TheDarea_416971482-19060203/TheDarea_416971482-19060203_mets.xml
  3. See error

Expected Behavior

The page parameter should be set to 1 instead of throwing error.

Screenshots and Examples

pagerror1 pagerror2

Environment

  • RDBMS version: MariaDB 10.3
  • TYPO3 version: 11.5.37
  • PHP version: 8.2
@sebastian-meyer sebastian-meyer added the 🐛 bug A non-security related bug. label Aug 14, 2024
@sebastian-meyer
Copy link
Member

Again tagging @chrizzor.

@sebastian-meyer sebastian-meyer changed the title [BUG] Recent adjustments of musical source disable safe checks for cases when page is not defined in request URL [BUG] setDefaultPage() is not called when page parameter is not set Aug 20, 2024
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

3 participants