Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Closed Feature: Validate the Action for correct bindability and return type [487]

$
0
0
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.

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>