-
Bug
-
Resolution: Done
-
Minor
-
7.4.10.GA
-
None
-
False
-
None
-
False
-
-
-
-
-
-
?
-
- Add JAVA_OPTS="$JAVA_OPTS -Duser.language=fr" to jboss-eap-7.4/bin/standalone.sh
- deploy ejb-timer.war from quickstart
- Check the log
-
-
The French translation of the message with WLFYEJB0330 is the opposite of the original English - the timer HAS expired. This makes associated stack traces confusing if logging is localized.
Example:
ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool – 223) WFLYCTL0013: The operation ("cancel") has failed - address : ([ ("deployment" => "example.war"), ("subsystem" => "ejb3"), ("singleton-bean" => "EJBTimerScheduler"), ("service" => "timer-service"), ("timer" => "8f95c0d7-f155-43ed-ba7b-da1d1841a1f1") ]): javax.ejb.NoSuchObjectLocalException: WFLYEJB0330: La minuterie n'a pas expiré at org.jboss.as.ejb3.timerservice.TimerImpl.assertTimerState(TimerImpl.java:461) at org.jboss.as.ejb3.timerservice.TimerServiceImpl.cancelTimer(TimerServiceImpl.java:641) at org.jboss.as.ejb3.timerservice.TimerImpl.cancel(TimerImpl.java:157) [...]
The non-localized source message is the exact opposite:
/** * Creates an exception indicating the Timer has expired * * @return an \{@link NoSuchObjectLocalException}for the error. */ @Message(id = 330, value = "Timer has expired") NoSuchObjectLocalException timerHasExpired();
Trace and code above are from JBoss EAP 7.2.9 / Wildfly 14.0.0, but the issue is unresolved in EAP 7.4:
# Id: 330 # Message: Timer %s has expired # @param 1: id - timerHasExpired=La minuterie %1$s n'a pas expir\u00E9
- is cloned by
-
JBEAP-24987 [GSS](8.0.0) French translation bug in WLFYEJB0330 message: timer has expired != La minuterie n'a pas expiré
- Closed