[PATCH conductor 0/1] #796800 - Outlines without Zones

Matt Wagner matt.wagner at redhat.com
Mon Feb 27 22:37:02 UTC 2012


Hi all,

This is a relatively simple fix for #796800. It was observed that attempting to implement an Image (Component Outline) into an Environment (Cloud) would fail if the Environment (Cloud) had no Pools (Zones).

This is more or less by design, since images are now scoped to... those things. However, status quo leads to a bad user experience.

This patch merely hides the links to the new image / import image pages (and do the environment details page) for environments with no pools (clouds with no zones). I started to try to protect the controller methods, but it's not terribly clear to me (a) how you'd get to them short of hacking the URL, and (b) what we should actually do in that case, so for now I have not done that. (It also didn't feel like it was worth having new strings translated for an edge case you can't reach unless you hack the URL.)

This broke a couple of tests, which I have fixed in this patch as well.

-- Matt



More information about the aeolus-devel mailing list