Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-7261

Datepicker - InputField not properly updated when format is "mm-dd-yy" and input field is bound to a Date

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0-m1
    • Fix Version/s: 2.2.0-m4, 2.2
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-3773Apply the database changes resulting from the doc search date validation fixes to the master DBs
      KULRICE-3780Add another string-to-date format to the master DBs for consistency with the string-to-timestamp formats
      KULRICE-7433Error message generates invalid date format instead of just invalid date.
      KULRICE-12087Create Automated Functional (Smoke) Test for KRAD Labs - Kitchen Sink: Input Fields (2)
      KULRICE-11055DatePatternConstraint and BasicDatePatternConstraint in AttributeDefinition cause validation errors on valid dates
      KULRICE-3700Apply the modifications resulting from the addition of DataDictionarySearchableAttributeTest to the master databases
      KULRICE-9933Document Search Saved Search Date Errors
      KULRICE-12399Unwieldy error message for invalid date in detailed doc search
      KULRICE-7159jscalendar date inputs do not honor DATE_TO_STRING_FORMAT_FOR_USER_INTERFACE
      KULRICE-2914Add system parameters related to date format extraction
    • Rice Module:
      KRAD
    • Application Requirement:
      Rice
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      If you set the datepicker dateFormat option to a value other than the mm/dd/yyyy default, AND the InputField is bound to a Date. The date value is not displayed in the input field after a submit is performed.

      The date may be entered in the input fields, the datepicker recognized the date and the widget is set to the date, the date is properly displayed. All looks ok, prior to submit. But after the submit, the InputField is cleared.

      Works fine if inputField is bound to a String. but not when a Date.

      Only happens when the date format is NOT the default AND the field is bound to a Date.

        Issue Links

          Activity

          Hide
          Jerry Neal (Inactive) added a comment -

          Jeff,

          Please talk with Dan regarding the remaining work on these datapicker Jiras.

          Jerry

          Show
          Jerry Neal (Inactive) added a comment - Jeff, Please talk with Dan regarding the remaining work on these datapicker Jiras. Jerry
          Hide
          Jeff Ruch added a comment -

          jquery datepicker was expecting the mm-dd-yy format. When it didn't get it, the field was left blank. I checked for the condition and then passed the input value as a date into the datepicker.

          Show
          Jeff Ruch added a comment - jquery datepicker was expecting the mm-dd-yy format. When it didn't get it, the field was left blank. I checked for the condition and then passed the input value as a date into the datepicker.

            People

            • Assignee:
              Jeff Ruch
              Reporter:
              Daniel Seibert (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 days
                2d
                Remaining:
                Remaining Estimate - 2 days
                2d
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Structure Helper Panel