@sapui5/sap.suite.ui.generic.template 1.120.28 → 1.120.29

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.
Files changed (72) hide show
  1. package/package.json +1 -1
  2. package/src/sap/suite/ui/generic/template/.library +1 -1
  3. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n.properties +1 -1
  4. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ar.properties +1 -1
  5. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_bg.properties +1 -1
  6. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ca.properties +1 -1
  7. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_cs.properties +1 -1
  8. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_cy.properties +1 -1
  9. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_da.properties +1 -1
  10. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_de.properties +2 -2
  11. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_el.properties +1 -1
  12. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_en.properties +1 -1
  13. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_en_GB.properties +1 -1
  14. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_en_US_saprigi.properties +1 -1
  15. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_es.properties +1 -1
  16. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_es_MX.properties +1 -1
  17. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_et.properties +1 -1
  18. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_fi.properties +1 -1
  19. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_fr.properties +1 -1
  20. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_fr_CA.properties +1 -1
  21. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_hi.properties +1 -1
  22. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_hr.properties +1 -1
  23. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_hu.properties +1 -1
  24. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_id.properties +1 -1
  25. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_it.properties +1 -1
  26. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_iw.properties +1 -1
  27. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ja.properties +1 -1
  28. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_kk.properties +1 -1
  29. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ko.properties +1 -1
  30. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_lv.properties +1 -1
  31. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_mk.properties +1 -1
  32. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ms.properties +1 -1
  33. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_nl.properties +1 -1
  34. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_no.properties +3 -3
  35. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_pl.properties +1 -1
  36. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_pt.properties +1 -1
  37. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_pt_PT.properties +1 -1
  38. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ro.properties +1 -1
  39. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_ru.properties +1 -1
  40. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sk.properties +1 -1
  41. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_sv.properties +1 -1
  42. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_th.properties +1 -1
  43. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_tr.properties +1 -1
  44. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_uk.properties +1 -1
  45. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_vi.properties +1 -1
  46. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_zh_CN.properties +1 -1
  47. package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_zh_TW.properties +1 -1
  48. package/src/sap/suite/ui/generic/template/AnalyticalListPage/manifest.json +1 -1
  49. package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
  50. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_id.properties +1 -1
  51. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ja.properties +6 -6
  52. package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_mk.properties +2 -2
  53. package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
  54. package/src/sap/suite/ui/generic/template/ObjectPage/controller/ControllerImplementation.js +83 -80
  55. package/src/sap/suite/ui/generic/template/ObjectPage/controller/SectionTitleHandler.js +51 -0
  56. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n.properties +1 -1
  57. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_da.properties +1 -1
  58. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_de.properties +1 -1
  59. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_en_US_saprigi.properties +1 -1
  60. package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_ru.properties +2 -2
  61. package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +1 -1
  62. package/src/sap/suite/ui/generic/template/ObjectPage/view/Details.view.xml +1 -1
  63. package/src/sap/suite/ui/generic/template/QuickCreate/i18n/i18n_de.properties +1 -1
  64. package/src/sap/suite/ui/generic/template/QuickCreate/manifest.json +1 -1
  65. package/src/sap/suite/ui/generic/template/QuickView/manifest.json +1 -1
  66. package/src/sap/suite/ui/generic/template/lib/AppComponent.js +1 -1
  67. package/src/sap/suite/ui/generic/template/lib/MessageButtonHelper.js +1 -0
  68. package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ja.properties +1 -1
  69. package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +1 -1
  70. package/src/sap/suite/ui/generic/template/library.js +1 -1
  71. package/src/sap/suite/ui/generic/template/manifestMerger/ChangePageConfiguration.js +66 -17
  72. package/src/sap/suite/ui/generic/template/manifestMerger/MergerUtil.js +5 -4
@@ -85,7 +85,7 @@ NEW_ENTRY_GROUP=Neue Eintr\u00E4ge
85
85
 
86
86
  EDIT_BUTTON_DESCRIPTION=Bearbeiten\:
87
87
 
88
- FOOTER_REGION_LABEL_ARIA=Footer region
88
+ FOOTER_REGION_LABEL_ARIA=Footer-Region
89
89
 
90
90
 
91
91
  CANCEL_AND_DISCARD=Diesen Entwurf verwerfen?
@@ -85,7 +85,7 @@ NEW_ENTRY_GROUP=\u206A\u206A\u206A\u200D\u200B\u200C\u200D\u200B\u200B\u200C\u20
85
85
 
86
86
  EDIT_BUTTON_DESCRIPTION=\u206A\u206A\u206A\u200C\u200C\u200B\u200C\u200C\u200D\u200C\u200D\u200B\u200C\u200D\u200D\u200C\u200B\u200C\u200C\u200C\u200D\u200D\u200C\u200C\u200B\u200C\u200C\u200D\u200D\u200D\u200B\u200B\u200B\u200D\u200D\u200C\u200C\u200D\u200D\u200D\u200D\u200D\u200C\u200D\u206AEdit\:\u206A\u206A
87
87
 
88
- FOOTER_REGION_LABEL_ARIA=\u206A\u206A\u206A\u200D\u200D\u200D\u200C\u200C\u200B\u200C\u200D\u200C\u200D\u200C\u200D\u200C\u200C\u200D\u200B\u200C\u200C\u200B\u200B\u200C\u200B\u200B\u200B\u200C\u200B\u200D\u200D\u200C\u200C\u200B\u200B\u200B\u200B\u200B\u200D\u200D\u200B\u200B\u200D\u206AFooter region\u206A\u206A
88
+ FOOTER_REGION_LABEL_ARIA=\u206A\u206A\u206A\u200D\u200D\u200D\u200C\u200C\u200B\u200C\u200D\u200C\u200D\u200C\u200D\u200C\u200C\u200D\u200B\u200C\u200C\u200B\u200B\u200C\u200B\u200B\u200B\u200C\u200B\u200D\u200D\u200C\u200C\u200B\u200B\u200B\u200B\u200B\u200D\u200D\u200B\u200B\u200D\u206AFooter\u206A\u206A
89
89
 
90
90
 
91
91
  CANCEL_AND_DISCARD=\u206A\u206A\u206A\u200C\u200C\u200D\u200D\u200C\u200D\u200D\u200D\u200C\u200B\u200C\u200D\u200C\u200D\u200D\u200D\u200B\u200B\u200B\u200B\u200C\u200D\u200C\u200D\u200D\u200D\u200B\u200B\u200D\u200C\u200B\u200D\u200C\u200D\u200B\u200C\u200D\u200B\u200C\u200B\u206ADiscard this draft?\u206A\u206A
@@ -1,7 +1,7 @@
1
1
 
2
- TITLE=\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u043E\u0431\u044A\u0435\u043A\u0442\u043E\u0432
2
+ TITLE=\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u043E\u0431\u044A\u0435\u043A\u0442\u0430
3
3
 
4
- DESCRIPTION=\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u043E\u0431\u044A\u0435\u043A\u0442\u043E\u0432
4
+ DESCRIPTION=\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u043E\u0431\u044A\u0435\u043A\u0442\u0430
5
5
 
6
6
  EDIT=\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C
7
7
 
@@ -6,7 +6,7 @@
6
6
  "type": "component",
7
7
  "i18n": "i18n/i18n.properties",
8
8
  "applicationVersion": {
9
- "version": "1.120.28"
9
+ "version": "1.120.29"
10
10
  },
11
11
  "title": "{{TITLE}}",
12
12
  "description": "{{DESCRIPTION}}",
@@ -157,7 +157,7 @@
157
157
  <uxap:ObjectPageAccessibleLandmarkInfo
158
158
  rootRole="None"
159
159
  rootLabel=""
160
- footerRole="Region"
160
+ footerRole="ContentInfo"
161
161
  footerLabel="{i18n>FOOTER_REGION_LABEL_ARIA}"/>
162
162
  </uxap:landmarkInfo>
163
163
  </uxap:ObjectPageLayout>
@@ -11,7 +11,7 @@ QuickAction_Generic_Error=Es ist ein unbekannter Fehler aufgetreten
11
11
 
12
12
  QuickCreate_Draft_Not_Existing=Dieser Entwurf ist nicht mehr vorhanden. Er wurde m\u00F6glicherweise gel\u00F6scht oder in einer anderen App aktiviert.
13
13
 
14
- QuickCreate_No_Created_Object=Das Objekt wurde angelegt, aber kann nicht innerhalb des OData-Response-Objekts gefunden werden.
14
+ QuickCreate_No_Created_Object=Das Objekt wurde angelegt, kann aber nicht innerhalb des OData-Response-Objekts gefunden werden.
15
15
 
16
16
  QuickCreate_CreateButtonText=Anlegen
17
17
 
@@ -6,7 +6,7 @@
6
6
  "type": "component",
7
7
  "i18n": "i18n/i18n.properties",
8
8
  "applicationVersion": {
9
- "version": "1.120.28"
9
+ "version": "1.120.29"
10
10
  },
11
11
  "title": "{{TITLE}}",
12
12
  "description": "{{DESCRIPTION}}",
@@ -6,7 +6,7 @@
6
6
  "type": "component",
7
7
  "i18n": "i18n/i18n.properties",
8
8
  "applicationVersion": {
9
- "version": "1.120.28"
9
+ "version": "1.120.29"
10
10
  },
11
11
  "title": "{{TITLE}}",
12
12
  "description": "{{DESCRIPTION}}",
@@ -922,7 +922,7 @@ sap.ui.define([
922
922
  * @extends sap.ui.core.UIComponent
923
923
  * @abstract
924
924
  * @author SAP SE
925
- * @version 1.120.28
925
+ * @version 1.120.29
926
926
  * @name sap.suite.ui.generic.template.lib.AppComponent
927
927
  */
928
928
  return UIComponent.extend("sap.suite.ui.generic.template.lib.AppComponent", {
@@ -100,6 +100,7 @@ sap.ui.define([
100
100
  getSubtitle: getSubtitle,
101
101
  titlePressed: function (oEvent) { // the user wants to navigate from the message to the corresponding control
102
102
  MessageUtils.navigateFromMessageTitleEvent(oTemplateUtils, oEvent, oComponent, bIsDraftEnabled, sCurrentBindingPath);
103
+ oMessagePopover.close();
103
104
  }
104
105
  }).then(function (oMPopover) {
105
106
  oMessagePopover = oMPopover;
@@ -87,7 +87,7 @@ ST_MESSAGES_DIALOG_TITLE_ERROR_PLURAL=\u30A8\u30E9\u30FC
87
87
 
88
88
  ST_MESSAGE_GENERAL_TITLE=\u4E00\u822C
89
89
 
90
- LOCKED_OBJECT_POPOVER_TITLE=\u30ED\u30C3\u30AF\u6E08
90
+ LOCKED_OBJECT_POPOVER_TITLE=\u30ED\u30C3\u30AF\u6E08\u307F
91
91
 
92
92
  PARAMETER_COMBINATION_NOT_SUPPORTED=\u30D1\u30E9\u30E1\u30FC\u30BF\u306E\u7D44\u5408\u305B\u304C\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\n \u30E2\u30FC\u30C9\: {0}\n \u512A\u5148\u30E2\u30FC\u30C9\: {1}
93
93
 
@@ -3083,7 +3083,7 @@ sap.ui.define(["sap/ui/base/Object",
3083
3083
  * @param {sap.suite.ui.generic.template.lib.AppComponent} oAppComponent The AppComponent instance
3084
3084
  * @public
3085
3085
  * @extends sap.ui.base.Object
3086
- * @version 1.120.28
3086
+ * @version 1.120.29
3087
3087
  * @since 1.30.0
3088
3088
  * @alias sap.suite.ui.generic.template.lib.NavigationController
3089
3089
  */
@@ -60,7 +60,7 @@ sap.ui.define([
60
60
  interfaces: [],
61
61
  controls: [],
62
62
  elements: [],
63
- version: "1.120.28",
63
+ version: "1.120.29",
64
64
  extensions: {
65
65
  //Configuration used for rule loading of Support Assistant
66
66
  "sap.ui.support": {
@@ -13,13 +13,34 @@ sap.ui.define([
13
13
  * @private
14
14
  */
15
15
 
16
+ /**
17
+ * @typedef {Object} ChangeContent
18
+ *
19
+ * @property {object} parentPage - The parent page details
20
+ * @property {string} parentPage.component - The source page component where the new page will be added
21
+ * @property {string} parentPage.entitySet - The source page entityset name where the new page will be added
22
+ *
23
+ * @property {object} entityPropertyChange - The details of the configuration to be changed
24
+ * @property {string} entityPropertyChange.propertyPath - The property path where the change has to be added
25
+ * @property {string} entityPropertyChange.operation - The operation type
26
+ * @property {object} entityPropertyChange.propertyValue - The property details that has to be modified
27
+ *
28
+ */
29
+
30
+ /**
31
+ * @typedef {Object} Change
32
+ * @property {string} changeType - The app descriptor change type name
33
+ * @property {string} layer - The target layer, can have values "CUSTOMER", "CUSTOMER_BASE", "PARTNER" or "VENDOR"
34
+ * @property {() => ChangeContent} getContent - The content of the change
35
+ */
36
+ var GLOBAL_MANIFEST_CHANGE_COMPONENT = "sap.suite.ui.generic.template";
16
37
  var changePageConfiguration = {
17
38
  /**
18
39
  * @param {object} oManifest - Contains the existing Manifest of the application
19
- * @param {object} oChange - Contains the setting changes that the user wants to add to the oManifest
40
+ * @param {Change} oChange - Contains the setting changes that the user wants to add to the oManifest
20
41
  * The oChange for changePageConfiguration should have the following structure:
21
- *
22
- * {
42
+ * @example
43
+ * {
23
44
  * "changeType": "appdescr_ui_generic_app_changePageConfiguration", // the app descriptor change type name
24
45
  * "layer": Layer.CUSTOMER, // The target layer, can have values "CUSTOMER" , "CUSTOMER_BASE", "PARTNER" or "VENDOR"
25
46
  * "content": {
@@ -28,7 +49,7 @@ sap.ui.define([
28
49
  * "entitySet": "C_STTA_SalesOrder_WD_20" // source page entityset name where the new page will be added
29
50
  * },
30
51
  * "entityPropertyChange": { // details of the configuration to be changed
31
- * "propertyPath": "component/settings", // property pth where the change has to be added
52
+ * "propertyPath": "component/settings", // property path where the change has to be added
32
53
  * "operation": "UPSERT", // operation type
33
54
  * "propertyValue": { // contains the property details that has to be modified
34
55
  * "tableType": "ResponsiveTable"
@@ -36,6 +57,25 @@ sap.ui.define([
36
57
  * }
37
58
  * }
38
59
  * }
60
+ *
61
+ * @example
62
+ * {
63
+ * "changeType": "appdescr_ui_generic_app_changePageConfiguration", // the app descriptor change type name
64
+ * "layer": Layer.VENDOR, // The target layer, can have values "CUSTOMER" , "CUSTOMER_BASE", "PARTNER" or "VENDOR"
65
+ * "content": {
66
+ * "parentPage" : { // source page details
67
+ * "component": "sap.suite.ui.generic.template", // This is the global manifest change
68
+ * },
69
+ * "entityPropertyChange": { // details of the configuration to be changed
70
+ * "propertyPath": "settings", // property path where the change has to be added
71
+ * "operation": "UPSERT", // operation type
72
+ * "propertyValue": { // contains the property details that has to be modified
73
+ * "statePreservationMode": "persistence"
74
+ * }
75
+ * }
76
+ * }
77
+ * }
78
+ *
39
79
  * @returns {object} the updated oManifest containing the oChange settings
40
80
  * @protected
41
81
  */
@@ -45,21 +85,30 @@ sap.ui.define([
45
85
  MergerUtil.consistencyCheck(oChangeContent, "MODIFY");
46
86
  var sParentEntitySet = oChangeContent.parentPage.entitySet;
47
87
  var sParentComponent = oChangeContent.parentPage.component;
48
- var oPageStructure = MergerUtil.iterateAndFind(oManifest["sap.ui.generic.app"],sParentEntitySet, sParentComponent);
88
+ var oPageStructure;
89
+ if (sParentComponent === GLOBAL_MANIFEST_CHANGE_COMPONENT) {
90
+ oPageStructure = oManifest["sap.ui.generic.app"];
91
+ } else {
92
+ oPageStructure = MergerUtil.iterateAndFind(oManifest["sap.ui.generic.app"], sParentEntitySet, sParentComponent);
93
+ }
49
94
  var oPropertyChange = oChangeContent.entityPropertyChange;
50
-
51
- var aPropertyKeys = Object.keys(oPropertyChange.propertyValue);
52
- aPropertyKeys.forEach(function(sCurrentKey) {
95
+ if (typeof oPropertyChange.propertyValue !== "object" || oPropertyChange.propertyValue === null) {
53
96
  var aPropertyPath = oPropertyChange.propertyPath.split("/");
54
- aPropertyPath.push(sCurrentKey);
55
- var vVal = ObjectPath.get(aPropertyPath, oPageStructure);
56
- if (vVal && typeof vVal === "object") {
57
- var oPropertyPathContent = ObjectPath.create(aPropertyPath, oPageStructure);
58
- Object.assign(oPropertyPathContent, oPropertyChange.propertyValue[sCurrentKey]);
59
- } else {
60
- ObjectPath.set(aPropertyPath, oPropertyChange.propertyValue[sCurrentKey], oPageStructure);
61
- }
62
- });
97
+ ObjectPath.set(aPropertyPath, oPropertyChange.propertyValue, oPageStructure);
98
+ } else {
99
+ var aPropertyKeys = Object.keys(oPropertyChange.propertyValue);
100
+ aPropertyKeys.forEach(function (sCurrentKey) {
101
+ var aPropertyPath = oPropertyChange.propertyPath.split("/");
102
+ aPropertyPath.push(sCurrentKey);
103
+ var vVal = ObjectPath.get(aPropertyPath, oPageStructure);
104
+ if (vVal && typeof vVal === "object") {
105
+ var oPropertyPathContent = ObjectPath.create(aPropertyPath, oPageStructure);
106
+ Object.assign(oPropertyPathContent, oPropertyChange.propertyValue[sCurrentKey]);
107
+ } else {
108
+ ObjectPath.set(aPropertyPath, oPropertyChange.propertyValue[sCurrentKey], oPageStructure);
109
+ }
110
+ });
111
+ }
63
112
  return oManifest;
64
113
  }
65
114
  };
@@ -10,6 +10,7 @@ sap.ui.define([
10
10
  * This class holds the helper functions that are invoked from the manifestMergers
11
11
  * @private
12
12
  */
13
+ var GLOBAL_MANIFEST_CHANGE_COMPONENT = "sap.suite.ui.generic.template";
13
14
  var mergerUtil = {
14
15
 
15
16
  /**
@@ -75,12 +76,12 @@ sap.ui.define([
75
76
  if (!oChangeContent["parentPage"]) {
76
77
  throw new Error("Mandatory 'parentPage' parameter is not provided.");
77
78
  }
78
- if (!oChangeContent.parentPage.entitySet) {
79
- throw new Error("Mandatory 'parentPage.entitySet' parameter is not provided.");
80
- }
81
79
  if (!oChangeContent.parentPage.component) {
82
80
  throw new Error("Mandatory 'parentPage.component' parameter is not provided.");
83
81
  }
82
+ if (!oChangeContent.parentPage.entitySet && oChangeContent.parentPage.component !== GLOBAL_MANIFEST_CHANGE_COMPONENT) {
83
+ throw new Error("Mandatory 'parentPage.entitySet' parameter is not provided.");
84
+ }
84
85
  if (sMergerType === "ADD") {
85
86
 
86
87
  if (!oChangeContent.childPage.id) {
@@ -117,7 +118,7 @@ sap.ui.define([
117
118
  if (!oEntityPropertyChange.operation || oEntityPropertyChange.operation !== "UPSERT") {
118
119
  throw new Error("Invalid change format: The mandatory 'operation' is not defined or is not valid type. Please define the mandatory property 'operation' with type 'UPSERT");
119
120
  }
120
- if (!oEntityPropertyChange.propertyValue) {
121
+ if (!oEntityPropertyChange.propertyValue === undefined) {
121
122
  throw new Error("Invalid change format: The mandatory 'propertyValue' is not defined. Please define the mandatory property 'propertyValue'");
122
123
  }
123
124
  }