EZP-21315: fixed custom controller attributes not being set