]> gerrit.simantics Code Review - simantics/platform.git/commit
Fixed regression in TrendNode. 85/185/3
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 30 Nov 2016 12:57:40 +0000 (14:57 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 30 Nov 2016 13:08:14 +0000 (15:08 +0200)
commit8a847992137e9da5922f12d9f70273e65d77fe8d
treeb2d63e62e8c6b8057d7f73d854db652d54b2cd2b
parent5567c19e0f7ea8aa8ef645422c889a51aeb540f8
Fixed regression in TrendNode.

The regression was caused by change r32901 and merge r32981. The problem
was that the code tried to keep existing VertRuler nodes alive as much
as possible to keep their (transient) settings in place between chart
configuration reloads. However the code failed to do this correctly and
caused IndexOutOfBoundsExceptions and other corollary failures.

This fix needs to go into platform branches 1.22.2 and 1.22 as well.

refs #6547
[PRIVATE-11736]

Change-Id: Idb7d9d77b1a6b0bf513a5829b4c373cde9747529
bundles/org.simantics.trend/src/org/simantics/trend/impl/TrendNode.java