Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#16807 closed defect (fixed)

strictParameters in dojox/rpc/Service is not working correctly

Reported by: adros Owned by: dylan
Priority: high Milestone: 1.9
Component: RPC Version: 1.8.3
Keywords: Cc:
Blocked By: Blocking:

Description

I thing that on 107th line should be parameters[j] instead of parameters[i]

if(method.strictParameters||smd.strictParameters){
  //remove any properties that were not defined
  for(i in args){
    var found=false;
    for(var j=0; j<parameters.length;j++){
      if(parameters[i].name==i){ found=true; }
    }
    if(!found){
      delete args[i];
    }
  }
}

Change History (3)

comment:1 Changed 6 years ago by dylan

Milestone: tbd1.9
Owner: changed from Dustin Machi to dylan
Priority: undecidedhigh
Status: newassigned

comment:2 Changed 6 years ago by dylan

Resolution: fixed
Status: assignedclosed

In [30774]:

fixes #16807, index typo in dojox/rpc/Service

comment:3 Changed 6 years ago by dylan

Thanks, agreed, fixed.

Note: See TracTickets for help on using tickets.