Activity log for bug #1427162

Date Who What changed Old value New value Message
2015-03-02 11:12:08 Francesco Banconi bug added bug
2015-03-02 11:15:59 Francesco Banconi description The icon and meta information about a local charm not yet included in the charm store are not displayed correctly. To dupe: - juju quickstart an environment; - deploy a local charm not having a counter part in the charm store. This can be done, for instance, by downloading a charm archive from the charm store (https://api.jujucharms.com/charmstore/v4/trusty/mysql/archive) unpacking it in a local repo and contextually renaming it: e.g. ~/cs/trusty/foo. Then change the name of the charm (included in its metadata.yaml) to "foo" and deploy the charm with "juju deploy --repository ~/cs local:trusty/foo; - visit the GUI: the charm icon should be properly displayed in the service block in the canvas; - double click the service block, and note that the default icon is instead displayed in the entity inspector; - also note that the charm panel does not work, and the spinner never goes away. The GUI sends a request to https://manage.jujucharms.com/api/3/charm/trusty/foo-22 which is obviously wrong. The charm info should be retrieved from the Juju API itself for local charms, we cannot assume they exist in the charm store, and we also make sure we no longer connect to the old API 3 one. The icon and meta information about a local charm not yet included in the charm store are not displayed correctly. To dupe: - juju quickstart an environment; - deploy a local charm not having a counter part in the charm store. This can be done, for instance, by downloading a charm archive from the charm store (https://api.jujucharms.com/charmstore/v4/trusty/mysql/archive), unpacking it in a local repo and contextually renaming it: e.g. to ~/cs/trusty/foo. Then change the name of the charm (included in its metadata.yaml) to "foo" and deploy the charm with "juju deploy --repository ~/cs local:trusty/foo; - visit the GUI: the charm icon should be properly displayed in the service block in the canvas; - double click the service block, and note that the default icon is instead displayed in the entity inspector; - also note that the charm panel does not work, and the spinner never goes away. In essence, we need to fix the charm panel and the inspector local charm icon. The GUI sends a request to https://manage.jujucharms.com/api/3/charm/trusty/foo-22 which is obviously wrong. The charm info should be retrieved from the Juju API itself for local charms, as we cannot assume they exist in the charm store. We should also make sure that the GUI no longer connects to the old API v3.
2015-03-04 16:18:19 Jeff Pihach juju-gui: assignee Jeff Pihach (hatch)
2015-03-04 16:18:49 Jeff Pihach juju-gui: status Triaged In Progress
2015-03-05 17:14:30 Jeff Pihach juju-gui: status In Progress Fix Committed
2015-03-19 21:16:58 Richard Harding juju-gui: status Fix Committed Fix Released