Sparx Systems Forum

Enterprise Architect => Suggestions and Requests => Topic started by: Paolo F Cantoni on April 05, 2017, 04:42:40 pm

Title: "Reload Current Package" - Does it reload branch or just package?
Post by: Paolo F Cantoni on April 05, 2017, 04:42:40 pm
"Reload Current Package" appears to only reload the current package (that is, to the one level).  It would be useful to also have a "Reload Current Branch" command to reload the package and all its descendants.

Reported,
Paolo
Title: Re: "Reload Current Package" - Does it reload branch or just package?
Post by: VKN on April 05, 2017, 05:49:44 pm
"Reload Current Package" = "Reload Current Branch"
This can be checked by opening a model using two instances of EA and make changes to the sub-packages using one instance then reload the top level package in the other.
Title: Re: "Reload Current Package" - Does it reload branch or just package?
Post by: Paolo F Cantoni on April 06, 2017, 09:38:29 am
"Reload Current Package" = "Reload Current Branch"
This can be checked by opening a model using two instances of EA and make changes to the sub-packages using one instance then reload the top level package in the other.
Hi VKN, 

Thanks for that, but my scenario is different.  We make changes to the underlying repository using (say SQL) and then reload the current package.  It doesn't seem to load the sub-packages, possibly because the "package changed" marker isn't set (such as through the UI - and possibly the API)

Paolo
Title: Re: "Reload Current Package" - Does it reload branch or just package?
Post by: VKN on April 06, 2017, 10:01:47 am
We make changes to the underlying repository using (say SQL) and then reload the current package.  It doesn't seem to load the sub-packages
For the sake of testing, you may want to just add/delete an element (through SQL) then reload.
, possibly because the "package changed" marker isn't set (such as through the UI - and possibly the API)
When the reload command is issued, it doesn't need to bother about the 'dirty' check.
Title: Re: "Reload Current Package" - Does it reload branch or just package?
Post by: Paolo F Cantoni on April 06, 2017, 05:54:20 pm
Our scenario was slightly different - just changing some names etc. not adding/deleting.  However, more careful testing across two machines confirmed that the "Reload Current Package" will "Reload Current Branch".

My Bad...

Paolo