Notes |
(0000029)
dhaun (administrator)
2008-04-23 15:50
|
From the code, it looks like it wasn't prepared for arrays of mixed types. An array of all texts works, as do those of all boolean (default permissions, for example).
I guess there isn't much we can do at this time - it'll probably have to wait for after the 1.5.0 release.
Workaround: Use 1 instead of true. |
|
(0000030)
kantai (developer)
2008-04-24 08:59
|
"From the code, it looks like it wasn't prepared for arrays of mixed types. An array of all texts works, as do those of all boolean (default permissions, for example)."
That's correct. |
|
(0000321)
THEMike (developer)
2008-09-14 05:21
|
I think this is a really simple change in the configuration variables table and it will automatically become a drop down. |
|
(0000429)
dhaun (administrator)
2008-11-22 13:34
|
Hey Mike, I don't really see that "really simple change in the configuration variables table". The mail settings are an array of strings, with the exception of the 'auth' flag. The config class can't handle such mixed array currently, from what I can see.
What am I missing? |
|
(0000641)
dhaun (administrator)
2009-04-10 17:40
|
Pushing this back into the Future |
|
(0000680)
dhaun (administrator)
2009-04-19 13:05
|
Mail Settings[backend] should also be a dropdown (smtp, sendmail, mail). |
|
(0000684)
m_c (reporter)
2009-04-19 18:15
|
It's an outcome of ignoring the 1NF (first normal form) in the database - that is single cell's data atomicity. All the mail settings were stuffed into one single config value and became impossible to control.
It was designed this way, because it was quick & easy to pass the whole mail_settings array to the Mail::factory in COM_mail().
I've made a fix, which...
/**
* Converts the old mail_settings multi-setting into several atomic settings.
*
* It adds new mail_xxx fields to the configuration, transfers the settings
* from the existing mail_settings field and finally deletes the mail_settings
* entry in the config.
*/
I've attached the diff's in both non- and readable forms and also the migration files. Overall, those cover:
* both MySQL and MsSQL migration files
* config-install.php
* english UTF-8 language file
* all the relevant references throughout the code
* documentation |
|
(0000685)
m_c (reporter)
2009-04-19 18:20
|
Oh, by the way - the fix includes the desired dropdowns. :-) |
|