There’s a loop on line 103 and something isn’t being defined before that loop starts. When I ran the debugger, the only variable that was undefined was updateTargetRows on line 129, maybe that’s the issue? I’m not sure though.
The script still works, my table gets updated in Coda and everything. I’m just worried that this might cause issues down the line.
Hey Samuel, this is a good question for Developer Central. I’m going to go ahead and move your post to see if we can get more movement on this considering. Hope that’s okay!
line 103 compares the length property of two items, both indexed by i and j.
so one of those items end up with no length attribute and causes this error
but you say the updates are all done anyway
so that makes me suspect that the indexes i and j are going out-of-bounds in some way after the loops have run correctly. or you have an item in the arrays that is null or some value with no length, probably at the end.
so double check your code for setting up the loops for indexes i and j
alas, i can not suggest anything more given the little info i have on this