Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-1544

org.apache.myfaces.custom.date.HtmlDateRenderer.encodeEnd() broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.9
    • 1.1.10
    • Date
    • None

    Description

      the problem is in the decoding of date:

      if (token.startsWith("year="))

      { userData.setYear(token.substring(5)); }

      if (token.startsWith("month="))

      { userData.setYear(token.substring(6)); }

      if (token.startsWith("day="))
      {
      userData.setYear(token.substring(4));
      .....

      userData.setYear() is called for each case, while it should be setMonth(), setDay() and so on.

      Attachments

        Issue Links

          Activity

            People

              lu4242 Leonardo Uribe
              dangi Denis A.
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified