View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005948||OXID eShop (all versions)||4.01. Database handling||public||2014-11-06 13:44||2014-12-05 10:20|
|Status||closed||Resolution||no change required|
|Product Version||4.7.3 / 5.0.3 revision 54408|
|Target Version||Fixed in Version|
|Summary||0005948: DB : column type BLOB for oxconfig.oxvarvalue is not sufficient in some productive scenarios|
|Description||We have a real-life customer, who has more than 50 Modules (thirdparty plus individual ones) loaded for shopid=1 - quite a customized Shop. We have observed, that with this module-setup the config value "aModuleFiles" would require more than 65536 Bytes. We had to change oxconfig.oxvarvalue to MEDIUMBLOB to make sure, that the serialized array is saved to the DB.|
The effect of this limitation is fatal for the shop. If you try to activate another module (the one, which will cause to exceed 64KB in aModuleFiles), oxid will save an empty string into aModuleFiles. As a result the entire frontend will most likely no longer work, as a SystemCompoenent "Class not found" Exception will be thrown for ANY ClassFile that is supposed to extend some Class from aModules configparam.
In my opinion it is necessary to change oxconfig.oxvarvalue to MEDIUMBLOB by default.
|Steps To Reproduce||Make sure you install + activate a sufficient amount of modules. If the amount is high enough (this depends on the complexity of each metadata.php of course) aModuleFiles configparam will be set to empty string in DB.|
|Tags||No tags attached.|