Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2077

Bug in CayenneRuntimeException using wrong specified string in Formatter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.M4
    • None
    • None
    • None

    Description

      INFO: Exception processing message org.apache.cayenne.remote.QueryMessage of type Query
      java.util.UnknownFormatConversionException: Conversion = '"'
      at java.util.Formatter.checkText(Formatter.java:2579)
      at java.util.Formatter.parse(Formatter.java:2565)
      at java.util.Formatter.format(Formatter.java:2501)
      at java.util.Formatter.format(Formatter.java:2455)
      at java.lang.String.format(String.java:2928)
      at org.apache.cayenne.access.ClientServerChannelQueryAction.interceptSinglePageQuery(ClientServerChannelQueryAction.java:99)
      at org.apache.cayenne.access.ClientServerChannelQueryAction.execute(ClientServerChannelQueryAction.java:64)
      at org.apache.cayenne.access.ClientServerChannel.onQuery(ClientServerChannel.java:51)
      at org.apache.cayenne.remote.service.DispatchHelper.dispatch(DispatchHelper.java:39)
      at org.apache.cayenne.remote.service.BaseRemoteService.processMessage(BaseRemoteService.java:135)
      at org.apache.cayenne.rop.ROPServlet.doPost(ROPServlet.java:122)

      invalid format specifiers
      String.format(messageFormat, messageArgs)
      For example , Painting/name likeIgnoreCase "gi%"/l2 can't be used as messageFormat

      Attachments

        Issue Links

          Activity

            People

              ntimofeev Nikita Timofeev
              ollybondareva Olga Bondareva
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m