c# - Update step in scenario in Add-in for Enterprise Architect -


i want update field "results" (ui) 1 of scenario steps defined element, not working. method "update()" (api) updated filed "results" instead "result". value "result" (database, t_objectscenarios.xmlcontent=>result) shown in ui. true? way updated field "results" (ui) using api?

                        foreach (ea.idualscenario es in element.scenarios)                         {                             foreach (ea.idualscenariostep ess in es.steps)                             {                                 if (ess.name.trim().length == 0 &&                                     ess.uses.trim().length == 0 &&                                     ess.results.trim().length == 0                                     )                                 {                                     ess.name = "test_name";                                     ess.uses = "test_uses";                                     ess.results = "test_results";                                      ess.update();                                 }                             }                             es.update();                         }                         element.update(); 

you're using ea version that's more 2 years (and 2 major versions) out of date. behavior in question confirmed bug, fixed in version 10.0.1005.

sparx systems don't release bug fixes old versions (unless you're on sort of special support plan i'm unaware of) you'll need upgrade. news ea eminently backwards-compatible, shouldn't have problems.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -