If I have record in gantt which have resourceId empty array I get error: Uncaught TypeError: Cannot read property 'resourceName' of undefined.
From JS:
_getResourceInfo: function(n) {
var i = null , r, t;
if (n.resourceInfo != null ) { //If array exists
if (r = n.resourceInfo.length, r > 0) { //And it has content
for (t = 0; t < r; t++) //Do some nasty...
i == null ? i = n.resourceInfo[t][this.model.resourceNameMapping] : i += " , " + n.resourceInfo[t][this.model.resourceNameMapping];
return i
}
return n.resourceInfo[0][this.model.resourceNameMapping] //But if it exists and it dosen't have content -> return first element -> WAT
}
return String.empty
},
Bug is of course easy to workaround, just use null instead of empty array.