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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBX-8452: Fixed string substitution for Plural Value Object when casting to string #360

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

alongosz
Copy link
Member

@alongosz alongosz commented Apr 24, 2024

Warning

Pending 3.3 backport

馃帿 Issue n/a

Description:

When an instance of Plural value object was cast to string, it produced results opposite to the expected. For plural result it used singular message and for singular result - a plural one.

TBD if my assumptions here are correct and if so this needs to be re-targeted to either 3.3 or 4.6

Fixed the issue via a042cf0. The other commits introduce more strictness.

For QA:

TBD if QA is needed / feasible.

@alongosz alongosz added the Bug Something isn't working label Apr 24, 2024
Base automatically changed from fix-missing-translation-cls-stringable to main April 25, 2024 08:09
@alongosz alongosz force-pushed the target-5.0/fix-plural-translatable-to-string branch from 747304d to ed870e1 Compare May 6, 2024 12:27
Copy link

sonarcloud bot commented May 6, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@adamwojs
Copy link
Member

@alongosz Rebase is needed here

@alongosz alongosz force-pushed the target-5.0/fix-plural-translatable-to-string branch from ed870e1 to b356977 Compare June 22, 2024 12:22
Copy link

sonarcloud bot commented Jun 22, 2024

@alongosz alongosz marked this pull request as ready for review June 22, 2024 12:26
@alongosz
Copy link
Member Author

@alongosz Rebase is needed here

Done.
@adamwojs do we want to back-port a042cf0 to 4.6 or even 3.3?

@adamwojs
Copy link
Member

@alongosz It make sense for me.

@alongosz alongosz changed the title Fixed string substitution for Plural Value Object when casting to string IBX-8452: Fixed string substitution for Plural Value Object when casting to string Jun 25, 2024
@alongosz alongosz marked this pull request as draft June 25, 2024 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
4 participants