ICEfaces
  1. ICEfaces
  2. ICE-11165

ace:dateTimeEntry - Date not shown when setting value outside of component

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-4.1.0.GA, EE-3.3.0.GA_P04
    • Fix Version/s: 4.2.BETA, 4.2, EE-3.3.0.GA_P05
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      In this scenario, an ace:dateTimeEntry value is being set by a selection in an ace:simpleSelectOneMenu. When the dateTimeEntry uses renderAsPopup="false" the selected value is not shown on the calendar. If renderAsPopup="true" is used, the value is correctly updates in the date input field.

        Activity

        Hide
        Ken Fyten added a comment -

        Re-opened for console jS errors issue.

        Show
        Ken Fyten added a comment - Re-opened for console jS errors issue.
        Hide
        Arturo Zambrano added a comment -

        r49592, r49593: added check to see if the component is valid before sending the dynamic script to update the date (or time) in the client (4.2 trunk and 3.3 EE maintenance branch)

        Show
        Arturo Zambrano added a comment - r49592, r49593: added check to see if the component is valid before sending the dynamic script to update the date (or time) in the client (4.2 trunk and 3.3 EE maintenance branch)
        Hide
        Liana Munroe added a comment - - edited

        Tested with ICEfaces 4 trunk and ee-3.3.0 maintenance branch r49593, FF 47, Chrome 53, IE 11.
        The js console error can still be reproduced in certain scenarios.

        Uncaught TypeError: Cannot read property 'getDate' of null(…) 
        coalesced.js.jsf?ln=ice.core&dgst=bujbkd:13947 
        

        Scenarios where the console error can be reproduced:
        1.) Use showcase ace:dateTimeEntry >Required Styling demo and open the browser console.
        Remove the date in the Selected Date 2 field and press Submit. The console error will be shown.

        2.) Use showcase ace:dateTimeEntry >Popup demo and open the browser console.
        Remove the date from the field and press Submit. The console error will be shown.

        3.) Use showcase ace:dateTimeEntry >Ajax Submit demo and open the browser console.
        Remove the date from the field and press Enter. The console error will be shown.

        4.) Use showcase ace:dateTimeEntry >label Position demo and open the browser console.
        Remove the date from the field and press Submit. The console error will be shown.

        Show
        Liana Munroe added a comment - - edited Tested with ICEfaces 4 trunk and ee-3.3.0 maintenance branch r49593, FF 47, Chrome 53, IE 11. The js console error can still be reproduced in certain scenarios. Uncaught TypeError: Cannot read property 'getDate' of null (…) coalesced.js.jsf?ln=ice.core&dgst=bujbkd:13947 Scenarios where the console error can be reproduced: 1.) Use showcase ace:dateTimeEntry >Required Styling demo and open the browser console. Remove the date in the Selected Date 2 field and press Submit. The console error will be shown. 2.) Use showcase ace:dateTimeEntry >Popup demo and open the browser console. Remove the date from the field and press Submit. The console error will be shown. 3.) Use showcase ace:dateTimeEntry >Ajax Submit demo and open the browser console. Remove the date from the field and press Enter. The console error will be shown. 4.) Use showcase ace:dateTimeEntry >label Position demo and open the browser console. Remove the date from the field and press Submit. The console error will be shown.
        Hide
        Arturo Zambrano added a comment -

        r49598, r49599: added another check to see if value is blank (4.2 trunk and 3.3 EE maintenance branch)

        Show
        Arturo Zambrano added a comment - r49598, r49599: added another check to see if value is blank (4.2 trunk and 3.3 EE maintenance branch)
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces 4 trunk and ee-3.3.0 maintenance branch r49599, FF 47, Chrome 53, MS edge IE 11, 10, 9, 8, 7.
        JS console error is no longer seen.

        Show
        Liana Munroe added a comment - Verified ICEfaces 4 trunk and ee-3.3.0 maintenance branch r49599, FF 47, Chrome 53, MS edge IE 11, 10, 9, 8, 7. JS console error is no longer seen.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: