-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Update 6.x->7.1.0, Typo3 v11.5: dysfunctional blog backend module - type error in logic inside extension #259
Comments
Follow up: In another Typo3 instance of our sites that has a comparable structure and code base the Blog component could be upgraded successfully to v7.1.0, and is working. As that site had been set up later with lessons already learned, for sure we did not need to make and fix certain errors so the database is probably in a cleaner state. We have yet to endeavor further inspection in the differences that may be relevant for this error to occur. We then retried an upgrade again for the site where the backend blog module fails. Unfortunately this was to no avail. |
Hi there and sorry for the late response! Would you please add the related PHP, TYPO3 and extension versions? Thank you!
Is this about issue #219?
Any help in improving the docs would be highly appreciated! Feel free to send an PR!
An error in the BE module should not have any relation to the FE routing configuration. To me, this looks more like an issue with the database or to be more exactly: with the property relations between subscriber and post records. Can you check if there is a post subscriber record without a post relation?
Interesting! Sounds like this is not an issue with the code base but configuration or database content. I assume it might be about missing relations as I explained above. If so, we need to figure out how this happened as we never should have post subscriber records without post relations. |
Inferred from the general PostSubscriber code and the according TCA, in which a foreign_table_where includes a delete=0 condition (which you might want to re-consider), I have made up bare-to-metal SQL queries like this:
Still, after flushing all caches in the Typo3 backend, the error persists. The DB abstraction layers are also included in the flush actions, aren't they? Running PHP 7.4.3, Typo3 11.5.26 and T3ExtBlog 7.1.0 Disclaimer: "Kids do not try that at home!", i.e. do not fiddle with data in the mysql console if there are appropriate means in the Typo3 administrative backend. Unfortunately, comment subscriber records associated to posts with deleted=1 are not displayed in the list module so there was no other way to try that. |
After deleting all comment subscriber records in the List module, the Blog module finally works. Yet, I doubt it can be regarded as the solution, of course. As said, I'd rather advise considering to remove the first AND part in Sorry, I am not sure I can post a PR in near future. |
When entering the backend module "Blog" and selecting the Posts SysFolder in the page-tree, following error shows up.
I (believe at least I) fixed pagination so the extension renders blog pages all fine in the frontend. We followed the, if you don't mind my saying, a bit short and summarizing Upgrade guideline in the documentation (Upgrade to 7.0.0). For sure chances are I have just forgotten something but I fail to deduce from the error what is missing. I tried to check that all blog configuration included in our site package extension is up-to-date, but let's include the relevant YAML code here for the sake of completeness, even if it seems to relate to frontend logic, too:
We use Typo3 in composer mode, if that is relevant in a way.
The text was updated successfully, but these errors were encountered: