Thanks Claudio - we'd actually already fixed this one and you'll find the fix in tomorrow's builds. You'll also find many recent 13.1 Calendar bug-fixes, in which we include adding working rangeCriteria, have been ported to 13.0 in tomorrow's builds.
Announcement
Collapse
No announcement yet.
X
-
Hi Isomorphic,
I can see both issues (fetch size, Date/DateTime for quick add) are fixed using SNAPSHOT_v13.1d_2024-09-10.
I noticed a design issue in day/week view now though, when dragging the vertical scrollbars (tested in FF129), where there is a growing gray block in the rightmost column.
Best regards
Blama
Comment
-
Hello, I didn't manage to reproduce Blama 's bug with FF and MacOS, but found another one :)
This also happens with a grid: if I drag a scrollbar down and outside the browser window while holding the mouse button down, and then return to the browser window, always with mouse down, I see the scrollbar moving, but the scrollable area remains still.
Comment
-
Originally posted by Isomorphic View PostThanks Claudio - we'd actually already fixed this one and you'll find the fix in tomorrow's builds. You'll also find many recent 13.1 Calendar bug-fixes, in which we include adding working rangeCriteria, have been ported to 13.0 in tomorrow's builds.
By the way, I just noticed that on iOS I've got this error in my application with build "SNAPSHOT_v13.1d_2024-09-10/Enterprise Deployment" (doesn't happen with "SNAPSHOT_v13.1d_2024-09-09/Enterprise Deployment")
Code:[Warning] *18:07:16.193:TMR7:WARN:Log:RangeError: Maximum call stack size exceeded. (ISC_Core.js, line 33293) Stack from error.stack: stringify@[native code] _serialize@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js:70956:39 _serializeObject@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js:71173:32 _serialize@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js:71034:33 _serializeArray@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js:71061:28 _serialize@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js:71021:36 _serializeObject@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js:71173:32 _serialize@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js:71034:33 encode@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js:70687:33 encode@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js:70462:51 echoFull@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js:30966:31 isc_echoFull@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Core.js:2595:70 _refreshData@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Calendar.js:4350:45 refreshEvents@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Calendar.js:4159:30 _refreshData@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Calendar.js:4351:47 refreshEvents@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Calendar.js:4159:30 _refreshData@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Calendar.js:4351:47 refreshEvents@https://localhost:8443/Jat/isomorphic/system/modules-debug/ISC_Calendar.js:4159:30
Comment
-
SmartClient Version: SNAPSHOT_v13.1d_2024-09-14/AllModules Development Only (built 2024-09-14)
Hello, first I want to confirm the fix for the refreshData in month view (post #30), thanks.
Second, I can confirm the fix for the problem first noted by Blama in post #32.
But then I noticed that, in the databoundCalendar sample, if you click on a Friday (or Saturday when disableWeekends:false), you'll see the Calendar moving to the left when the quick event dialog is shown:
Comment
-
Thanks Claudio - we've fixed this one for today's builds, dated September 15. We'll look into the call-stack issue but haven't just yet, since you have a workaround.Last edited by Isomorphic; 14 Sep 2024, 20:31.
Comment
-
Originally posted by claudiobosticco View PostSmartClient Version: SNAPSHOT_v13.1d_2024-09-10/AllModules Development Only (built 2024-09-10)
Hello, the refreshData/invalidateCache methods seems to work only for day/week views, I don't see fetches to occur when in the month view.
You can test it in the showcase (databoundCalendar sample):
Code:// using a client-only dataSource so that test data is always relative to the current date isc.DataSource.create({ ID: "eventDS", fields: [ {name: "eventId", primaryKey: true, type: "sequence"}, {name: "name"}, {name: "description"}, {name: "startDate", type: "datetime"}, {name: "endDate", type: "datetime"} ], clientOnly: true, testData: eventData }); isc.IButton.create({ ID: "refreshButton", snapTo: "T", title: "Refresh", click: "eventCalendar.refreshData()" }) isc.Calendar.create({ ID: "eventCalendar", children: [refreshButton], startDate: eventData.getDataStartDate(), dataSource: eventDS, autoFetchData: true }); refreshButton.bringToFront()
Hello, there's a problem which you can verify in the showcase with the above test case. This time the problem is in the week and day views.
Start the sample, and using the Refresh button you'll see that refreshData works in week view.
Switch to day view and it won't issue a fetch.
Then switch to month view and you'll see it working.
Switch back to week view and it won't work anymore.
Comment
-
hi Claudio - this sounds like you're describing the intended behaviour.
It will only ever fetch for the current view, and only if the current view's range is not already inside the previous range.
That is - if you show the week view, it will fetch a week of events. If you then change to the day-view, it already has those events, so it doesn't fetch. If you move "next" a bunch of times, it will eventually fetch for a single day (since you are in the day view).
If you start from a week or day view and change to the monthView, it will always fetch, because a month-range is always larger than a day or week. Conversely, if you start from a monthView, the week and day views will not fetch, until you navigate outside of the month-view's range.Last edited by Isomorphic; 3 Oct 2024, 07:19.
Comment
-
Hello Isomorphic, please note that I'm testing Calendar.refreshData() which I assume will always re-fetch data
Comment
Comment