[jboss-jira] [JBoss JIRA] (WFLY-6505) CalendarBasedTimeout needs to trim whitespaces in ScheduleExpression.timezone

Cheng Fang (JIRA) issues at jboss.org
Fri Apr 8 13:47:00 EDT 2016


Cheng Fang created WFLY-6505:
--------------------------------

             Summary: CalendarBasedTimeout needs to trim whitespaces in ScheduleExpression.timezone
                 Key: WFLY-6505
                 URL: https://issues.jboss.org/browse/WFLY-6505
             Project: WildFly
          Issue Type: Bug
          Components: EJB
    Affects Versions: 10.0.0.Final
            Reporter: Cheng Fang
            Priority: Minor


When creating a calendar-based timer with a timezone id having leading/trailiing whitespaces, the specified timezone is ignored and the system default timezone is used instead.

Although there is a warning, users may not notice it and would still expect the requested timezone to be used.

The logged warning:

13:18:14,259 WARN  [org.jboss.as.ejb3] (default task-42) WFLYEJB0015: Unknown timezone id:
                                            US/Eastern
                                         found in schedule expression. Ignoring it and using server's timezone: America/New_York

The user-provided timezone 'US/Eastern' is a valid timezone (after trimming).



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list