Assertion failed: There is no open tag; 'class' must not be called without an open tag
OpenUI5 version: 1.76.0
Browser/version (+device/version): All
I have updated from version 1.60.1 to version 1.76.0. Since then I get the following error: Assertion failed: There is no open tag; 'class' must not be called without an open tag
What I am doing is I am updating the model that I give to the PlanningCalendar control.
Here is how I call the calendar:
<PlanningCalendar id="schedulePlanningCalendar" rows="{path: 'managedEmployees>/employees'}" specialDates="{path: 'specialDates>/holidays'}" appointmentsVisualization="Filled" singleSelection="{manager>/isNotManager}" viewKey="Week" appointmentSelect="onSelectAppointment" intervalSelect="onIntervalSelect" startDateChange="onStartDateChanged" viewChange="onStartDateChanged" rowSelectionChange="onEmployeeSelected" showIntervalHeaders="true" showEmptyIntervalHeaders="false" stickyHeader="true">
And here is the definition of the plcanning calendar row:
<PlanningCalendarRow key="{managedEmployees>userId}" icon="{managedEmployees>image}" title="{managedEmployees>firstName} {managedEmployees>lastName}" text="{managedEmployees>title}" appointments="{path : 'managedEmployees>appointments', templateShareable: 'true'}" intervalHeaders="{path : 'managedEmployees>holidays', templateShareable: 'true'}" enableAppointmentsDragAndDrop="true">
<appointments>
<unified:CalendarAppointment key="{managedEmployees>key}" startDate="{path:'managedEmployees>start', formatter:'.parseDateTime'}" endDate="{path:'managedEmployees>end', formatter:'.parseDateTime'}" type="{managedEmployees>type}" tentative="{managedEmployees>tentative}" title="{managedEmployees>title}" text="{managedEmployees>text}" tooltip="{managedEmployees>tooltip}" icon="{managedEmployees>icon}" />
</appointments>
I am writing it here, because this error started showing after I upgraded the version of my application.
Here is the stack trace for it:
a | @ | assert-dbg.js:6
-- | -- | --
| T | @ | RenderManager-dbg.js:185
| R.K.class | @ | RenderManager-dbg.js:185
| w1.renderInterval | @ | PlanningCalendar-dbg.js:3312
| e.renderAppointments | @ | CalendarRowRenderer-dbg.js:120
| e.renderAppointmentsRow | @ | CalendarRowRenderer-dbg.js:77
| e.render | @ | CalendarRowRenderer-dbg.js:37
| R.renderControl | @ | RenderManager-dbg.js:185
| (anonymous) | @ | ColumnListItemRenderer-dbg.js:148
| d.renderLIContentWrapper | @ | ColumnListItemRenderer-dbg.js:148
| c.render | @ | ListItemBaseRenderer-dbg.js:387
| d.render | @ | ColumnListItemRenderer-dbg.js:35
| R.renderControl | @ | RenderManager-dbg.js:185
| c.render | @ | ListBaseRenderer-dbg.js:56
| R.renderControl | @ | RenderManager-dbg.js:185
| P.render | @ | PlanningCalendarRenderer-dbg.js:26
| R.renderControl | @ | RenderManager-dbg.js:185
| R.render | @ | RenderManager-dbg.js:185
| U.rerenderControl | @ | UIArea-dbg.js:733
| c.rerender | @ | Control-dbg.js:383
| U.rerender | @ | UIArea-dbg.js:552
| Core.renderPendingUIUpdates | @ | Core-dbg.js:2730
| setTimeout (async) | |
| Core.addInvalidatedUIArea | @ | Core-dbg.js:2707
| U.addInvalidatedControl | @ | UIArea-dbg.js:512
| c.invalidate | @ | Control-dbg.js:324
| t.invalidate | @ | ListBase-dbg.js:1799
| o.setParent | @ | ManagedObject-dbg.js:2559
| k.setParent | @ | ListItemBase-dbg.js:802
| o.addAggregation | @ | ManagedObject-dbg.js:2166
| (anonymous) | @ | ManagedObjectMetadata-dbg.js:304
| J | @ | ManagedObject-dbg.js:3975
| o.updateAggregation | @ | ManagedObject-dbg.js:3975
| t.updateItems | @ | ListBase-dbg.js:601
| A.update | @ | ManagedObjectMetadata-dbg.js:383
| l | @ | ManagedObject-dbg.js:3847
| b.fireEvent | @ | EventProvider-dbg.js:222
| B._fireChange | @ | Binding-dbg.js:314
| J.checkUpdate | @ | JSONListBinding-dbg.js:151
| (anonymous) | @ | Model-dbg.js:926
| e | @ | each-dbg.js:6
| a.checkUpdate | @ | Model-dbg.js:926
| f.setData | @ | JSONModel-dbg.js:85
| setData | @ | Models.js?eval:30
| setModelData | @ | AbstractDao.js?eval:22
| set | @ | AbstractDao.js?eval:47
| add | @ | SelectedAppointmentsDao.js?eval:61
| onSelectAppointment | @ | PlanningCalendarEven…andler.js?eval:1426
| onSelectAppointment | @ | Planner.controller.js?eval:118
| b.fireEvent | @ | EventProvider-dbg.js:222
| d.fireEvent | @ | Element-dbg.js:540
| (anonymous) | @ | ManagedObjectMetadata-dbg.js:774
| u1 | @ | PlanningCalendar-dbg.js:2752
| b.fireEvent | @ | EventProvider-dbg.js:222
| d.fireEvent | @ | Element-dbg.js:540
| (anonymous) | @ | ManagedObjectMetadata-dbg.js:774
| A | @ | CalendarRow-dbg.js:1628
| n.onsapselect | @ | CalendarRow-dbg.js:578
| n.ontap | @ | CalendarRow-dbg.js:598
| d._handleEvent | @ | Element-dbg.js:259
| U._handleEvent | @ | UIArea-dbg.js:834
| dispatch | @ | jquery-dbg.js:561
| g | @ | jquery-mobile-custom-dbg.js:662
| q | @ | jquery-mobile-custom-dbg.js:662
| dispatch | @ | jquery-dbg.js:561
| c3.handle | @ | jquery-dbg.js:561
| trigger | @ | jquery-dbg.js:561
| (anonymous) | @ | jquery-dbg.js:561
| each | @ | jquery-dbg.js:15
| each | @ | jquery-dbg.js:15
| trigger | @ | jquery-dbg.js:561
| P | @ | jquery-mobile-custom-dbg.js:662
| R | @ | jquery-mobile-custom-dbg.js:662
| dispatch | @ | jquery-dbg.js:561
| c3.handle | @ | jquery-dbg.js:561
Hello @malkoto1, Would you be able to provide an isolated example of the issue you described in a JSBin? (minimal example if possible) Regards, Georgi
I think this was fixed with 976b3c43d21199ceee62bfd5bc7c09e011fbbb6b, which is only part of 1.77.
Was internally tracked as 2070103144 .
I think this was fixed with 976b3c4, which is only part of 1.77.
Was internally tracked as 2070103144 .
Hi,
Yes, I have updated to 1.77 and it is gone.
Thanks a lot!