Bug 2336488
| Summary: | "Launch storage editor" is greyed out when installer launches, have to proceed to step 2 and return to step 1 before it works | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> |
| Component: | anaconda-webui | Assignee: | Katerina Koukiou <kkoukiou> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | jkonecny, kkoukiou, mkolman, rvykydal |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | anaconda-webui-22-1.fc42 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-01-22 14:52:56 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Tried this instead:
--- a/src/components/app.jsx
+++ b/src/components/app.jsx
@@ -54,7 +54,7 @@ export const ApplicationLoading = () => (
export const Application = ({ conf, dispatch, isFetching, onCritFail, osRelease, reportLinkURL }) => {
const [storeInitialized, setStoreInitialized] = useState(false);
const [showStorage, setShowStorage] = useState(false);
- const [currentStepId, setCurrentStepId] = useState();
+ const [currentStepId, setCurrentStepId] = useState("installation-method");
const address = useAddress();
const { path } = usePageLocation();
it doesn't crash, but also doesn't fix the bug, so I'm a bit stumped.
Upstream fix: https://github.com/rhinstaller/anaconda-webui/pull/602 FEDORA-2025-cd32402343 (anaconda-webui-22-1.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-cd32402343 FEDORA-2025-cd32402343 (anaconda-webui-22-1.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report. |
In current Fedora Rawhide Workstation live, when webui first runs, if you open the kebab menu, the "Launch storage editor" link is greyed out - even though it's supposed to be active from this page ("Installation method"). To get it to activate you have to pick some option and hit Next to reach Storage configuration, then hit Back to get back to Installation method. Now it'll be active. I think this is because nothing does `setCurrentStepId("installation-method");` when the installer first starts up, but I tried this: --- a/src/components/app.jsx +++ b/src/components/app.jsx @@ -86,6 +86,8 @@ export const Application = ({ conf, dispatch, isFetching, onCritFail, osRelease, // On live media rebooting the system will actually shut it off const title = cockpit.format(_("$0 installation"), osRelease.PRETTY_NAME); + // Set initial step ID + setCurrentStepId("installation-method"); return ( <> ...and it seems to make the installer crash, so I don't know the right way to fix this.