If the following happens:
- Server does not have SSL enabled
- Platform is created on said server that does not have SSL enabled
- Create a new site and select to enable SSL, and pick the platform on a server that does not have SSL enabled
Upon submission, the error that comes up is, "Please choose a valid profile" and "Please choose a valid platform." These errors are quite ambiguous for the actual problem at hand.
When this situation occurs, the user should understand the problem is related to enabling SSL.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | form_error_message_is-2069431-7.patch | 1.53 KB | helmo |
| #6 | form_error_message_is-2069431-6.patch | 1.49 KB | helmo |
Comments
Comment #1
helmo commentedThe form error has been fixed since ... but it can still be confusing.
A user who 'just' enables the hosting feature 'SSL' could use some extra hints to what the next steps should be ...
Comment #2
helmo commentedI've committed a hook that sets two messages.
See http://cgit.drupalcode.org/hosting/commit/?id=a6496b9
Comment #3
helmo commentedTagging...
Please feel free to re-open if a problem remains ... or if you have a suggestion to improve the messages.
Comment #4
ergonlogicThis is still an issue. It occurs if the SSL Hosting feature is enabled, but no servers provide an ssh http service. It blocks installation of sites, as you cannot submit the form without errors being flagged. The errors are not at all helpful.
Comment #6
helmo commentedHere's an extra patch to show a hint on the site edit form, and hide the bogus "(key deleted)" line on the site view page.
I could not reproduce the original form error, so I assume that's fixed.
Comment #7
helmo commentedOn a site node create form we do not know if the platform that will be selected in on a server with SSL support.
I guess we would have to default to $ssl_available = TRUE;
updated patch.
Comment #8
gboudrias commentedComment #9
helmo commentedno longer applies
Comment #11
helmo commentedI've re-worked it a bit and committed.
Also opened a merge request for the replacement https implementation: https://gitlab.com/aegir/hosting_https/merge_requests/6