You found a bug! We've classified it as a bug in our system. We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    4
    Vote Rating
    1
    codemonkey7492 is on a distinguished road

      1  

    Default Can't set proxy *Param properties to undefined

    Can't set proxy *Param properties to undefined


    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:
    • 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:
    • NA
    Possible fix:Operating System:
    • WinXP Pro
    • OS X 10.7.5

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,191
    Vote Rating
    63
    aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice

      0  

    Default


    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.
    Aaron Conran
    @aconran
    Sencha Architect Development Team