According to Antti this was a known and very old problem that should now
finally be resolved.
refs #7409
Change-Id: I0ab43d7136fca3f3333a81751fc86e0da7085a26
(cherry picked from commit
c09116b855b4bb4a377be1c573ddbb5d755c0bc1)
if (context != null) {
Map<String,List<List<Object>>> from = context.getData();
for (Map.Entry<String, List<List<Object>>> entry : from.entrySet()) {
+ String key = entry.getKey();
+ Object existing = getValue(key);
+ Object newValue = context.getValue(key);
+ // Do not merge duplicates!
+ if (newValue != null && newValue.equals(existing))
+ continue;
List<List<Object>> rows = ensureRowsAvailable(entry.getKey());
rows.addAll(entry.getValue());
}