Announcement

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

    Calendar bug

    SmartClient Version: v11.0p_2016-05-14/Enterprise Development Only (built 2016-05-14)
    SmartClient Version: SNAPSHOT_v11.1d_2016-05-14/AllModules Development Only (built 2016-05-14)

    Chrome on OSX

    Please go to the #databoundCalendar showcase sample,
    and then:
    1. switch to 'month' view
    2. click on June 1st (body area), so that the Calendar switches to June and the eventEditor is shown.
    3. close the event editor
    4. click on July 1st (body area), so that the Calendar switches to July and the eventEditor is shown.
    5. close the event editor (I have to drag it into view or to scroll horizontally to close it)
    6. click on August 1st (body area), the Calendar doesn't switch to August and the event editor is not shown.

    This is the error logged in the developer console.

    Code:
    14:49:09.846:MUP4:WARN:Log:TypeError: Cannot read property 'date2' of null
    Stack from error.stack:
        MonthSchedule.getCellDate(<no args: exited>) on [MonthSchedule ID:eventCalendar_monthView] @ ISC_Calendar.js:290:119
        MonthSchedule.cellDisabled(<no args: exited>) on [MonthSchedule ID:eventCalendar_monthView] @ ISC_Calendar.js:296:191
        MonthSchedule.cellClick(<no args: exited>) on [MonthSchedule ID:eventCalendar_monthView] @ ISC_Calendar.js:301:77
        eval(<no args: exited>) on [MonthScheduleBody ID:eventCalendar_monthView_body] @ [no file]:4:115
        GridRenderer._cellClick(<no args: exited>) on [MonthScheduleBody ID:eventCalendar_monthView_body] @ ISC_Grids.js:709:59
        GridRenderer._rowClick(<no args: exited>) on [MonthScheduleBody ID:eventCalendar_monthView_body] @ ISC_Grids.js:707:135
        [c]Class.invokeSuper(<no args: exited>) on [MonthScheduleBody ID:eventCalendar_monthView_body] @ ISC_Core.js:289:93
        [c]Class.Super(<no args: exited>) on [MonthScheduleBody ID:eventCalendar_monthView_body] @ ISC_Core.js:281:170
        GridBody._rowClick(<no args: exited>) on [MonthScheduleBody ID:eventCalendar_monthView_body] @ ISC_Grids.js:774:76
        GridRenderer.click(<no args: exited>) on [MonthScheduleBody ID:eventCalendar_monthView_body] @ ISC_Grids.js:705:167
        Canvas.handleClick(<no args: exited>) on [MonthScheduleBody ID:eventCalendar_monthView_body] @ ISC_Core.js:3024:400
        [c]EventHandler.bubbleEvent(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:1721:89
        [c]EventHandler.handleClick(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:1579:50
        EventHandler._handleMouseUp(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:1564:11
        [c]EventHandler.handleMouseUp(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:1555:57
        [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(), _2=>[object MouseEvent]) on [Class EventHandler] @ ISC_Core.js:1799:108
        HTMLDocument.eval(event=>[object MouseEvent]) @ [no file]:3:123
    Actually I've got this same error in a real application, with build:
    SmartClient Version: v11.0p_2016-05-12/EVAL Deployment (expires 2016.07.11_07.39.10) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)

    #2
    SmartClient Version: v11.0p_2016-07-13/Enterprise Development Only (built 2016-07-13)

    Chrome on OSX

    Hello, with more recent builds actually you could see the error thrown after the second step, so:
    1. switch to 'month' view
    2. click on the body of a day of the next month (ie 1st of August)
    Code:
    09:51:04.960:MUP0:WARN:Log:TypeError: Cannot read property 'date2' of null
    Stack from error.stack:
        MonthSchedule.getCellDate(<no args: exited>) on [MonthSchedule ID:eventCalendar_monthView] @ ISC_Calendar.js:290:119
        MonthSchedule.cellDisabled(<no args: exited>) on [MonthSchedule ID:eventCalendar_monthView] @ ISC_Calendar.js:296:191
        MonthSchedule.cellClick(<no args: exited>) on [MonthSchedule ID:eventCalendar_monthView] @ ISC_Calendar.js:301:77
        eval(<no args: exited>) on [MonthScheduleBody ID:eventCalendar_monthView_body] @ [no file]:4:115
        GridRenderer._cellClick(<no args: exited>) on [MonthScheduleBody ID:eventCalendar_monthView_body] @ ISC_Grids.js:709:59
        GridRenderer._rowClick(<no args: exited>) on [MonthScheduleBody ID:eventCalendar_monthView_body] @ ISC_Grids.js:707:135
        [c]Class.invokeSuper(<no args: exited>) on [MonthScheduleBody ID:eventCalendar_monthView_body] @ ISC_Core.js:289:93
        [c]Class.Super(<no args: exited>) on [MonthScheduleBody ID:eventCalendar_monthView_body] @ ISC_Core.js:281:170
        GridBody._rowClick(<no args: exited>) on [MonthScheduleBody ID:eventCalendar_monthView_body] @ ISC_Grids.js:774:76
        GridRenderer.click(<no args: exited>) on [MonthScheduleBody ID:eventCalendar_monthView_body] @ ISC_Grids.js:705:167
        Canvas.handleClick(<no args: exited>) on [MonthScheduleBody ID:eventCalendar_monthView_body] @ ISC_Core.js:3027:400
        [c]EventHandler.bubbleEvent(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:1721:89
        [c]EventHandler.handleClick(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:1579:50
        EventHandler._handleMouseUp(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:1564:11
        [c]EventHandler.handleMouseUp(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:1555:57
        [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(), _2=>[object MouseEvent]) on [Class EventHandler] @ ISC_Core.js:1799:108
        HTMLDocument.eval(event=>[object MouseEvent]) @ [no file]:3:123

    Comment


      #3
      A quick update that we do see this issue and it's queued to be addressed in the next day or so - we'll update here when it's fixed.

      Comment


        #4
        Apologies for the delay on this one - it's been fixed for tomorrow's builds, July 27, and later.

        Comment


          #5
          SmartClient Version: v11.0p_2016-07-27/Enterprise Development Only (built 2016-07-27)

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

          Comment

          Working...
          X