On Tue, 2012-12-11 at 17:27 -0500, [email protected] wrote: > DTACLOUD-379 using Marios's 409 solution. >
ACK to this; stylistically, the two patches should be squashed into one, since after applying 1/2 triggering this error will cause a server error because of a missing template. Also, the commit message is way too terse; it should contain a sentence on what the problem was (RHEV-M does not allow deletion of templates that are in use) and what the fix was (propagating the error cleanly) Related to this: looking at the XML template for image, we generate links for 'create_instance' and 'delete_image' unconditionally. That probably needs to be changed so we only create links for actions that can currently be performed. David
