Book a Demo

Author Topic: Edit a glossary item  (Read 4282 times)

Doug Blake

  • EA User
  • **
  • Posts: 102
  • Karma: +0/-0
    • View Profile
Edit a glossary item
« on: December 06, 2012, 10:40:00 pm »
I have what seems to be a bug and I wondered what others thought before I report it.

I have a glossary item with a spelling mistake so in the glossary pane, I right mouse click the item and choose "Modify selected ...". The dialogue box comes up to edit the item and when I click Apply or OK I get the warning that "Duplicate primary key not allowed." The dialogues close and the edit is not performed.

Any ideas, am I doing something wrong?
DGB Using 12.0.1214 / eaDocX 3.6.2.1 / MSSQL / TFS / Windows 7 / IE11

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Edit a glossary item
« Reply #1 on: December 07, 2012, 04:34:10 am »
The duplicate is obviously checked in EA's guts where it should be done at user level. Have you checked whether the corrected value already exists in the glossary?

q.

kepNCI

  • EA User
  • **
  • Posts: 127
  • Karma: +1/-0
    • View Profile
Re: Edit a glossary item
« Reply #2 on: December 07, 2012, 04:50:22 am »
Doug:
I am not able to create your scenario, that is, I do not know what you are right clicking to get a selection to modify your glossary.

You should be able to change a glossary defintiion by:
- Go to Project/Documentation/Glossary...
- Find your term (note that the items are sorted by Type, Term. It might be easier to find your term, if you click on the Term heading to sort by Term instead of Type.)
- When you make an update in the Description, it will enable the Save button. Once you make the update, just click Save.

If you are updating the name of the Term, then clicking Save will actually create a new glossary item. You then will have to delete the old (misspelled term).

Another perculiarity is that if you are just changing the case of an existing Term (e.g.  "AAA" to "Aaa"), you will get a duplicate key error. The workaround I use would be to  Change "AAA" to "Aaa.", which creates a new item, delete the old "AAA" term and then change the new term from "Aaa." to "Aaa".

Hope this addresses or at least helps your issue.
Karl

NOTE: Within the EA glossary, you are not allowed to enter the same Term value duplicate times. Thus if you have multiple definitions/descriptions for the same term, you must enter them all under the same Term item.  

Doug Blake

  • EA User
  • **
  • Posts: 102
  • Karma: +0/-0
    • View Profile
Re: Edit a glossary item
« Reply #3 on: December 08, 2012, 01:21:34 am »
Yes, I think I might have misled you slightly, the spelling mistake is purely a matter of lower case to upper case in the item name, so it seems that even though I used the modify link to get to the edit dialogue, EA is trying to create a new item with the same (apart from the case) name.
DGB Using 12.0.1214 / eaDocX 3.6.2.1 / MSSQL / TFS / Windows 7 / IE11

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Edit a glossary item
« Reply #4 on: December 08, 2012, 02:43:23 am »
Some call it EAUI. Interestingly, if you have a case sensitive RDBMS you won't encounter this.

q.