@Mickey wrote:
Ok I know this is not error just warning that some bad practice maybe occurs. I'm getting these messages after loading a model. I searched everywhere in my code where this change maybe occurs to find out where to put start/commit transaction methods.
Change not within a transaction: !m points: SeqFlow_0 old: undefined new: List(Point)#2163 go.js:35 Change not within a transaction: !m points: SeqFlow_1 old: undefined new: List(Point)#2193 go.js:35 Change not within a transaction: !m points: SeqFlow_2 old: undefined new: List(Point)#2224
Then I looked inside link template and only line there that is related to points was binding line.
new go.Binding("points").makeTwoWay(),
If I comment this warning disappears. This tells me that something inside default binding functions causes appearance of 'Change not within transaction' warning in console.
I'm using latest version of GoJS.
Posts: 7
Participants: 2