slub/dfg-viewer

Support TYPO3 v11

Closed this issue · 4 comments

Now that .presentation got support for TYPO3 v11 we need that support for the dfg-viewer (and your slub_digitalcollections).

I have tried a bit, it could be that the dfgviewer will work without major changes. It seams that the bare viewer is shown correctly:
grafik

But trying to show a document throws an exception:

503
Oops, an error occurred!

Class 'TYPO3\CMS\Frontend\Page\PageRepository' not found | Error thrown in file /var/www/typo3/public/typo3/sysext/core/Classes/Utility/GeneralUtility.php in line 3218

Although I must admit I'm not sure if the problem isn't in .presentation after all. Because I could not test if the presentation viewer could show any documents.

I have made small tests by myself and it looks that this problem is already solved in Kitodo.Presentation so feel free to make PR with your changes.

I've redone my tests, and it looks very good.

There are a few steps needed:

  • DFG-Viewer: Set cms-core to ^11
  • slub-digitalcollections: Set cms-core to ^11
  • After setting TYPO3 up and installing the extensions via composer, the default pages where not shown. I had to do a vendor/bin/typo3cms extension:setup and then create a new page. This way the default page setup was shown again.

I've tested most of what I'm using, and everything worked. I did not test the 3D-Viewer (an instruction is still warmly welcomed). I may do some more tests tomorrow.

System:

  • TYPO3 v11.5.34-dev
  • PHP 7.4.1

For an easy setup you can use my docker: https://github.com/csidirop/kitodo-presentation-docker/tree/typo3v11-test

As soon as the digital collections have been updated , this can get closed.

Digital Collections are updated. I'm closing the issue.