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

Error in tsconfig read in typo3 12 #33

Open
trickii opened this issue Jul 13, 2023 · 0 comments
Open

Error in tsconfig read in typo3 12 #33

trickii opened this issue Jul 13, 2023 · 0 comments

Comments

@trickii
Copy link

trickii commented Jul 13, 2023

In Typo3 12.4.3, if i want to add a new element to page and this is not a first element, typo3 make this call

/typo3/record/edit?token=ad3829d659d3e3faac41bc881779c5335e5bed0a&edit%5Btt_content%5D%5B-1840%5D=new&returnUrl=/typo3/module/web/layout?token%3D5df17ceb4e320f70764be30b83db25b4bb8d3d13%26id%3D1&defVals%5Btt_content%5D%5BCType%5D=ws_slider&defVals%5Btt_content%5D%5BcolPos%5D=0&defVals%5Btt_content%5D%5Bsys_language_uid%5D=0

And send a negative id = -1840 (or another negative values)

In Eventlistener FlexFormParsingModifyEventListener ws-slider check setting from TsConfig:

$typoscript = TypoScriptService::getTypoScript($row['pid']);

and return a exception, because id is negative.

Could not fetch page data for uid -1840.

Could you please extend this Listener for this case, or a problem is in typo3?

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