Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COThanks, I'll be waiting for some heads up on this.Meanwhile I took time to trace this inside hibernate sources and found the private RegEx pattern constant `ResourceBundleMessageInterpolator.MESSAGE_PARAMETER_PATTERN` is the one causing the problem when is used inside `ResourceBundleMessageInterpolator.interpolateMessage(String message, Context context, Locale locale)`. The pattern `"((\\\\*)\\{[^\\}]+?\\})"` clearly ignores nesting of pairs of curly braces and terminates on first occurrence of a closing curly brace and this is the root of the problem.
      singulars
    2. COI fixed it by changing the patters as `MESSAGE_PARAMETER_PATTERN = Pattern.compile( "((\\\\*)\\{[^\\}\\{]+?\\})" )` and `MESSAGE_EXPRESSION_PATTERN = Pattern.compile( "((\\\\*)\\$?\\{[^\\}\\{]+?\\})" )`. Applying this and rebuilding HV passed all my tests. It would be great if you could evaluate and assert this to be a fix for that issue.
      singulars
    3. COWe'll have first to come up with a conclusion spec-wise whether this form of nesting is supported or not. You might want to track [BVAL-469](https://hibernate.atlassian.net/browse/BVAL-469). For the time being, if you have found a solution which works for you I recommend you move the adapted `ResourceBundleMessageInterpolator` to your own code base and configure the validation engine to use this custom interpolator, either in `META-INF/validation.xml` or when bootstrapping a validator via the API.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload