I'm getting a notice when I save the settings mail form. and When I show the block as well
Notice: A non well formed numeric value encountered in Drupal\apsis_mail\Apsis->cachableRequest() (line 204 of modules/contrib/apsis_mail/src/Apsis.php).
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | apsis_mail-cache_lifetime_config_fix-3134174-8.patch | 2.79 KB | arnested |
| #7 | apsis_mail-cache_lifetime_config_fix-3134174-7.patch | 2.73 KB | arnested |
| #2 | notice_because_of_malformed_value-3134174-2.patch | 720 bytes | jjcarrion |
Comments
Comment #2
jjcarrionHere is the patch, the options were in the other way around.
Comment #3
xen commentedThanks! Committed.
Comment #4
xen commentedComment #7
arnested commentedWe need to handle existing config where the config is the wrong way around.
Committed in https://git.drupalcode.org/project/apsis_mail/commit/2bee363 and released in 8.x-2.0-beta4.
Comment #8
arnested commentedIn 2bee363d5fc66566d53d929c615f2073046e695b I made sure the configured cache lifetime must be an integer (using
is_int()).Unfortunately the form submits a string even if the value was an integer and that git stored in the config system as string.
This change:
Committed in https://git.drupalcode.org/project/apsis_mail/commit/abfccff and released in 8.x-2.0-beta5.