Success! Looks like we've fixed this one. According to our records the fix was applied for
a bug in our system
in
a recent build.
-
Sencha User
Can't set proxy *Param properties to undefined
REQUIRED INFORMATION
Architect Build tested:
Project Type:
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:
Code:
limitParam: undefined
- limit param is not sent with request
The result that occurs instead:
Code:
limitParam: 'undefined'
- limit param is now named 'undefined' and sent with the request
HELPFUL INFORMATION
Screenshot, Project, or Video:
Possible fix:
Operating System:
-
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.
-
Sencha User
Is there any progress on this?
-
There has been progress indeed! It wasn't loudly announced but Architect now allows you to set literal null, undefined, and empty-string values for most configs by right-clicking on them. See the screenshot below, where I've set undefined for the limitParam config.
433264969861.jpg
Jason Johnston
@lojjic
Sencha Architect Development Team
-
Sencha User
I'm using architect 3.0.4.1386 and I don't have this option. How can I upgrade to a version which supports this feature?
-
Jason Johnston
@lojjic
Sencha Architect Development Team