Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-1856

Searching in debug pages (repository objects) and special characters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.0 (Newton), 3.1 (Sinan)
    • Fix Version/s: 3.8
    • Component/s: Repository
    • Labels:
    • Git Revision:
      git-v2.3devel-1886-g3a8e87a

      Description

      Trying to search in repository objects - shadow.
      When searching text such as "sprava", all shadows containing this text are displayed.

      When searching text such as "@a", shadows containing "a" (not "@a") are displayed.

      Somewhere some characters are being ignores instead of escaping...

      Quick hibernate trace shows:

      2014-04-23 12:59:22,332 [REPOSITORY] [http-bio-8080-exec-63] TRACE (org.hibernate.type.descriptor.sql.BasicBinder): binding parameter [1] as [VARCHAR] - %a%
      2014-04-23 12:59:22,347 [REPOSITORY] [http-bio-8080-exec-63] TRACE (org.hibernate.type.descriptor.sql.BasicBinder): binding parameter [2] as [VARCHAR] - %a%
      

      while for "sprava":

      2014-04-23 13:02:18,274 [REPOSITORY] [http-bio-8080-exec-59] TRACE (org.hibernate.type.descriptor.sql.BasicBinder): binding parameter [1] as [VARCHAR] - %sprava%
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vix Ivan Noris
                Reporter:
                vix Ivan Noris
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: