Unable to set a value to NULL anymore since release 0.4.0 #12
Description
For some fields, blanking the value is actually resulting as a NULL in the database and not an empty string, but since 0.4.0 NULL is considered as 'inherit from parent scope'.
This is not totally true in this case because the inheriting will then be done on the config.xml of the module, so it will side effect the value to be 90 when the intended purpose was to have it NULL, so disable the functionality (as the comment on the field is prompting it).
Module is from an EE version : Enterprise_Pci
Database state when the field is blanked
Extract from app/code/core/Enterprise/Pci/etc/config.xml where we can see that, if the value is removed out of the database it will side effet to 90
<default>
<admin>
<security>
<session_cookie_lifetime>900</session_cookie_lifetime>
<lockout_failures>6</lockout_failures>
<lockout_threshold>30</lockout_threshold>
<password_lifetime>90</password_lifetime>
<password_is_forced>1</password_is_forced>
</security>
</admin>
</default>
And here is how this value is actually used in the Observer of the module :
return 86400 * (int)Mage::getStoreConfig('admin/security/password_lifetime');