Book a Demo

Author Topic: EA16.1 (1622) bug with a model branch copy/paste  (Read 3148 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
EA16.1 (1622) bug with a model branch copy/paste
« on: December 13, 2022, 08:13:30 pm »
Hello,

I have a package with a project template i.e. a predefined package structure with diagrams.
If I duplicate this package branch (Copy Full Structure for duplication, and  Paste to a target package), I get a very weird result: all packages are empty and the tree structure is lost i.e. all packages are within the selected target package.
Note that this happens with packages that in a readonly mode (set via the API with Package.SetReadOnly) on a database via the Pro Cloud Server. (v4.1.44). It works if I remove the readonly mode or with a direct connection to Postgres.

This happens with EA16.1 (it works with EA 15.1) + PCS 4.1.44 and also with 4.2.66.

Update: I tested EA 16.1 with the PCS 5.1 and it worked ok. It should be consistent with the following PCS 5.0 release notes: "The /pbstructure/ and /pbstructure/descendanthierarchy/ calls for Packages now specifies if each descendant package has nested packages"




« Last Edit: December 14, 2022, 01:05:22 am by Guillaume »
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com