Book a Demo

Author Topic: Special chars in Simple model search  (Read 4311 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Special chars in Simple model search
« on: March 25, 2020, 08:44:40 pm »
Hello,

I have Components or other elements in a client's repository which name contains a "#" e.g. Server Bak #1, Server Bak #2
Using the Model Search (simple), I noticed that running a search with the # doesn't work (empty result list).

e.g. Server Bak returns both elements
Server Bak # doesn't return anything
# doesn't return anything either

Is there a workaround to get this to work or is it a "bug"?

Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Special chars in Simple model search
« Reply #1 on: March 25, 2020, 10:14:53 pm »
Just tested it here on a local EAP and have the same effect. Names with # inside are not found. EA bug. Report it of live with it...

q.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Special chars in Simple model search
« Reply #2 on: March 26, 2020, 08:51:39 am »
The search you are using is using contains. Which means a sql lite. You are using an Access DB which includes # as a wildcard for numeric characters. EA apparently isn't escaping that for you.

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: Special chars in Simple model search
« Reply #3 on: March 26, 2020, 08:19:29 pm »
I reported the bug but I can confirm that it only affects EAP/EAPX files (Ms Access). Moving to a Firebird local project for instance fixes the issue.
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com