Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-5380

Odd Behavior in Calendars for java.util.Date fields in Guided Rule Editor

XMLWordPrintable

    • Hide

      Decision Central 7.33.0.Final
      Chrome - Version 81.0.4044.113 (Official Build) (64-bit)
      1. Define a template key on a java.util.Date field
      2. In the 'Data' tab bring up the calendar for that template key
      3. Pick a date from the calendar
      4. Notice that the date that actually appears in the column is not the date that was picked in the calendar

      Show
      Decision Central 7.33.0.Final Chrome - Version 81.0.4044.113 (Official Build) (64-bit) 1. Define a template key on a java.util.Date field 2. In the 'Data' tab bring up the calendar for that template key 3. Pick a date from the calendar 4. Notice that the date that actually appears in the column is not the date that was picked in the calendar
    • NEW
    • NEW

      I am using Decision Central 7.33.0.Final
      Chrome - Version 81.0.4044.113 (Official Build) (64-bit)

      I have a Date field which is templatized in a rule condition in a guided rule template. In the 'Data' tab when I go pick a date for this template key, the column is not showing the date I pick. It shows a date which is one day earlier. For example, if I pick in the calendar May 30th, 2020 the actual column in the 'Data' tab shows 29-May-2020. The 'Source' tab shows the right date though. For a business user it is confusing as they do not see the date they pick in the column.
      I have attached some screen shots here.

        1. After I click on May 30 it Shows May 29th in Column.jpg
          168 kB
          Trisula Siripurapu
        2. Before Selecting May 30 date.jpg
          188 kB
          Trisula Siripurapu
        3. But the Source Tab shows May 30th.jpg
          200 kB
          Trisula Siripurapu

              trikkola Toni Rikkola
              799912 Trisula Siripurapu (Inactive)
              Jozef Marko Jozef Marko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: