Error when add a vector layer

2
Hi everyone, In my widget, when I add a vector layer, I have an error: mendix.sys.Data.get: error in handler for [22517998136879506] : Cannot read property '0' of undefined I debug and see that, in function mxui.widget.getDisableables, when the node doesn't have children, it causes the error. My node is in SVG format and have no children. It is like this: <svg class=​" leaflet-zoom-animated" style=​"-webkit-transform:​ translate3d(-602px, -300px, 0)​;​" width=​"2408" height=​"1200" viewBox=​"-602 -300 2408 1200">​ <g>​ <path stroke-linejoin=​"round" stroke-linecap=​"round" fill-rule=​"evenodd" stroke=​"blue" stroke-opacity=​"1" stroke-width=​"1" fill=​"#03f" fill-opacity=​"1" class=​"leaflet-clickable" d=​"M436,8A47,47,0,1,1,435.9,8 z">​</path>​ </g>​ <g>​ <path stroke-linejoin=​"round" stroke-linecap=​"round" fill-rule=​"evenodd" stroke=​"red" stroke-opacity=​"1" stroke-width=​"1" fill=​"#03f" fill-opacity=​"1" class=​"leaflet-clickable" d=​"M769,498A46,46,0,1,1,768.9,498 z">​</path>​ </g>​ </svg> Is this a bug in mendix or is the SVG element incorrect? (I still see what It renders and that is correct) Regards,
asked
1 answers
2

This is a bug in Mendix, we will fix this in the 4.4.1 release that will be released on monday.

answered