Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-5039

Date selection doesn't work when the locale different than EN and a the date pattern show name of months

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jBPM 6.4.0.CR1
    • Fix Version/s: 7.0.0.Beta1
    • Component/s: Console
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      1. Configure the date "dd/MMM/yyyy
      2. Set the locale to a different one than EN
      2. Access to create a new task for example.
      3. Select the date picker.
      Current results

      • The date picker is shown in English
      • When you select a date, the textbox is empty
        Expected results
      • Date Picker shown in the selected locale
      • When you select a date, the textbox has to contain the selected date with the name of month in the current locale.
      Show
      1. Configure the date "dd/MMM/yyyy 2. Set the locale to a different one than EN 2. Access to create a new task for example. 3. Select the date picker. Current results The date picker is shown in English When you select a date, the textbox is empty Expected results Date Picker shown in the selected locale When you select a date, the textbox has to contain the selected date with the name of month in the current locale.
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      There is a problem with the datePicker using formats that include the name of the moth in different locale(MMM or MMMM in the pattern). Is needed change the datepicker language to make the component able to understand the date selected and to be consistent with the UI.
      Even the datepicker can be well configured with the specific language DatePickerLanguage.PT_BR, DatePickerLanguage.ES,.. I found incompatibility with the naming of the months in ES and DE between DatePicker DatePickerClientBundle and the DateTimeFormatInfo .
      I think this a cross platform problem shared with all the components that use the uberfire datepicker.
      Now when a date pattern is configured to show the name of the moth, the date selector doesn't work when you change the locale.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                nmirasch Neus Miras Chueca
                Reporter:
                nmirasch Neus Miras Chueca
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: