Red Hat Bugzilla – Bug 863572
Need to Disable Back/Forward Buttons in Firstboot When We Show the Progress Bar
Last modified: 2013-04-29 10:22:35 EDT
Description of problem:
One thing I noticed while playing around with firstboot is that while in RHEL 5 we properly disable the navigation buttons when we show the progress bar for registering, we do not disable the buttons in RHEL 6. Not sure if firstboot behaves a bit differently between major versions or what, but being able to go backwards while its trying to register creates all sorts of fun and interesting possibilities that break firstboot.
I've managed to get AttributeError: 'NoneType' object has no attribute 'service_level' & TypeError: unsupported operand type(s) for +: 'NoneType' and 'int' (twice)
I'm 3/3 for crashing firstboot when messing with the buttons that should be disabled.
My favorite part is when you let it start registering, go back (which takes you back to choose a server), and then you move forward once or twice, if you pause on those screens, it'll jump you back to the progress bar without any input or even credentials entered, it just picks up where it was before.
Created attachment 622427 [details]
Created attachment 622437 [details]
crash report #1
Created attachment 622438 [details]
crash report #2
*** Bug 874047 has been marked as a duplicate of this bug. ***
I think I see why this doesn't work in rhel6.
We have code in place to grey out those buttons in the right places, but
on 6.4 we are toggling the wrong buttons. We are changing the buttons
that are displayed in the regular registergui gui. But in firstboot,
we hide those buttons and use the firstboot forward/backwards buttons
On 5.9, there is code that updates the references to those buttons, but
that code doesn't get hit in 6.4 (firstboot api changes).
Just need to figure out how to get to the firstboot buttons, and
we can toggle them instead.
Author: Adrian Likins <email@example.com>
Date: Mon Dec 17 12:49:08 2012 -0500
863572: Make forward/back insensitive when registering
When we register in firstboot, and we are showing the
progress bar for each of the async steps, make the
back/forward buttons in the firstboot gui insensitive.
Created attachment 665689 [details]
I cannot replicate this bug when testing the above version. The buttons are now grayed out and unclickable.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.