When use the @CreditCardNumber, output the WARN log

Description

When specify the invalid credit card number, following warn log has been outputted.

[Stack Trace]

[ValidationMessages.properties in jar file (default)]

Environment

OS : Mac
Java : 8.0.25
ApplicationServer : Apache Tomcat 7.0.55(EL 2.2)

Activity

Show:
Kazuki Shimizu
November 27, 2014, 10:18 AM

Thank you for answer.

I will wait for the backport to 5.1.x line

Kazuki Shimizu
November 27, 2014, 10:47 AM

Incidentally...
If possible, i want to know the release planning date of 5.1.x line.

Hardy Ferentschik
December 1, 2014, 10:19 PM

If possible, i want to know the release planning date of 5.1.x line.

5.1 is really in maintenance mode. Right now there are not concrete plans to do another release. In your particular case there is an easy workaround by the way. Just add your own ValidationMessages.properties file to the root of your application/jar. In there you can fix the problematic messages by replacing value with validatedValue. You don't have to add all messages, just the ones you want to fix / are interested in. If a given message key is not found in the uyser specified bundle, Validator will always fall back to the built-in messages.

Kazuki Shimizu
December 2, 2014, 2:53 AM

Thanks for your answer.

> In your particular case there is an easy workaround by the way.
I understand it. Currently, i have applied the workaround

Gunnar Morling
January 14, 2016, 6:47 PM

Going to close this one; At this point I don't expect any further 5.1 community release and there is a usable work-around.

Won't Fix

Assignee

Unassigned

Reporter

Kazuki Shimizu

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Affects versions

Priority

Minor