Help us to improve Career Infrastructure

Welcome to this Ideas portal of the Career Sustaining Engineering Tribe (CSET).

The CSET is here to help the feature squads of Career be able to develop more easily and more securely

Remove support of IEnumerable<long> for GridAction

Today, two styles of signature of grid action methods in controllers are allowed:

    [GridAction]
    public ActionResult Remove(GridSelectionOf<MonIdbRowObject> selection)    { ... }

or

    [GridAction]
    public ActionResult Remove(IEnumerable<long> selection)    { ... }

The problem with the second signature is that it does not support paging, and it happened that it was used on a paged grid which cause issues in production.

So even for the few cases where there is no paging on the client side, we may want to always use the first signature and remove support the second one to avoid bad usages.

  • Mickaël Nivet
  • Jan 17 2017
  • Future consideration
Type Bug Fix
Qualification
Countries Concerned FRANCE
  • Attach files
  • Mickaël Nivet commented
    January 18, 2017 10:12

    I've just found back a JIRA issue that was corresponding to this: CAR-12435