Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Ensure install wizard passes in common scenarios #12778

Merged
merged 3 commits into from
Apr 19, 2019

Conversation

dcramer
Copy link
Member

@dcramer dcramer commented Apr 14, 2019

This patches around a few issues with how options are inferred in the frontend to trigger the setup wizard.

We likely need to do more work to make this correct, but this will at least solve the current state of the world.

@dcramer dcramer changed the base branch from master to releases/9.1.x April 14, 2019 17:48
if (
option.value !== undefined &&
option.value !== undefined && option.value !== "" && option.value !== null &&
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So false and 0 are the only valid falsey values?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I'm not sure - Im not a big fan of the way this works (the install wizard options, forms used here), but its very hard to come up with a "correct" approach that could be achieved in an afternoon.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Specifically this behavior happened with mail.username and mail.password - those will no longer force the install wizard to prompt, it was just something I caught in parallel.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants