Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • claudiobosticco
    replied
    SmartClient Version: v13.1p_2024-12-17/Enterprise Deployment (built 2024-12-17)

    I can confirm it's fixed, thank you very much

    Leave a comment:


  • Isomorphic
    replied
    hi Claudio - we've applied a fix for this. Please retest with tomorrow's builds, dated December 16, or later ones.

    Leave a comment:


  • claudiobosticco
    replied
    SmartClient Version: v13.1p_2024-12-13/AllModules Development Only (built 2024-12-13)

    Hello, i still see the issue in the latest 13.1

    Leave a comment:


  • claudiobosticco
    replied
    Originally posted by claudiobosticco View Post
    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
    this error happens in a piece of code where I do calendar.fetchData() and then animateShow() on the layout containing the calendar. Actually doing the fetch in the animateShow callback fixes the problem, but I don't think it's normal to have that error.
    SmartClient Version: v13.1p_2024-12-02/Enterprise Deployment (built 2024-12-02)

    Chrome on Android 12, Android studio emulator Pixel 5

    Hello, similar to the above error, I'm seeing this error on Android, again in a piece of code where I do calendar.fetchData() and then animateShow() on the layout containing the calendar:

    Code:
    ISC_Core.js?isc_version=13.1-p20241202.js:7775 Uncaught RangeError: Maximum call stack size exceeded
        at cons.hasData (ISC_Calendar.js?isc_version=13.1-p20241202.js:13250)
        at cons.refreshEvents (ISC_Calendar.js?isc_version=13.1-p20241202.js:4923)
        at cons._refreshData (ISC_Calendar.js?isc_version=13.1-p20241202.js:5137)
        at cons.refreshEvents (ISC_Calendar.js?isc_version=13.1-p20241202.js:4924)
    [cut]
    at cons._refreshData (ISC_Calendar.js?isc_version=13.1-p20241202.js:5137)
        at cons.refreshEvents (ISC_Calendar.js?isc_version=13.1-p20241202.js:4924)
        at ISC_Calendar.js?isc_version=13.1-p20241202.js:4902
        at cons.fireCallback (ISC_Core.js?isc_version=13.1-p20241202.js:7770)
        at cons._fireTimeout (ISC_Core.js?isc_version=13.1-p20241202.js:57369)
        at ISC_Core.js?isc_version=13.1-p20241202.js:57278
    Last edited by claudiobosticco; 2 Dec 2024, 11:35. Reason: added Android version

    Leave a comment:


  • claudiobosticco
    replied
    Originally posted by claudiobosticco View Post
    SmartClient Version: SNAPSHOT_v13.1d_2024-10-08/Enterprise Deployment (built 2024-10-08)

    Hello, actually it's true that I don't see the error on Safari iOS, but now I see it on FF, Chrome and Safari on MaoOS
    SmartClient Version: SNAPSHOT_v13.1d_2024-10-29/Enterprise Deployment (built 2024-10-29)

    This seems fixed for every browser.
    Last edited by claudiobosticco; 1 Nov 2024, 04:52.

    Leave a comment:


  • claudiobosticco
    replied
    SmartClient Version: SNAPSHOT_v13.1d_2024-10-08/Enterprise Deployment (built 2024-10-08)

    Hello, actually it's true that I don't see the error on Safari iOS, but now I see it on FF, Chrome and Safari on MaoOS

    Code:
    18:07:41.322:TMR3:WARN:Log:InternalError: too much recursion
    Stack from error.stack:
        toSchemaDate() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241008.js:25145:25
        encodeDate() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241008.js:72049:27
        _serialize() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241008.js:72176:43
        _serializeObject() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241008.js:72382:22
        _serialize() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241008.js:72243:17
        _serializeArray() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241008.js:72270:18
        _serialize() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241008.js:72230:21
        _serializeObject() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241008.js:72382:22
        _serialize() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241008.js:72243:17
        encode() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241008.js:71896:23
        encode() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241008.js:71671:45
        echoFull() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241008.js:30981:25
        echoFull() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=13.1-d20241008.js:2595:62
        _refreshData() @ isomorphic/system/modules-debug/ISC_Calendar.js?isc_version=13.1-d20241008.js:4850:41
        refreshEvents() @ isomorphic/system/modules-debug/ISC_Calendar.js?isc_version=13.1-d20241008.js:6720:18
        _refreshData() @ isomorphic/system/modules-debug/ISC_Calendar.js?isc_version=13.1-d20241008.js:4852:38
        refreshEvents() @ isomorphic/system/modules-debug/ISC_Calendar.js?isc_version=13.1-d20241008.js:6720:18

    Leave a comment:


  • Isomorphic
    replied
    Yes, it ought to be - we didn't update yet because we're still in this area, so please do let us know if see anything similar again.

    Leave a comment:


  • claudiobosticco
    replied
    Hello, the problem from post #37 seems also fixed, isn't it?

    Leave a comment:


  • claudiobosticco
    replied
    SmartClient Version: SNAPSHOT_v13.1d_2024-10-06/Enterprise Deployment (built 2024-10-06)

    I see it's fixed, thank you very much

    Leave a comment:


  • Isomorphic
    replied
    Thanks Claudio - we've fixed Calendar.refreshData() in all views - a flag wasn't being cleared. Please re-test with tomorrow's build.

    Leave a comment:


  • claudiobosticco
    replied
    Hello Isomorphic, please note that I'm testing Calendar.refreshData() which I assume will always re-fetch data

    Leave a comment:


  • Isomorphic
    replied
    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.

    Leave a comment:


  • claudiobosticco
    replied
    Originally posted by claudiobosticco View Post
    SmartClient 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()
    SmartClient Version: SNAPSHOT_v13.1d_2024-10-03/Enterprise Deployment (built 2024-10-03)

    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.

    Leave a comment:


  • claudiobosticco
    replied
    SmartClient Version: SNAPSHOT_v13.1d_2024-09-15/AllModules Development Only (built 2024-09-15)

    I see the fix, thank you very much.

    Leave a comment:


  • Isomorphic
    replied
    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.

    Leave a comment:

Working...
X