Announcement

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

    CalendarEvent without description raises an error

    SmartClient Version: v8.3p_2013-06-25/PowerEdition Development Only (built 2013-06-25)
    in my databound calendar, if I add an event without a description, I got this error:
    Code:
    11:50:02.315:XRP3:WARN:Log:TypeError: Cannot call method 'match' of undefined
    Stack from error.stack:
        isc.HTMLFlow.addClassMethods.getScript() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=v83p_2013-06-22.js:53607:33
        isc.HTMLFlow.addMethods._evalContents() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=v83p_2013-06-22.js:54107:18
        isc.HTMLFlow.addMethods.setContents() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=v83p_2013-06-22.js:54090:10
        isc.EventWindow.addProperties.updateColors() @ isomorphic/system/modules-debug/ISC_Calendar.js?isc_version=v83p_2013-06-22.js:6197:27
        isc.EventWindow.addProperties.renderEvent() @ isomorphic/system/modules-debug/ISC_Calendar.js?isc_version=v83p_2013-06-22.js:6118:14
        isc.Calendar.addProperties._renderEventRange() @ isomorphic/system/modules-debug/ISC_Calendar.js?isc_version=v83p_2013-06-22.js:2890:17
        isc.DaySchedule.addProperties.sizeEventWindow() @ isomorphic/system/modules-debug/ISC_Calendar.js?isc_version=v83p_2013-06-22.js:5443:21
        isc.DaySchedule.addProperties.addEvent() @ isomorphic/system/modules-debug/ISC_Calendar.js?isc_version=v83p_2013-06-22.js:5504:14
        isc.DaySchedule.addProperties.refreshEvents() @ isomorphic/system/modules-debug/ISC_Calendar.js?isc_version=v83p_2013-06-22.js:5426:18
        isc.Calendar.addProperties.refreshSelectedView() @ isomorphic/system/modules-debug/ISC_Calendar.js?isc_version=v83p_2013-06-22.js:1810:23
    the problem is in the dayView and weekView, if I put
    Code:
    showDayView: false, showWeekView: false
    the error disappears.
    Last edited by claudiobosticco; 28 Jun 2013, 02:36.

    #2
    This is fixed for builds dated July 4 and later

    Comment


      #3
      SmartClient Version: v8.3p_2013-07-05/PowerEdition Deployment (built 2013-07-05)

      the problem is still there...hasn't been ported to 8.3 yet?

      Comment


        #4
        Yes it has - please show the new stack-trace - if it's exactly the same as the last one, check that you have updated properly - if not, we may need to see a runnable test case

        Comment


          #5
          actually, the behaviour seems a bit different.

          In the showcase, #customCalendar sample (I'm actually using customEventEditing), if you delete a description (or set it to null) in the 'eventData' tab, and click 'try it', you'll see an error and a 'Untitled window' in the top left corner of the calendar body.

          Comment


            #6
            We've fixed this - it was actually an eval() bug in isc.HTMLFlow - and it will hit builds from tomorrow, July 6

            Comment


              #7
              SmartClient Version: v8.3p_2013-07-07/PowerEdition Deployment (built 2013-07-07)

              fixed, thank you very much.

              Comment

              Working...
              X