-
1. Re: Archiving a package in guvnor archives the global model?
jmccarter Nov 14, 2012 6:34 PM (in response to rockypulley)We are running into this same problem at a current client. Using Guvnor 5.4.0; the client has fact models defined in the global area as they are used across many packages. If someone archives a package which has imported one of these fact models from the global area, the fact model gets archived as well which breaks any rules in any other packages using this fact model. I noticed that there is a bug reported over a year ago that nobody has commented on: https://issues.jboss.org/browse/GUVNOR-1518
On a related note, I was thinking that if you to "unimport" the model from the package prior to archiving the package that would be a workable workaround, but I haven't been able to find a way to do this. Anyone have any ideas?
-Justin
-
2. Re: Archiving a package in guvnor archives the global model?
rockypulley Nov 14, 2012 7:29 PM (in response to jmccarter)FYI, one way around it is to use the REST API, if you issue an HTTP delete to the package URL then it will remove it without screwing up your global model.
-
3. Re: Archiving a package in guvnor archives the global model?
jmccarter Nov 14, 2012 7:40 PM (in response to rockypulley)Great! Thanks for the info Rocky
-Justin