Author Topic: Case Sensitive Problem with Searches  (Read 218 times)

PeterHeintz

  • EA User
  • **
  • Posts: 549
  • Karma: +37/-14
    • View Profile
Case Sensitive Problem with Searches
« on: October 19, 2017, 10:54:29 pm »
I realized the problem by doing the following:

I had a search let say with name My_search and I wanted to have MY_search
So I copied My_search and named the copy MY_search
However afterwards I found only MY_search in the list when trying to delete My_search.
When trying to assign a search to a Model View I found both
After returning to Model Search, selecting MY_search and pressing delete, My_search was deleted but MY_search was still there.

Well finally what I wanted to achieve at the end, but not what I sad EA to do.
Best regards,

Peter Heintz

qwerty

  • EA Guru
  • *****
  • Posts: 8972
  • Karma: +136/-124
  • I'm no guru at all
    • View Profile
Re: Case Sensitive Problem with Searches
« Reply #1 on: October 19, 2017, 11:05:38 pm »
That probably depends on the case sensitivity of the underlying DB. However, EA should moan if it's going to replace anything with a name that just differs in case.

q.

PeterHeintz

  • EA User
  • **
  • Posts: 549
  • Karma: +37/-14
    • View Profile
Re: Case Sensitive Problem with Searches
« Reply #2 on: October 19, 2017, 11:11:25 pm »
Quote
That probably depends on the case sensitivity of the underlying DB
I do not think so, because in the Model Views dialog I saw both and in fact it is the same DB.
Best regards,

Peter Heintz

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 7752
  • Karma: +165/-21
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Case Sensitive Problem with Searches
« Reply #3 on: October 19, 2017, 11:50:12 pm »
Searches are not stored in the DB but in an xml file in your %appdata%

I think EA's dropdown simply filters out duplicates but does it case insensitive.

If you really need direct control just edit the xml file.

Geert

PeterHeintz

  • EA User
  • **
  • Posts: 549
  • Karma: +37/-14
    • View Profile
Re: Case Sensitive Problem with Searches
« Reply #4 on: October 20, 2017, 12:00:53 am »
I have personally no problem with that issue.
However it is a bug, I reported to Sparx and I typically report the bug here and create a “Sparx Bug Report” linking to that forum issue.
Best regards,

Peter Heintz

PeterHeintz

  • EA User
  • **
  • Posts: 549
  • Karma: +37/-14
    • View Profile
Re: Case Sensitive Problem with Searches
« Reply #5 on: October 24, 2017, 06:04:02 pm »
This is now confirmed to be a bug (with enquiry no 17107268) by Sparx and will be fixed eventually.
Best regards,

Peter Heintz