Closed bezumkin closed 6 years ago
@bezumkin Nice solution Vasily! I did not know you could override the mapping OnMODXInit. Does this have any performance impacts?
Not at all, MODX loads this map into memory at each load - and we can change it without any impacts.
@bezumkin One note: in the description resolver on uninstall you revert the the description back to varchar(191), but modx versions prior to 2.6 had varchar(255). Maybe you could edit it so it gets the original fitting with the current modx version (from the schema perhaps)?
It was reduced in 2.6.1, but you right, I can check schema of current site.
This will allow to use long descriptions and don't wait for MODX 2.7 release