Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Wrong syntax in constants for partial and layout root path #1310

Closed
kanow opened this issue Jan 21, 2025 · 2 comments
Closed

Wrong syntax in constants for partial and layout root path #1310

kanow opened this issue Jan 21, 2025 · 2 comments

Comments

@kanow
Copy link

kanow commented Jan 21, 2025

The value for key "1" in partial and layout root paths are wrong after the ?? operator.

{$plugin.tx_sfeventmgt.view.partialRootPath ?? sf_event_mgt.view.partialRootPath}

and

{$plugin.tx_sfeventmgt.view.layoutRootPath ?? sf_event_mgt.view.layoutRootPath}

Missing $ at the second constant definition.

This results in an error if the first constant value is defined in TypoScript.
No error if the second is used.

@derhansen
Copy link
Owner

Thanks for your report. The issue has been fixed in version 8.1.1, which has just been published.

@kanow
Copy link
Author

kanow commented Jan 21, 2025

Wow, that was fast :-) I did some other work and had no chance to create a patch. Thx for the update.
Tested. It works fine.

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

No branches or pull requests

2 participants