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

Fix BC break preventing the use of scalar element labels during render #261

Merged
merged 2 commits into from
Jan 11, 2024

Conversation

gsteel
Copy link
Member

@gsteel gsteel commented Jan 11, 2024

Q A
Bugfix yes

Description

#259 introduces a BC break requiring element labels (and select value options) to be string. This patch adds a failing test that passes on previous minors.

@gsteel gsteel added BC Break Bug Something isn't working labels Jan 11, 2024
@Xerkus Xerkus changed the base branch from 3.20.x to 3.19.x January 11, 2024 13:57
@Xerkus Xerkus added this to the 3.19.1 milestone Jan 11, 2024
String is the correct argument type, but it is not possible to implement in the 3.x series

Signed-off-by: George Steel <[email protected]>
@Xerkus
Copy link
Member

Xerkus commented Jan 11, 2024

Can non-string even be translated? I feel non-string label should be returned verbatim.

@gsteel gsteel changed the title Add failing test case for integer element labels Fix BC break preventing the use of scalar element labels during render Jan 11, 2024
@Xerkus Xerkus changed the title Fix BC break preventing the use of scalar element labels during render Restore BC for integer element labels Jan 11, 2024
@Xerkus Xerkus changed the title Restore BC for integer element labels Fix BC break preventing the use of scalar element labels during render Jan 11, 2024
@Xerkus Xerkus merged commit c6f6c68 into laminas:3.19.x Jan 11, 2024
11 checks passed
@gsteel gsteel deleted the Integer-Label-BC-Break branch January 11, 2024 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BC Break Bug Something isn't working Review Needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants