Fixed subscription item data file searching to use groupItemId as well 95/4195/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 28 Apr 2020 08:49:44 +0000 (11:49 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 28 Apr 2020 08:49:44 +0000 (11:49 +0300)
commitb141f43453a9078e2cf77302bc43c646e72c98fe
tree1cf6b05b3c143432343f46d41086444847b6972e
parentf7830ea71857134d5e6abf52f789ba3c1e127f14
Fixed subscription item data file searching to use groupItemId as well

This fixes problems where subscription item data CSV export used the
wrong data files to read the data related to the subscription item
because it wasn't matching the data file based on both groupItemId
(subscription item GUID name) and variable ID, which can be overlapping
if a new subscription item is created for a variable that has had a
previous subscription.

gitlab #528

Change-Id: If1ddef78e4b152cf6721f82afc21b37ec5fbb074
bundles/org.simantics.charts/src/org/simantics/charts/editor/ChartCopyHandler.java
bundles/org.simantics.charts/src/org/simantics/charts/export/ExportChartCSV.java
bundles/org.simantics.simulation/src/org/simantics/simulation/export/CSVItemsQuery.java
bundles/org.simantics.simulation/src/org/simantics/simulation/export/ExportSubscriptionCSV.java