-
Notifications
You must be signed in to change notification settings - Fork 25
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
[MAINTENANCE] Update to TYPO3 12 #322
base: master
Are you sure you want to change the base?
Conversation
Related issue: #321. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I could successfully install a local DFG viewer with TYPO3 12 and load some digitized books.
The latest PR code with the latest Kitodo.Presentation (git master) no longer works for me (tested with TYPO3 11). Reverting the last 3 commits (d3d9181) works better, but still produces an "Oops". |
A fresh installation with TYPO3 12, kitodo/presentation dev-master, slub/dfgviewer dev-master + your commits, slub/slub-digitalcollections dev-master + your commits + patch for ext_emconf.php works with Oops:
|
I found some missing parameter checks and updated all branches of the comment #322 (comment). Maybe it would be better if an error hint appeared in the frontend when a parameter is missing to render something. However, that should not be part of this issue. Does it also fix the second error mentioned in #322 (comment)? Cause i didn´t get this error atm. |
I still get an exception for http://localhost:8080/ after updating all three extensions:
The same exception also occurs while viewing a document page. |
Could it be that the exception is related to the Solr search (I don't run a Solr server in my test)? I now disabled TYPO3's Fluid template caching to get a cleaner cache, here partially edited to mark the relevant stack part which starts in SruMiddleware.php:
|
@stweil The problem is due to a missing language. Please add another language to the SiteConfiguration or, in the TypoScript file of your DFG-Viewer Instance, remove the The documentation is not sufficient in this regard and the rollout of the distribution does not yet work 100% (the SiteConfiguration is not created). However, this is not part of the TYPO3 12 update. It did not work before either. |
I had created a site configuration (with en_US.UTF-8) before and now added a 2nd language. I also updated |
Frontend cache and If it still does not work, can you send me your SiteConfiguration? In TYPO3 12 it is located in the installation folder under |
@beatrycze-volk fyi consider changes of PR slub/slub_digitalcollections#94 for testing. |
Could you please rebase the PR to fix the conflicts? I'd like to run a new test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
The latest code now works for me with TYPO3 12. Maybe the number of commits can be reduced by squashing some (or all) of them.
There remain a few warnings in the TYPO3 log (maybe most or even all unrelated to this pull request):
Setting "displayIiifDescription" not set, using default value "1". Probably FlexForm for controller "Kitodo\Dlf\Controller\MetadataController" is not read.
Setting "displayIiifLinks" not set, using default value "1". Probably FlexForm for controller "Kitodo\Dlf\Controller\MetadataController" is not read.
Setting "displayIiifRights" not set, using default value "1". Probably FlexForm for controller "Kitodo\Dlf\Controller\MetadataController" is not read.
Setting "originalIiifMetadata" not set, using default value "0". Probably FlexForm for controller "Kitodo\Dlf\Controller\MetadataController" is not read.
Setting "pageStep" not set, using default value "5". Probably FlexForm for controller "Kitodo\Dlf\Controller\NavigationController" is not read.
Setting "storagePid" not set, using default value "0". Probably FlexForm for controller "Slub\Dfgviewer\Controller\UriController" is not read.
Setting "useInternalProxy" not set, using default value "0". Probably FlexForm for controller "Kitodo\Dlf\Controller\PageViewController" is not read.
I think that is part of the release management when the branch is merged into master. At that point, it should be squashed. Before that, it retains the possibility to revert or analyze the history.
I think it is unrelated. Maybe the log level is too sensitive in AbstractController of Kitodo.Presentation and should be adjusted to A PR for that has been created. kitodo/kitodo-presentation#1376 |
@markusweigelt, could you please rebase your pull request and fix the conflicts? |
The calendar views for newspapers seem to be broken (see #327). |
No description provided.