Issues

Select view

Select search mode

 

Incorrect variables in the newly added translations

Fixed

Description

Message parameters resolution is failing for the Brazilian Portuguese: some of the constraint's attributes name are present in the final message.

For example, the @Size constraint:

This is probably because the attribute names are translated as well in the pt_BR properties. I suspect that this error was introduced by HV-1651.

Environment

None

Attachments

1

Details

Assignee

Reporter

Bug Testcase Reminder (view)

Bug reports should generally be accompanied by a test case!

Bug Testcase Reminder (edit)

Bug reports should generally be accompanied by a test case!

Participants

Former user
Guillaume Smet

Components

Affects versions

Priority

Created January 30, 2020 at 9:29 PM
Updated December 3, 2024 at 9:34 AM
Resolved March 27, 2020 at 1:02 PM

Activity

Show:

Former userJanuary 31, 2020 at 10:59 PM

I use Open Liberty server. I will wait for the next release. Thanks!

Guillaume SmetJanuary 31, 2020 at 2:03 PM

You can upgrade to 6.1.2.Final, it has been synced to Maven Central.

Guillaume SmetJanuary 31, 2020 at 11:01 AM

I have added a test that checks that everything has been properly interpolated for all the constraints in all the supported languages.

This should avoid these issues in the future.

Thanks a lot for reporting this one, I will release 6.1.2.Final as soon as CI is green.

Former userJanuary 30, 2020 at 10:28 PM

I checked. It was not possible for me to test yet, but after analyzing the pull request content, I believe that the bug has been fixed. Thank you!

Guillaume SmetJanuary 30, 2020 at 10:15 PM

Flag notifications