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

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


     [ https://issues.jboss.org/browse/WFLY-6505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cheng Fang reassigned WFLY-6505:
--------------------------------

    Assignee: Cheng Fang


> 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
>            Assignee: 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:
> {code:text}
> 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
> {code}
> 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