Juju GUI handling of empty config breaks promulgated charms
Merlijn Sebrechts
merlijn.sebrechts at gmail.com
Wed Feb 22 15:45:47 UTC 2017
This - is - awesome !
I guess this hack will still require a rebuild for the affected Charms?
2017-02-22 16:41 GMT+01:00 Stuart Bishop <stuart.bishop at canonical.com>:
> On 21 February 2017 at 16:30, Merlijn Sebrechts
> <merlijn.sebrechts at gmail.com> wrote:
> > Thanks, Stuart!
> >
> > Now I get a different error. It seems that the charm really can't handle
> > null as a string value.
>
> Rather than comb through the charm updating all the call sites, I've
> made a hack to ensure config values never get returned as null. I also
> didn't want to change the style, as the alternative (using
> config.get()) can hide other bugs.
>
> Other charms will have the same problem, so this should certainly be
> fixed in Juju.
>
> --
> Stuart Bishop <stuart.bishop at canonical.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170222/dc14f162/attachment.html>
More information about the Juju
mailing list