Hi,
I've got a problem with fetch operation on Calendar. After initial fetch SmartGWT runs a dozen more for data that does not exists.
Same datasource (and requests) provided to ListGrid works fine.
On Chrome it also works ok, the only browser affected is Firefox.
Tested on:
SmartGWT 5.0p 2015-01-15
GWT 2.7.0
Browsers:
Firefox 22, 31 (affected)
Chrome 39 (not affected)
SmartGWT Developer Console Log on Firefox.
On Chrome there are no error messages on Developer Console.
sample code if applicable
First request/response to server:
Best regards
Mariusz Goch
I've got a problem with fetch operation on Calendar. After initial fetch SmartGWT runs a dozen more for data that does not exists.
Same datasource (and requests) provided to ListGrid works fine.
On Chrome it also works ok, the only browser affected is Firefox.
Tested on:
SmartGWT 5.0p 2015-01-15
GWT 2.7.0
Browsers:
Firefox 22, 31 (affected)
Chrome 39 (not affected)
SmartGWT Developer Console Log on Firefox.
On Chrome there are no error messages on Developer Console.
Code:
19:07:03.104:TMR3:WARN:WeekSchedule:isc_Calendar_0_weekView:getVisibleEvents - event has no start-date: { "__ref":"{GWT Java Obj}", "__module":"{GWT Module}", "loadingMarker":true } 19:07:03.104:TMR3:WARN:WeekSchedule:isc_Calendar_0_weekView:getVisibleEvents - event has no start-date: { "__ref":"{GWT Java Obj}", "__module":"{GWT Module}", "loadingMarker":true } 19:07:03.831:XRP2:WARN:ResultSet:isc_ResultSet_2 (dataSource: isc_DSEvents_0, created by: isc_Calendar_0):fetchData callback: dsResponse.endRow set to:75. dsResponse.totalRows set to:3. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (3). 19:07:03.872:XRP5:WARN:ResultSet:isc_ResultSet_2 (dataSource: isc_DSEvents_0, created by: isc_Calendar_0):fetchData callback: dsResponse.endRow set to:112. dsResponse.totalRows set to:3. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (3). 19:07:03.883:XRP5:WARN:ResultSet:isc_ResultSet_2 (dataSource: isc_DSEvents_0, created by: isc_Calendar_0):fetchData callback: dsResponse.endRow set to:149. dsResponse.totalRows set to:3. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (3). 19:07:03.907:XRP6:WARN:ResultSet:isc_ResultSet_2 (dataSource: isc_DSEvents_0, created by: isc_Calendar_0):fetchData callback: dsResponse.endRow set to:186. dsResponse.totalRows set to:3. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (3). 19:07:03.919:XRP6:WARN:ResultSet:isc_ResultSet_2 (dataSource: isc_DSEvents_0, created by: isc_Calendar_0):fetchData callback: dsResponse.endRow set to:223. dsResponse.totalRows set to:3. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (3). 19:07:03.932:XRP6:WARN:ResultSet:isc_ResultSet_2 (dataSource: isc_DSEvents_0, created by: isc_Calendar_0):fetchData callback: dsResponse.endRow set to:260. dsResponse.totalRows set to:3. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (3). 19:07:03.980:XRP7:WARN:ResultSet:isc_ResultSet_2 (dataSource: isc_DSEvents_0, created by: isc_Calendar_0):fetchData callback: dsResponse.endRow set to:297. dsResponse.totalRows set to:3. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (3). 19:07:04.069:XRP9:WARN:ResultSet:isc_ResultSet_2 (dataSource: isc_DSEvents_0, created by: isc_Calendar_0):fetchData callback: dsResponse.endRow set to:334. dsResponse.totalRows set to:3. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (3). 19:07:04.112:XRP0:WARN:ResultSet:isc_ResultSet_2 (dataSource: isc_DSEvents_0, created by: isc_Calendar_0):fetchData callback: dsResponse.endRow set to:371. dsResponse.totalRows set to:3. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (3). 19:07:04.154:XRP1:WARN:ResultSet:isc_ResultSet_2 (dataSource: isc_DSEvents_0, created by: isc_Calendar_0):fetchData callback: dsResponse.endRow set to:408. dsResponse.totalRows set to:3. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (3). 19:07:04.220:XRP7:WARN:ResultSet:isc_ResultSet_2 (dataSource: isc_DSEvents_0, created by: isc_Calendar_0):fetchData callback: dsResponse.endRow set to:445. dsResponse.totalRows set to:3. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (3). 19:07:04.233:XRP7:WARN:ResultSet:isc_ResultSet_2 (dataSource: isc_DSEvents_0, created by: isc_Calendar_0):fetchData callback: dsResponse.endRow set to:482. dsResponse.totalRows set to:3. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (3). 19:07:04.244:XRP7:WARN:ResultSet:isc_ResultSet_2 (dataSource: isc_DSEvents_0, created by: isc_Calendar_0):fetchData callback: dsResponse.endRow set to:519. dsResponse.totalRows set to:3. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (3). 19:07:04.255:XRP7:WARN:ResultSet:isc_ResultSet_2 (dataSource: isc_DSEvents_0, created by: isc_Calendar_0):fetchData callback: dsResponse.endRow set to:556. dsResponse.totalRows set to:3. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (3). 19:07:04.265:XRP7:WARN:ResultSet:isc_ResultSet_2 (dataSource: isc_DSEvents_0, created by: isc_Calendar_0):fetchData callback: dsResponse.endRow set to:593. dsResponse.totalRows set to:3. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (3). 19:07:04.275:XRP7:WARN:ResultSet:isc_ResultSet_2 (dataSource: isc_DSEvents_0, created by: isc_Calendar_0):fetchData callback: dsResponse.endRow set to:630. dsResponse.totalRows set to:3. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (3). 19:07:04.285:XRP7:WARN:ResultSet:isc_ResultSet_2 (dataSource: isc_DSEvents_0, created by: isc_Calendar_0):fetchData callback: dsResponse.endRow set to:667. dsResponse.totalRows set to:3. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (3). 19:07:04.327:XRP9:WARN:ResultSet:isc_ResultSet_2 (dataSource: isc_DSEvents_0, created by: isc_Calendar_0):fetchData callback: dsResponse.endRow set to:704. dsResponse.totalRows set to:3. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (3). 19:07:04.361:XRP0:WARN:ResultSet:isc_ResultSet_2 (dataSource: isc_DSEvents_0, created by: isc_Calendar_0):fetchData callback: dsResponse.endRow set to:741. dsResponse.totalRows set to:3. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (3). 19:07:04.432:XRP1:WARN:ResultSet:isc_ResultSet_2 (dataSource: isc_DSEvents_0, created by: isc_Calendar_0):fetchData callback: dsResponse.endRow set to:778. dsResponse.totalRows set to:3. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (3). 19:07:04.453:XRP1:WARN:ResultSet:isc_ResultSet_2 (dataSource: isc_DSEvents_0, created by: isc_Calendar_0):fetchData callback: dsResponse.endRow set to:815. dsResponse.totalRows set to:3. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (3). 19:07:04.478:XRP2:WARN:ResultSet:isc_ResultSet_2 (dataSource: isc_DSEvents_0, created by: isc_Calendar_0):fetchData callback: dsResponse.endRow set to:852. dsResponse.totalRows set to:3. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (3). 19:07:04.508:XRP4:WARN:ResultSet:isc_ResultSet_2 (dataSource: isc_DSEvents_0, created by: isc_Calendar_0):fetchData callback: dsResponse.endRow set to:889. dsResponse.totalRows set to:3. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (3). 19:07:04.520:XRP4:WARN:ResultSet:isc_ResultSet_2 (dataSource: isc_DSEvents_0, created by: isc_Calendar_0):fetchData callback: dsResponse.endRow set to:926. dsResponse.totalRows set to:3. endRow cannot exceed total dataset size. Clamping endRow to the end of the dataset (3).
Code:
Calendar calendar = new Calendar(); calendar.setDataSource(dataSource); calendar.setAutoFetchData(true); calendar.setStartDateField("date_start"); calendar.setEndDateField("date_end"); calendar.setNameField("name"); calendar.setDescriptionField("description");
Code:
_operationType=fetch&_startRow=0&_endRow=75&_textMatchStyle=exact&_componentId=isc_Calendar_0&_dataSource=isc_DSEvents_0&isc_metaDataPrefix=_&isc_dataFormat=json {"response":{"status":0,"startRow":0,"endRow":3,"totalRows":3,"data":[{"id":"1","date_start":"2014-12-03 19:58:47","date_end":"2014-12-03 20:28:47","name":"Wydarzenie","description":""},{"id":"2","date_start":"2014-11-05 20:42:00","date_end":"2014-11-05 21:12:00","name":"List","description":""},{"id":"3","date_start":"2014-01-01 01:00:00","date_end":"2014-01-01 02:00:00","name":"Event 3","description":""}]}}
Mariusz Goch
Comment