@sapui5/sap.chart 1.106.0 → 1.108.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.chart",
3
- "version": "1.106.0",
3
+ "version": "1.108.0",
4
4
  "description": "SAPUI5 Library sap.chart",
5
5
  "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -5,7 +5,7 @@
5
5
  <vendor>SAP SE</vendor>
6
6
  <copyright>SAPUI5
7
7
  * (c) Copyright 2009-2022 SAP SE. All rights reserved.</copyright>
8
- <version>1.106.0</version>
8
+ <version>1.108.0</version>
9
9
 
10
10
  <documentation>Smart viz control based on Vizframe</documentation>
11
11
 
@@ -2164,6 +2164,7 @@ sap.ui.define([
2164
2164
 
2165
2165
 
2166
2166
  Chart.prototype.unbindAggregation = function(sName, bSuppressReset) {
2167
+ var bIsDuplicateUnbindAggregationData = false;
2167
2168
  if (sName === "data") {
2168
2169
  var oDataset = this._getDataset();
2169
2170
  if (oDataset) {
@@ -2174,8 +2175,19 @@ sap.ui.define([
2174
2175
  oDataset.unbindAggregation.apply(oDataset, arguments);
2175
2176
  }
2176
2177
  bSuppressReset = true; // since we explicitly prohibit call to destroyData
2178
+
2179
+ // some functions wull trigger this._getDataset().unbindAggregation('data', true)
2180
+ // (for example Chart.prototype.exit). if another unbindAggregation("data") is triggered
2181
+ // (bIsBeingDestroyed), we do not run BaseControl.prototype.unbindAggregation again
2182
+ // if this.bHasAnalyticalInfo is true and this.aContexts === undefined,
2183
+ // BaseControl.prototype.unbindAggregation will not duplicate unbind
2184
+ bIsDuplicateUnbindAggregationData = (!this.bHasAnalyticalInfo && this.aContexts === undefined && this._getDataset &&
2185
+ this._getDataset() === null && this.mBindingInfos && this.mBindingInfos[sName] &&
2186
+ this.mBindingInfos[sName].binding && this.mBindingInfos[sName].binding.bIsBeingDestroyed);
2187
+ }
2188
+ if (!bIsDuplicateUnbindAggregationData) {
2189
+ return BaseControl.prototype.unbindAggregation.apply(this, [sName, bSuppressReset]);
2177
2190
  }
2178
- return BaseControl.prototype.unbindAggregation.apply(this, [sName, bSuppressReset]);
2179
2191
  };
2180
2192
 
2181
2193
  Chart.prototype.unbindData = function() {
@@ -61,7 +61,7 @@ sap.ui.define([
61
61
  "sap.chart.data.Measure"
62
62
  ],
63
63
  noLibraryCSS: true,
64
- version: "1.106.0"
64
+ version: "1.108.0"
65
65
  });
66
66
 
67
67
  /**