View Full Version : JsonStore: baseParams work with ext-all-debug.js, but not ext-all.js

28 Feb 2011, 6:18 AM
Ext version tested:

Ext 3.3.1

Adapter used:


css used:

only default ext-all.css

Browser versions tested against:


Operating System:



I have a GridPanel powered by a JsonStore to display a list of items. I've built a filter that sends extra info as BaseParams, to change the items that are retrieved by the JsonStore. I use setBaseParam() to set/unset the filter parameters, and then reload() to reload the store.

If I use ext-all-debug.js, this works fine. But I just switched to ext-all.js, and the changes made by setBaseParam() don't get picked up - the request sent by reload() does't include them. If I press the refresh button on the PagingToolbar, however, the changed BaseParams are included.

Steps to reproduce the problem:

Create a GridPanel with a JsonStore
Call setBaseParam()
Call JsonStore.reload()

The result that was expected:

The BaseParam is set in the request

The result that occurs instead:

If using ext-all.js, the BaseParam is not set. If using ext-all-debug.js, it is.