If I am creating a bindable action for a particular entity, we need to validate the incoming request to see if the action is being applied to the correct entity type.
Example:
ExtendSupportDate is a bindable action on Product.
Following urls should work:
/.../.../Products(6)/ExtendSupportDate
/Products(6)/ExtendSupportDate
This should NOT work:
/.../.../ProductFamilies(6)/ExtendSupportDate
/.../.../Suppliers(6)/ExtendSupportDate
Also we need to validate the return type of the controller's method to the Action configuration's return type. Currently there is no validation.
Comments: Verified.
Example:
ExtendSupportDate is a bindable action on Product.
Following urls should work:
/.../.../Products(6)/ExtendSupportDate
/Products(6)/ExtendSupportDate
This should NOT work:
/.../.../ProductFamilies(6)/ExtendSupportDate
/.../.../Suppliers(6)/ExtendSupportDate
Also we need to validate the return type of the controller's method to the Action configuration's return type. Currently there is no validation.
Comments: Verified.