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

[BUGFIX] explicitly check if the colPos value is inside an array #75

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lukasniestroj
Copy link

I encountered this issue with typo3/cms-core:10.4 and gridelements:^10.

Scenario:
I have a backendlayout with restrictions on colPos "0" in my backendlayout. (allowed { CType = text,html } } )
In addition i have a simple gridelement with another restriction (allowed { CType = image } } )
Gridelements passes "-1" as colPos value but this value is parsed as "0" -> this results in wrong restrictions.
The dropdown has text, html (wrong) and not image (expected)

@tlueder
Copy link

tlueder commented Dec 15, 2021

I'm having the same problem.

Setup:
Typo3 v11.5.4 in Debug mode
php 8.0

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

Successfully merging this pull request may close these issues.

None yet

2 participants