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

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

Merged
merged 4 commits into from
Jul 1, 2024

Conversation

alongosz
Copy link
Member

@alongosz alongosz commented Jun 27, 2024

🎫 Issue IBX-8452

Related PRs:

Description:

This is a back-port of #360 to v4.6.

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.

For QA:

See steps to reproduce in the JIRA issue.

Regression run: ibexa/commerce#897

Documentation:

No doc needed.

Copy link

sonarcloud bot commented Jun 27, 2024

@alongosz alongosz requested a review from a team June 27, 2024 15:09
@konradoboza konradoboza requested a review from a team June 28, 2024 06:12
@alongosz alongosz merged commit 2069cc3 into 4.6 Jul 1, 2024
22 checks passed
@alongosz alongosz deleted the ibx-8452-fix-plural-translatable-to-string branch July 1, 2024 11:30
@alongosz
Copy link
Member Author

alongosz commented Jul 1, 2024

Regressions passed. No QA needed after all. Merged per @adamwojs request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants