Book a Demo

Author Topic: Issues with updating the tagged values (EA 9.3)  (Read 3337 times)

harvinder

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Issues with updating the tagged values (EA 9.3)
« on: August 21, 2013, 12:41:54 pm »
Hello,

We have an application which reads a configuration file and updates the EA mode (eap file) using the APIs.

myTaggedValue.Value = myAttribute.AttributeGUID.
myTaggedValue.Update();

We noticed that for some taggedValues the values are not getting updated. This behaviour is also very random, if I run the application with the same configuration file repeatedly, some times it succeeds.

Also we have noticed that if I change my configuration file to change an additional taggedValue or any other element of the model. TV's update succeeds.

Am I doing something wrong? Am I suppose to call any other function? I am using 9.3 (version 935).

Thanks
Harvinder

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Issues with updating the tagged values (EA 9.3
« Reply #1 on: August 21, 2013, 06:25:19 pm »
Just t confirm that your approach is correct and you're not doing anything wrong from what can be seen. However, I have no clue what could be the cause. If you're working concurrently without locking that would be an issue. Strange program(ing) behavior also. But that can only be solved by debugging.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Issues with updating the tagged values (EA 9.3
« Reply #2 on: August 26, 2013, 09:17:22 pm »
Harvinder,

Have you tried turning on "show duplicate tags"?
Because it might be that you have multiple tagged values with the same name on the element, but only one of them get shown.
If would be updated a tagged value that is not shown...

Geert