When an ActionLogic error is thrown, the intent is to communicate the context in which the error was thrown (i.e. the name of the specific class). Instead the context today reports a generic catchall Class:
ActionLogic::AttributeTypeError: context: Class message: Attribute: integer_test with value: was expected to be of type Fixnum but is NilClass
The issue is not threading the executionContext from ActionCore through to the ActionValidation methods. If executionContext is passed as an argument, when we find an error within any of the ActionValidation methods we would have the originating class information for producing a better error message.
When an
ActionLogicerror is thrown, the intent is to communicate thecontextin which the error was thrown (i.e. the name of the specific class). Instead thecontexttoday reports a generic catchallClass:The issue is not threading the
executionContextfromActionCorethrough to theActionValidationmethods. IfexecutionContextis passed as an argument, when we find an error within any of theActionValidationmethods we would have the originating class information for producing a better error message.