MyFaces Extensions Validator
  1. MyFaces Extensions Validator
  2. EXTVAL-124

The message for 'source' target is not correct in the case of DateIsType.same

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.4, 2.0.4
    • Fix Version/s: 2.0.5, 1.2.5
    • Component/s: Property Validation
    • Labels:
      None

      Description

      Using a validation annotation like this:

      @DateIs(type = DateIsType.same, valueOf = "endDate", validationErrorMsgTarget = MessageTarget.source)

      results in an error message that contains the text 'before'
      Date has to be before

      {0}

        Activity

        Rudy De Busscher created issue -
        Rudy De Busscher made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.0.5 [ 12315563 ]
        Fix Version/s 1.2.5 [ 12315562 ]
        Resolution Fixed [ 1 ]
        Gerhard Petracek made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Rudy De Busscher [ rdebusscher ]

          People

          • Assignee:
            Rudy De Busscher
            Reporter:
            Rudy De Busscher
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development