MDL-43918 check the modulename value when creating/updating calendar events