[PATCH] Populate the repo store before changed can ever be called (#994940).

Chris Lumens clumens at redhat.com
Wed Aug 21 20:53:10 UTC 2013


> On kickstart installs, the changed property can be called before there's a
> populated repo store.  That in turn will make changed think that the spoke
> has changed and that the user has removed all kickstart-provided repos from
> the UI.  Then all kickstart repos get thrown out.  This has a lot of side
> effects.
> ---
>  pyanaconda/ui/gui/spokes/source.py | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py
> index 9fb1016..a5f57db 100644
> --- a/pyanaconda/ui/gui/spokes/source.py
> +++ b/pyanaconda/ui/gui/spokes/source.py
> @@ -603,6 +603,8 @@ class SourceSpoke(NormalSpoke):
>          # provided a URL.
>          # FIXME
>  
> +        self._reset_repoStore()
> +
>          self._ready = True
>          hubQ.send_ready(self.__class__.__name__, False)

Given the consequences of this bug, this is RHEL7 material though there
is not currently a bug tracking it.

- Chris


More information about the anaconda-patches mailing list