Looks like we cannot reproduce this. Please provide another test case to reproduce this issue.
  1. #1
    Sencha User
    Join Date
    Nov 2011
    Location
    A Really Nice Place
    Posts
    9
    Vote Rating
    0
    jamesfin is on a distinguished road

      0  

    Default Stores and Load Data

    Stores and Load Data


    Description:

    Stores configured with extraParams do not get sent in the URL when performing a store 'Load Data' command or when setting a store in a view.

    OSX Lion 10.7.2
    Designer 2.0.0 Build 268

    Steps to repeat...

    Create a simple store with a working URL requiring a simple attribute parameter (i.e. http://foo.com/sencha/mobile/json.jsp. Configure extraParams in the store with a: 'load'.

    1. Perform a right-click on the store node and click 'Load Data'.

    2. Configure a simple view and set the store to the simple store configured above.

    The action fails with a 'Unable to load data using the supplied configuration.' due to the missing extraParams in the test URL. Can be verified in Chrome Developer View


    Expected Results...

    URL should also contain the value(s) in extraParams when performing a 'Load Data' or setting the extraParams as it would do at runtime.

    i.e.
    http://foo.com/sencha/mobile/json.jsp?a=load


    Workaround...

    Add in the ?a=load to the existing store URL to quickly test. Remove before flight.

    i.e.
    http://foo.com/sencha/mobile/json.jsp?a=load

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,099
    Vote Rating
    113
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Thanks for the bug report.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    Jun 2011
    Posts
    350
    Vote Rating
    1
    bharatn is on a distinguished road

      0  

    Default


    It works. Just specify an object {a: 'load'} in extraParams
    Bharat Nagwani
    Sencha Designer Development Team

Thread Participants: 2

Tags for this Thread