Closed (fixed)
Project:
Hosting
Version:
7.x-3.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Jan 2015 at 14:17 UTC
Updated:
3 Sep 2015 at 14:54 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #1
helmo commentedTwo related errors...
On site node edit:
Illegal choice 0 in Encryption key element.On a verify task:
WD node: PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'ssl_key' cannot be null: UPDATE {hosting_ssl_site} SET ssl_enabled=:db_update_placeholder_0, ssl_key=:db_update_placeholder_1 WHERE (vid = :db_condition_placeholder_0) ; Array ( [:db_update_placeholder_0] => 0 [:db_update_placeholder_1] => [:db_condition_placeholder_0] => 4234 ) in hosting_ssl_nodeapi_site_update() (line 288 of /data2/aegir/hostmaster-7.x-3.x-4/profiles/hostmaster/modules/contrib/hosting/web_server/ssl/hosting_ssl.nodeapi.inc).Comment #3
helmo commentedComment #4
ergonlogicI've moved SSL fields into a fieldset, so as not to have them always float to the top of the site form. Also, fields are dependant on the state of other fields, though this is possibly causing some issues with pre-populating the key name field with the site name.
Comment #5
helmo commentedThe wrapper fieldset works OK.
About 'pre-populating the key name field with the site name.' it seems that hosting_ssl_hosting_site_options_alter() is not run.
If I add ?platform=136 (by clicking through a platform page) no platform is pre-selected.
Comment #7
helmo commentedThis patch fixes the "Illegal choice 0 in Encryption key element."
Comment #8
gboudrias commentedI think we need the patch for 3.1.
Comment #9
gboudrias commentedWorks great!
Comment #10
gboudrias commentedNeeds rerolling after the "key disabled" fix.
Comment #12
gboudrias commentedRerolled and pushed to 7.x-3.x.