Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-6505

CalendarBasedTimeout needs to trim whitespaces in ScheduleExpression.timezone

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 10.1.0.CR1, 10.1.0.Final
    • 10.0.0.Final
    • EJB
    • None

    Description

      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:

      Unable to find source-code formatter for language: text. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      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).

      Attachments

        Activity

          People

            cfang@redhat.com Cheng Fang
            cfang@redhat.com Cheng Fang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: