PDA

View Full Version : [OPEN] Can't set proxy *Param properties to undefined



codemonkey7492
9 Oct 2012, 8:32 AM
REQUIRED INFORMATION
Architect Build tested:

Build: 640
Project Type:

ExtJS 4.x
Description:

Can't set proxy *Param properties to undefined (limitParam, pageParam, startParam, etc)
The documentation states if we want to send these params we need to set the value to undefined. SA 2 does not allow this.
Steps to reproduce the problem:

Create a model witha proxy. Try to set the limitParam = undefined.
The result that was expected:


limitParam: undefined
limit param is not sent with request
The result that occurs instead:


limitParam: 'undefined'
limit param is now named 'undefined' and sent with the request
HELPFUL INFORMATION
Screenshot, Project, or Video:

NA
Possible fix:

Possible workaround listed here: http://www.sencha.com/forum/showthread.php?234707-How-to-set-pageParam-to-undefined-using-Architect&highlight=pageParam
Operating System:

WinXP Pro
OS X 10.7.5

aconran
9 Oct 2012, 2:20 PM
Thanks, we're aware of this issue.

You can currently set it via an override or hook onto the beforeload event as indicated in the linked thread.