Tapestry
  1. Tapestry
  2. TAPESTRY-851

DatePicker does not error when bound to values of wrong type

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: 4.1.2
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      OSX

      Description

      I mistakenly bound my DatePicker to a java.util.Calendar that was null. No errors or exceptions were thrown. One should add a instanceof test for java.util.Date and throw an IllegalArgumentException if the object is not null and the wrong type.

        Activity

        phillip rhodes created issue -
        Brian K. Wallace made changes -
        Field Original Value New Value
        Component/s Framework [ 11280 ]
        Jesse Kuhnert made changes -
        Fix Version/s 4.1.2 [ 12312202 ]
        Jesse Kuhnert made changes -
        Resolution Invalid [ 6 ]
        Assignee Jesse Kuhnert [ jkuhnert ]
        Status Open [ 1 ] Resolved [ 5 ]
        Mark Thomas made changes -
        Workflow jira [ 12346521 ] Default workflow, editable Closed status [ 12568091 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12568091 ] jira [ 12591187 ]

          People

          • Assignee:
            Jesse Kuhnert
            Reporter:
            phillip rhodes
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development