Skip to Content
0

Infinite $batch requests in network sectionsof chrome dev tools

May 26, 2017 at 02:57 PM

54

avatar image
Former Member

Hi, I am trying to retrieve some specific data from an odata service that i have configured in the app descriptor. The view is in XML and the data is to be linked to a table. But as soon as i run the application, a series of batch requests related to that odata service starts in the network section of browser.

XML snippet:

<Table id="id_table_career_totals"
       items="{path: 'totalsData>/duke_season_data' ,
       parameters: {select: 'name,gp,gs,min,pts,fg,fga,fg3,fga3,ft,fta,oreb,dreb,treb,pf,dq,ast,tovers,blks,stls'}
                                        }">
                                <columns>
                                    <Column id="id_column_name_ct"
                                            width="12%"
                                            vAlign="Middle">
                                        <header>
                                            <c:FormattedTextView htmlText="Name" />
                                        </header>
                                    </Column>

captureq.jpg

Please guide me as to how can i stop this infinite loop of batch requests and populate my table.

captureq.jpg (116.9 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Srikanth KV May 26, 2017 at 03:44 PM
0

check if you have any event's(eg: batchRequestCompleted, requestCompleted etc.) attached to the model "totalsData".

It seems like on one of the events you are triggering the table binding again.

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

i have created that model in manifest.json ...how do i check the attached events? I have not written any event-related code in the controller..

0