/
CatEventHandler fatal error when ItemPropertyMappings not defined

CatEventHandler fatal error when ItemPropertyMappings not defined

Imported from: http://groups.google.com/group/in-portal-bugs/browse_thread/thread/e41b5980751c4fe0#

OnBeforeItemUpdate event in CatEventHandler class throws fatal error when trying to access undefined variable as object. This happen because $object is defined inside "if" construction, but after that is also used outside. 

Nobody never tried making custom Category Item without ItemPropertyMappings defined in config (this is "if" condition) until now, so we never have seen this issue.

fatal_error_if_ItemPropertyMapping_not_set.patch

Related Tasks

INP-365 - Getting issue details... STATUS