kitodo / kitodo-presentation

Kitodo.Presentation is a feature-rich framework for building a METS- or IIIF-based digital library. It is part of the Kitodo Digital Library Suite.
https://kitodo.github.io/kitodo-presentation/
GNU General Public License v3.0
39 stars 45 forks source link

[BUG] Issues after merging #885 #1029

Closed sebastian-meyer closed 10 months ago

sebastian-meyer commented 1 year ago

Tests under TYPO3 v10 with our DFG-Viewer:

Tests under TYPO3 v11:

Originally posted by @csidirop in https://github.com/kitodo/kitodo-presentation/issues/885#issuecomment-1737628226

beatrycze-volk commented 1 year ago
  • The image manipulation tools are missing: (dfg-viewer issue?)

https://github.com/slub/dfg-viewer/pull/235 needs to be merged to DFG-Viewer before toolbox will work again.

csidirop commented 1 year ago

slub/dfg-viewer#235 needs to be merged to DFG-Viewer before toolbox will work again.

Oh right, that was the same issue like the fulltext button.

csidirop commented 1 year ago

Can anyone else reproduce this?

csidirop commented 1 year ago

Did a quick test with the current state. All issues (except the toolbox) are still present for me.

Is this just me? Are some of them dfg-viewer related? Can you please verify this behaviour?!

System:

Not tested for TYPO3 v11.

csidirop commented 1 year ago
* Everything search related is still not working. See my comment from [24 feb](https://github.com/kitodo/kitodo-presentation/pull/885#issuecomment-1443367080). Is it just me?

@BFallert may found a reason for this behaviour. There is a wrong call in https://github.com/slub/slub_digitalcollections/blob/master/Resources/Private/Plugins/SingleCollection/Templates/Show.html#L24 . I believe this was not updated after the pagination update in .presentation.

Changing widgetPage to pagination fixes the error partially: grafik

But there is an other issue which we will be documenting asap.

csidirop commented 1 year ago

After a bit more digging I found following. As you know there are two ways to set up your search pages:

  1. Adding a Kitodo: Search-element and referencing the page with the Kitodo: Pageview-element (or DFG-Viewer) or
  2. Adding a Kitodo: Search-element and referencing the page with the Kitodo: List View-element which then needs a reference to the Kitodo: Pageview-element

I'm using the first "short" way. Which produces the -24 bis 0-error. The second way not!

Looking bit deeper into it we found that there is the pagination variable missing. As you can see in following debug dumps: Second way: grafik

First way: grafik

In fact not only pagination is missing, also paginator , extendedSlotCount and extendedFields (there are more differences).

csidirop commented 10 months ago

I believe that all the errors I reported have now been resolved. I will test again next week for TYPO3 v11, but then create separate issues.

@sebastian-meyer can be closed i think