Cayenne
  1. Cayenne
  2. CAY-1648

[PATCH] ValidationException throws format exception if error message contains percent sign

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1B1
    • Fix Version/s: 3.1B1
    • Component/s: Core Library
    • Labels:

      Description

      ValidationException throws a format exception if the error message contains percent sign because it gets passed to String.format without escaping any literal percent signs. A test case is included that will illustrate the problem.

        Activity

        John Huss created issue -
        John Huss made changes -
        Field Original Value New Value
        Attachment validation_exception_format_patch.txt [ 12508778 ]
        aadamchik committed 1242438 (1 file)
        Reviews: none

        CAY-1648 [PATCH] ValidationException throws format exception if error message contains percent sign

        aadamchik committed 1242443 (2 files)
        Andrus Adamchik made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 3.1M4 [ 12317958 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            John Huss
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 5m
              5m
              Remaining:
              Remaining Estimate - 5m
              5m
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development