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

No language set for rss feed with 10.4LTS #203

Closed
2 of 4 tasks
dominikdoerr opened this issue May 19, 2021 · 1 comment
Closed
2 of 4 tasks

No language set for rss feed with 10.4LTS #203

dominikdoerr opened this issue May 19, 2021 · 1 comment

Comments

@dominikdoerr
Copy link
Contributor

Bug Report

Prerequisites

  • Can you reproduce the problem on TYPO3 v9.5 LTS
  • Can you reproduce the problem on TYPO3 v10.4 LTS
  • Can you reproduce the problem on TYPO3 v11.x
  • Did you perform a cursory search to see if your bug or feature is already reported?

Description

On a newly integrated blog extension into an existing site the generated rss feed does not validate successfully. The reason for that is an empty "language" tag which should have been set to the current language. I can observe this on the typo3.com website feed as well (emtpy language tag here too).

I suspect this results in a usage of getTypoScriptFontendController()->sys_language_isocode (PostController::132), which returns nothing.

Steps to Reproduce

  1. Integrated the blog according to the manual steps from the documentation.
  2. Created a few blog posts.
  3. Viewed the feed both with configured RouteEnhancer and directly through ?type=200.
  4. Validated with https://validator.w3.org/feed/

Expected behavior: The feed sets the "language" tag according to the current language.

Actual behavior: The "language" tag is rendered empty.

Versions

  • TYPO3 10.4.16
  • t3g/blog 10.0.0 and 11.0.x-dev
@dominikdoerr
Copy link
Contributor Author

Closing this issue as I meanwhile have updated to 11LTS and the issue has been fixed there (#199).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant