@openui5/sap.ui.core 1.120.18 → 1.120.20

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 (312) hide show
  1. package/package.json +1 -1
  2. package/src/jquery.sap.global.js +1 -1
  3. package/src/jquery.sap.properties.js +1 -1
  4. package/src/jquery.sap.resources.js +1 -1
  5. package/src/jquery.sap.script.js +1 -1
  6. package/src/jquery.sap.storage.js +3 -3
  7. package/src/sap/base/Event.js +1 -1
  8. package/src/sap/base/Eventing.js +1 -1
  9. package/src/sap/base/config.js +1 -1
  10. package/src/sap/base/i18n/LanguageTag.js +1 -1
  11. package/src/sap/base/i18n/date/TimezoneUtils.js +1 -1
  12. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  13. package/src/sap/base/util/restricted/_castArray.js +1 -1
  14. package/src/sap/base/util/restricted/_compact.js +1 -1
  15. package/src/sap/base/util/restricted/_curry.js +1 -1
  16. package/src/sap/base/util/restricted/_debounce.js +1 -1
  17. package/src/sap/base/util/restricted/_difference.js +1 -1
  18. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  19. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  20. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  21. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  22. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  23. package/src/sap/base/util/restricted/_flatten.js +1 -1
  24. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  25. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  26. package/src/sap/base/util/restricted/_intersection.js +1 -1
  27. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  28. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  29. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  30. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  31. package/src/sap/base/util/restricted/_isNil.js +1 -1
  32. package/src/sap/base/util/restricted/_max.js +1 -1
  33. package/src/sap/base/util/restricted/_merge.js +1 -1
  34. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  35. package/src/sap/base/util/restricted/_min.js +1 -1
  36. package/src/sap/base/util/restricted/_omit.js +1 -1
  37. package/src/sap/base/util/restricted/_pick.js +1 -1
  38. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  39. package/src/sap/base/util/restricted/_throttle.js +1 -1
  40. package/src/sap/base/util/restricted/_toArray.js +1 -1
  41. package/src/sap/base/util/restricted/_union.js +1 -1
  42. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  43. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  44. package/src/sap/base/util/restricted/_uniq.js +1 -1
  45. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  46. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  47. package/src/sap/base/util/restricted/_without.js +1 -1
  48. package/src/sap/base/util/restricted/_xor.js +1 -1
  49. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  50. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  51. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  52. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  53. package/src/sap/ui/Device.js +3 -3
  54. package/src/sap/ui/Global.js +4 -4
  55. package/src/sap/ui/base/Event.js +1 -1
  56. package/src/sap/ui/base/EventProvider.js +1 -1
  57. package/src/sap/ui/base/Interface.js +1 -1
  58. package/src/sap/ui/base/ManagedObject.js +1 -1
  59. package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
  60. package/src/sap/ui/base/Metadata.js +1 -1
  61. package/src/sap/ui/base/Object.js +1 -1
  62. package/src/sap/ui/base/ObjectPool.js +1 -1
  63. package/src/sap/ui/core/.library +1 -1
  64. package/src/sap/ui/core/BusyIndicator.js +1 -1
  65. package/src/sap/ui/core/Component.js +1 -1
  66. package/src/sap/ui/core/ComponentContainer.js +1 -1
  67. package/src/sap/ui/core/ComponentMetadata.js +1 -1
  68. package/src/sap/ui/core/ComponentSupport.js +1 -1
  69. package/src/sap/ui/core/Configuration.js +1 -1
  70. package/src/sap/ui/core/Control.js +1 -1
  71. package/src/sap/ui/core/Core.js +1 -1
  72. package/src/sap/ui/core/CustomData.js +1 -1
  73. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  74. package/src/sap/ui/core/Element.js +1 -1
  75. package/src/sap/ui/core/ElementMetadata.js +1 -1
  76. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  77. package/src/sap/ui/core/EventBus.js +1 -1
  78. package/src/sap/ui/core/Fragment.js +1 -1
  79. package/src/sap/ui/core/HTML.js +1 -1
  80. package/src/sap/ui/core/History.js +1 -1
  81. package/src/sap/ui/core/Icon.js +1 -1
  82. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  83. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  84. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  85. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  86. package/src/sap/ui/core/InvisibleText.js +1 -1
  87. package/src/sap/ui/core/Item.js +1 -1
  88. package/src/sap/ui/core/LabelEnablement.js +1 -1
  89. package/src/sap/ui/core/LayoutData.js +1 -1
  90. package/src/sap/ui/core/ListItem.js +1 -1
  91. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  92. package/src/sap/ui/core/Locale.js +1 -1
  93. package/src/sap/ui/core/LocaleData.js +1 -1
  94. package/src/sap/ui/core/Manifest.js +1 -1
  95. package/src/sap/ui/core/Message.js +1 -1
  96. package/src/sap/ui/core/RenderManager.js +1 -1
  97. package/src/sap/ui/core/Renderer.js +1 -1
  98. package/src/sap/ui/core/ResizeHandler.js +1 -1
  99. package/src/sap/ui/core/ScrollBar.js +1 -1
  100. package/src/sap/ui/core/SeparatorItem.js +1 -1
  101. package/src/sap/ui/core/Title.js +1 -1
  102. package/src/sap/ui/core/TooltipBase.js +1 -1
  103. package/src/sap/ui/core/UIArea.js +1 -1
  104. package/src/sap/ui/core/UIComponent.js +1 -1
  105. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  106. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  107. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  108. package/src/sap/ui/core/XMLComposite.js +1 -1
  109. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  110. package/src/sap/ui/core/date/UI5Date.js +1 -1
  111. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  112. package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
  113. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  114. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  115. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  116. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  117. package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
  118. package/src/sap/ui/core/getCompatibilityVersion.js +1 -1
  119. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  120. package/src/sap/ui/core/library.js +3 -3
  121. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  122. package/src/sap/ui/core/message/Message.js +1 -1
  123. package/src/sap/ui/core/message/MessageManager.js +1 -1
  124. package/src/sap/ui/core/message/MessageParser.js +1 -1
  125. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  126. package/src/sap/ui/core/messagebundle_en_US_saptrc.properties +294 -282
  127. package/src/sap/ui/core/mvc/HTMLView.js +1 -1
  128. package/src/sap/ui/core/mvc/JSONView.js +1 -1
  129. package/src/sap/ui/core/mvc/JSView.js +4 -3
  130. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  131. package/src/sap/ui/core/mvc/View.js +1 -1
  132. package/src/sap/ui/core/mvc/XMLView.js +1 -1
  133. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  134. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  135. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  136. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  137. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  138. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  139. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  140. package/src/sap/ui/core/service/Service.js +1 -1
  141. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  142. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  143. package/src/sap/ui/core/support/Plugin.js +1 -1
  144. package/src/sap/ui/core/support/Support.js +1 -1
  145. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  146. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  147. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  148. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  149. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  150. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  151. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  152. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  153. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  154. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  155. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  156. package/src/sap/ui/core/tmpl/Template.js +1 -1
  157. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  158. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  159. package/src/sap/ui/core/util/Export.js +1 -1
  160. package/src/sap/ui/core/util/ExportCell.js +1 -1
  161. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  162. package/src/sap/ui/core/util/ExportRow.js +1 -1
  163. package/src/sap/ui/core/util/ExportType.js +1 -1
  164. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  165. package/src/sap/ui/core/util/File.js +1 -1
  166. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  167. package/src/sap/ui/core/util/MockServer.js +1 -1
  168. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  169. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  170. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  171. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  172. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  173. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  174. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  175. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  176. package/src/sap/ui/core/webc/WebComponent.js +1 -1
  177. package/src/sap/ui/core/webc/WebComponentMetadata.js +1 -1
  178. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  179. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  180. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  181. package/src/sap/ui/debug/ControlTree.js +1 -1
  182. package/src/sap/ui/debug/DebugEnv.js +1 -1
  183. package/src/sap/ui/debug/PropertyList.js +1 -1
  184. package/src/sap/ui/model/ClientModel.js +1 -1
  185. package/src/sap/ui/model/CompositeDataState.js +1 -1
  186. package/src/sap/ui/model/CompositeType.js +1 -1
  187. package/src/sap/ui/model/DataState.js +1 -1
  188. package/src/sap/ui/model/MetaModel.js +1 -1
  189. package/src/sap/ui/model/Model.js +1 -1
  190. package/src/sap/ui/model/SelectionModel.js +1 -1
  191. package/src/sap/ui/model/SimpleType.js +1 -1
  192. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  193. package/src/sap/ui/model/Type.js +1 -1
  194. package/src/sap/ui/model/json/JSONModel.js +1 -1
  195. package/src/sap/ui/model/message/MessageModel.js +1 -1
  196. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  197. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  198. package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
  199. package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
  200. package/src/sap/ui/model/odata/ODataModel.js +1 -1
  201. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  202. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  203. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  204. package/src/sap/ui/model/odata/type/Date.js +1 -1
  205. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  206. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  207. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  208. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  209. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  210. package/src/sap/ui/model/odata/type/Double.js +1 -1
  211. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  212. package/src/sap/ui/model/odata/type/Int.js +1 -1
  213. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  214. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  215. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  216. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  217. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  218. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  219. package/src/sap/ui/model/odata/type/Single.js +1 -1
  220. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  221. package/src/sap/ui/model/odata/type/String.js +1 -1
  222. package/src/sap/ui/model/odata/type/Time.js +1 -1
  223. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  224. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  225. package/src/sap/ui/model/odata/v2/Context.js +1 -1
  226. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  227. package/src/sap/ui/model/odata/v2/ODataModel.js +1 -1
  228. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
  229. package/src/sap/ui/model/odata/v4/Context.js +1 -1
  230. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +1 -1
  231. package/src/sap/ui/model/odata/v4/ODataListBinding.js +1 -1
  232. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +1 -1
  233. package/src/sap/ui/model/odata/v4/ODataModel.js +39 -11
  234. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
  235. package/src/sap/ui/model/odata/v4/lib/_Cache.js +1 -1
  236. package/src/sap/ui/model/odata/v4/lib/_Helper.js +13 -6
  237. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  238. package/src/sap/ui/model/type/Boolean.js +1 -1
  239. package/src/sap/ui/model/type/Currency.js +1 -1
  240. package/src/sap/ui/model/type/Date.js +1 -1
  241. package/src/sap/ui/model/type/DateInterval.js +1 -1
  242. package/src/sap/ui/model/type/DateTime.js +1 -1
  243. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  244. package/src/sap/ui/model/type/FileSize.js +1 -1
  245. package/src/sap/ui/model/type/Float.js +1 -1
  246. package/src/sap/ui/model/type/Integer.js +1 -1
  247. package/src/sap/ui/model/type/String.js +1 -1
  248. package/src/sap/ui/model/type/Time.js +1 -1
  249. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  250. package/src/sap/ui/model/type/Unit.js +1 -1
  251. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  252. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  253. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  254. package/src/sap/ui/test/generic/TestBase.js +1 -1
  255. package/src/sap/ui/util/Storage.js +1 -1
  256. package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/ui5.yaml +1 -1
  257. package/test/sap/ui/core/demokit/sample/matcher/BindingPath/ui5.yaml +1 -1
  258. package/test/sap/ui/core/demokit/sample/matcher/Descendant/ui5.yaml +1 -1
  259. package/test/sap/ui/core/demokit/sample/matcher/I18NText/ui5.yaml +1 -1
  260. package/test/sap/ui/core/demokit/sample/matcher/LabelFor/ui5.yaml +1 -1
  261. package/test/sap/ui/core/demokit/tutorial/databinding/01/ui5.yaml +1 -1
  262. package/test/sap/ui/core/demokit/tutorial/databinding/02/ui5.yaml +1 -1
  263. package/test/sap/ui/core/demokit/tutorial/databinding/03/ui5.yaml +1 -1
  264. package/test/sap/ui/core/demokit/tutorial/databinding/04/ui5.yaml +1 -1
  265. package/test/sap/ui/core/demokit/tutorial/databinding/05/ui5.yaml +1 -1
  266. package/test/sap/ui/core/demokit/tutorial/databinding/06/ui5.yaml +1 -1
  267. package/test/sap/ui/core/demokit/tutorial/databinding/07/ui5.yaml +1 -1
  268. package/test/sap/ui/core/demokit/tutorial/databinding/08/ui5.yaml +1 -1
  269. package/test/sap/ui/core/demokit/tutorial/databinding/09/ui5.yaml +1 -1
  270. package/test/sap/ui/core/demokit/tutorial/databinding/10/ui5.yaml +1 -1
  271. package/test/sap/ui/core/demokit/tutorial/databinding/11/ui5.yaml +1 -1
  272. package/test/sap/ui/core/demokit/tutorial/databinding/12/ui5.yaml +1 -1
  273. package/test/sap/ui/core/demokit/tutorial/databinding/13/ui5.yaml +1 -1
  274. package/test/sap/ui/core/demokit/tutorial/databinding/14/ui5.yaml +1 -1
  275. package/test/sap/ui/core/demokit/tutorial/databinding/15/ui5.yaml +1 -1
  276. package/test/sap/ui/core/demokit/tutorial/mockserver/01/ui5.yaml +1 -1
  277. package/test/sap/ui/core/demokit/tutorial/mockserver/02/ui5.yaml +1 -1
  278. package/test/sap/ui/core/demokit/tutorial/mockserver/03/ui5.yaml +1 -1
  279. package/test/sap/ui/core/demokit/tutorial/mockserver/04/ui5.yaml +1 -1
  280. package/test/sap/ui/core/demokit/tutorial/navigation/01/ui5.yaml +1 -1
  281. package/test/sap/ui/core/demokit/tutorial/navigation/02/ui5.yaml +1 -1
  282. package/test/sap/ui/core/demokit/tutorial/navigation/03/ui5.yaml +1 -1
  283. package/test/sap/ui/core/demokit/tutorial/navigation/04/ui5.yaml +1 -1
  284. package/test/sap/ui/core/demokit/tutorial/navigation/05/ui5.yaml +1 -1
  285. package/test/sap/ui/core/demokit/tutorial/navigation/06/ui5.yaml +1 -1
  286. package/test/sap/ui/core/demokit/tutorial/navigation/07/ui5.yaml +1 -1
  287. package/test/sap/ui/core/demokit/tutorial/navigation/08/ui5.yaml +1 -1
  288. package/test/sap/ui/core/demokit/tutorial/navigation/09/ui5.yaml +1 -1
  289. package/test/sap/ui/core/demokit/tutorial/navigation/10/ui5.yaml +1 -1
  290. package/test/sap/ui/core/demokit/tutorial/navigation/11/ui5.yaml +1 -1
  291. package/test/sap/ui/core/demokit/tutorial/navigation/12/ui5.yaml +1 -1
  292. package/test/sap/ui/core/demokit/tutorial/navigation/13/ui5.yaml +1 -1
  293. package/test/sap/ui/core/demokit/tutorial/navigation/14/ui5.yaml +1 -1
  294. package/test/sap/ui/core/demokit/tutorial/navigation/15/ui5.yaml +1 -1
  295. package/test/sap/ui/core/demokit/tutorial/navigation/16/ui5.yaml +1 -1
  296. package/test/sap/ui/core/demokit/tutorial/navigation/17/ui5.yaml +1 -1
  297. package/test/sap/ui/core/demokit/tutorial/odatav4/01/ui5.yaml +1 -1
  298. package/test/sap/ui/core/demokit/tutorial/odatav4/02/ui5.yaml +1 -1
  299. package/test/sap/ui/core/demokit/tutorial/odatav4/03/ui5.yaml +1 -1
  300. package/test/sap/ui/core/demokit/tutorial/odatav4/04/ui5.yaml +1 -1
  301. package/test/sap/ui/core/demokit/tutorial/odatav4/05/ui5.yaml +1 -1
  302. package/test/sap/ui/core/demokit/tutorial/odatav4/06/ui5.yaml +1 -1
  303. package/test/sap/ui/core/demokit/tutorial/odatav4/07/ui5.yaml +1 -1
  304. package/test/sap/ui/core/demokit/tutorial/odatav4/08/ui5.yaml +1 -1
  305. package/test/sap/ui/core/demokit/tutorial/odatav4/09/ui5.yaml +1 -1
  306. package/test/sap/ui/core/demokit/tutorial/odatav4/10/ui5.yaml +1 -1
  307. package/test/sap/ui/core/demokit/tutorial/odatav4/11/ui5.yaml +1 -1
  308. package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/ui5.yaml +1 -1
  309. package/test/sap/ui/core/qunit/odata/v4/ODataModel.integration.qunit.js +127 -3
  310. package/test/sap/ui/core/qunit/odata/v4/ODataModel.qunit.js +88 -5
  311. package/test/sap/ui/core/qunit/odata/v4/lib/_Cache.qunit.js +4 -4
  312. package/test/sap/ui/core/qunit/odata/v4/lib/_Helper.qunit.js +35 -13
@@ -16,7 +16,7 @@ sap.ui.define(['./Model'],
16
16
  * @extends sap.ui.model.Model
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.120.18
19
+ * @version 1.120.20
20
20
  *
21
21
  * @public
22
22
  * @alias sap.ui.model.MetaModel
@@ -51,7 +51,7 @@ sap.ui.define([
51
51
  * @extends sap.ui.core.message.MessageProcessor
52
52
  *
53
53
  * @author SAP SE
54
- * @version 1.120.18
54
+ * @version 1.120.20
55
55
  *
56
56
  * @public
57
57
  * @alias sap.ui.model.Model
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/base/EventProvider', "sap/base/assert"],
20
20
  * @extends sap.ui.base.EventProvider
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.120.18
23
+ * @version 1.120.20
24
24
  *
25
25
  * @param {int} iSelectionMode <code>sap.ui.model.SelectionModel.SINGLE_SELECTION</code> or <code>sap.ui.model.SelectionModel.MULTI_SELECTION</code>
26
26
  *
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  *
47
47
  * @extends sap.ui.model.Type
48
48
  * @public
49
- * @version 1.120.18
49
+ * @version 1.120.20
50
50
  */
51
51
  var SimpleType = Type.extend("sap.ui.model.SimpleType", /** @lends sap.ui.model.SimpleType.prototype */ {
52
52
 
@@ -12,7 +12,7 @@ sap.ui.define([],
12
12
  /**
13
13
  * Different modes for setting the auto expand mode on tree or analytical bindings.
14
14
  *
15
- * @version 1.120.18
15
+ * @version 1.120.20
16
16
  * @enum {string}
17
17
  * @alias sap.ui.model.TreeAutoExpandMode
18
18
  * @protected
@@ -19,7 +19,7 @@ sap.ui.define(['sap/ui/base/Object'],
19
19
  *
20
20
  * @extends sap.ui.base.Object
21
21
  * @public
22
- * @version 1.120.18
22
+ * @version 1.120.20
23
23
  */
24
24
  var Type = BaseObject.extend("sap.ui.model.Type", /** @lends sap.ui.model.Type.prototype */ {
25
25
 
@@ -48,7 +48,7 @@ sap.ui.define([
48
48
  * @extends sap.ui.model.ClientModel
49
49
  *
50
50
  * @author SAP SE
51
- * @version 1.120.18
51
+ * @version 1.120.20
52
52
  * @public
53
53
  * @alias sap.ui.model.json.JSONModel
54
54
  */
@@ -29,7 +29,7 @@ sap.ui.define(['sap/ui/model/BindingMode', 'sap/ui/model/ClientModel', 'sap/ui/m
29
29
  * @extends sap.ui.model.ClientModel
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.120.18
32
+ * @version 1.120.20
33
33
  *
34
34
  * @public
35
35
  * @alias sap.ui.model.message.MessageModel
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  *
28
28
  * @author SAP SE
29
29
  * @version
30
- * 1.120.18
30
+ * 1.120.20
31
31
  *
32
32
  * @public
33
33
  * @deprecated As of version 1.66, please use {@link sap.ui.model.odata.v2.ODataAnnotations} instead.
@@ -85,7 +85,7 @@ var sClassName = "sap.ui.model.odata.ODataMessageParser",
85
85
  * @extends sap.ui.core.message.MessageParser
86
86
  *
87
87
  * @author SAP SE
88
- * @version 1.120.18
88
+ * @version 1.120.20
89
89
  * @public
90
90
  * @alias sap.ui.model.odata.ODataMessageParser
91
91
  */
@@ -881,7 +881,7 @@ sap.ui.define([
881
881
  * {@link #loaded loaded} has been resolved!
882
882
  *
883
883
  * @author SAP SE
884
- * @version 1.120.18
884
+ * @version 1.120.20
885
885
  * @alias sap.ui.model.odata.ODataMetaModel
886
886
  * @extends sap.ui.model.MetaModel
887
887
  * @public
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  * Implementation to access OData metadata
50
50
  *
51
51
  * @author SAP SE
52
- * @version 1.120.18
52
+ * @version 1.120.20
53
53
  *
54
54
  * @public
55
55
  * @alias sap.ui.model.odata.ODataMetadata
@@ -78,7 +78,7 @@ sap.ui.define([
78
78
  *
79
79
  *
80
80
  * @author SAP SE
81
- * @version 1.120.18
81
+ * @version 1.120.20
82
82
  *
83
83
  * @public
84
84
  * @deprecated As of version 1.48, please use {@link sap.ui.model.odata.v2.ODataModel} instead.
@@ -87,7 +87,7 @@ sap.ui.define([
87
87
  * @extends sap.ui.model.odata.type.ODataType
88
88
  *
89
89
  * @author SAP SE
90
- * @version 1.120.18
90
+ * @version 1.120.20
91
91
  *
92
92
  * @alias sap.ui.model.odata.type.Boolean
93
93
  * @param {object} [oFormatOptions]
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.model.odata.type.Int
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.120.18
27
+ * @version 1.120.20
28
28
  *
29
29
  * @alias sap.ui.model.odata.type.Byte
30
30
  * @param {object} [oFormatOptions]
@@ -65,7 +65,7 @@ sap.ui.define([
65
65
  * @extends sap.ui.model.type.Currency
66
66
  * @public
67
67
  * @since 1.63.0
68
- * @version 1.120.18
68
+ * @version 1.120.20
69
69
  */
70
70
  var Currency = BaseCurrency.extend("sap.ui.model.odata.type.Currency", {
71
71
  constructor : function (oFormatOptions, oConstraints) {
@@ -75,7 +75,7 @@ sap.ui.define([
75
75
  * @extends sap.ui.model.odata.type.ODataType
76
76
  *
77
77
  * @author SAP SE
78
- * @version 1.120.18
78
+ * @version 1.120.20
79
79
  *
80
80
  * @alias sap.ui.model.odata.type.Date
81
81
  * @param {object} [oFormatOptions]
@@ -61,7 +61,7 @@ sap.ui.define([
61
61
  * @extends sap.ui.model.odata.type.DateTimeBase
62
62
  *
63
63
  * @author SAP SE
64
- * @version 1.120.18
64
+ * @version 1.120.20
65
65
  *
66
66
  * @alias sap.ui.model.odata.type.DateTime
67
67
  * @param {object} [oFormatOptions]
@@ -92,7 +92,7 @@ sap.ui.define([
92
92
  * @extends sap.ui.model.odata.type.ODataType
93
93
  * @public
94
94
  * @since 1.27.0
95
- * @version 1.120.18
95
+ * @version 1.120.20
96
96
  */
97
97
  var DateTimeBase = ODataType.extend("sap.ui.model.odata.type.DateTimeBase", {
98
98
  constructor : function (oFormatOptions, oConstraints) {
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.ui.model.odata.type.DateTimeBase
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.120.18
32
+ * @version 1.120.20
33
33
  *
34
34
  * @alias sap.ui.model.odata.type.DateTimeOffset
35
35
  * @param {object} [oFormatOptions]
@@ -45,7 +45,7 @@ sap.ui.define([
45
45
  * @public
46
46
  * @see {sap.ui.model.odata.v2.ODataModel#bindProperty}
47
47
  * @since 1.99.0
48
- * @version 1.120.18
48
+ * @version 1.120.20
49
49
  */
50
50
  var DateTimeWithTimezone = CompositeType.extend("sap.ui.model.odata.type.DateTimeWithTimezone",
51
51
  {
@@ -171,7 +171,7 @@ sap.ui.define([
171
171
  * @extends sap.ui.model.odata.type.ODataType
172
172
  *
173
173
  * @author SAP SE
174
- * @version 1.120.18
174
+ * @version 1.120.20
175
175
  *
176
176
  * @alias sap.ui.model.odata.type.Decimal
177
177
  * @param {object} [oFormatOptions]
@@ -73,7 +73,7 @@ sap.ui.define([
73
73
  * @extends sap.ui.model.odata.type.ODataType
74
74
  *
75
75
  * @author SAP SE
76
- * @version 1.120.18
76
+ * @version 1.120.20
77
77
  *
78
78
  * @alias sap.ui.model.odata.type.Double
79
79
  * @param {object} [oFormatOptions]
@@ -62,7 +62,7 @@ sap.ui.define([
62
62
  * @extends sap.ui.model.odata.type.ODataType
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.120.18
65
+ * @version 1.120.20
66
66
  *
67
67
  * @alias sap.ui.model.odata.type.Guid
68
68
  * @param {object} [oFormatOptions]
@@ -63,7 +63,7 @@ sap.ui.define([
63
63
  * @extends sap.ui.model.odata.type.ODataType
64
64
  *
65
65
  * @author SAP SE
66
- * @version 1.120.18
66
+ * @version 1.120.20
67
67
  *
68
68
  * @abstract
69
69
  * @alias sap.ui.model.odata.type.Int
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.model.odata.type.Int
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.120.18
27
+ * @version 1.120.20
28
28
  *
29
29
  * @alias sap.ui.model.odata.type.Int16
30
30
  * @param {object} [oFormatOptions]
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.model.odata.type.Int
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.120.18
27
+ * @version 1.120.20
28
28
  *
29
29
  * @alias sap.ui.model.odata.type.Int32
30
30
  * @param {object} [oFormatOptions]
@@ -119,7 +119,7 @@ sap.ui.define([
119
119
  * @extends sap.ui.model.odata.type.ODataType
120
120
  *
121
121
  * @author SAP SE
122
- * @version 1.120.18
122
+ * @version 1.120.20
123
123
  *
124
124
  * @alias sap.ui.model.odata.type.Int64
125
125
  * @param {object} [oFormatOptions]
@@ -116,7 +116,7 @@ sap.ui.define([
116
116
  * @extends sap.ui.model.SimpleType
117
117
  *
118
118
  * @author SAP SE
119
- * @version 1.120.18
119
+ * @version 1.120.20
120
120
  *
121
121
  * @abstract
122
122
  * @alias sap.ui.model.odata.type.ODataType
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.ui.model.odata.type.ODataType
31
31
  * @public
32
32
  * @since 1.37.0
33
- * @version 1.120.18
33
+ * @version 1.120.20
34
34
  */
35
35
  var Raw = ODataType.extend("sap.ui.model.odata.type.Raw", {
36
36
  constructor : function (oFormatOptions, oConstraints) {
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.model.odata.type.Int
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.120.18
27
+ * @version 1.120.20
28
28
  *
29
29
  * @alias sap.ui.model.odata.type.SByte
30
30
  * @param {object} [oFormatOptions]
@@ -73,7 +73,7 @@ sap.ui.define([
73
73
  * @extends sap.ui.model.odata.type.ODataType
74
74
  *
75
75
  * @author SAP SE
76
- * @version 1.120.18
76
+ * @version 1.120.20
77
77
  *
78
78
  * @alias sap.ui.model.odata.type.Single
79
79
  * @param {object} [oFormatOptions]
@@ -60,7 +60,7 @@ sap.ui.define([
60
60
  * @extends sap.ui.model.odata.type.ODataType
61
61
  * @public
62
62
  * @since 1.51.0
63
- * @version 1.120.18
63
+ * @version 1.120.20
64
64
  */
65
65
  var Stream = ODataType.extend("sap.ui.model.odata.type.Stream", {
66
66
  constructor : function (oFormatOptions, oConstraints) {
@@ -84,7 +84,7 @@ sap.ui.define([
84
84
  * @extends sap.ui.model.odata.type.ODataType
85
85
  *
86
86
  * @author SAP SE
87
- * @version 1.120.18
87
+ * @version 1.120.20
88
88
  *
89
89
  * @alias sap.ui.model.odata.type.String
90
90
  * @param {object} [oFormatOptions]
@@ -138,7 +138,7 @@ sap.ui.define([
138
138
  * @extends sap.ui.model.odata.type.ODataType
139
139
  *
140
140
  * @author SAP SE
141
- * @version 1.120.18
141
+ * @version 1.120.20
142
142
  *
143
143
  * @alias sap.ui.model.odata.type.Time
144
144
  * @param {object} [oFormatOptions]
@@ -92,7 +92,7 @@ sap.ui.define([
92
92
  * @extends sap.ui.model.odata.type.ODataType
93
93
  * @public
94
94
  * @since 1.37.0
95
- * @version 1.120.18
95
+ * @version 1.120.20
96
96
  */
97
97
  var TimeOfDay = ODataType.extend("sap.ui.model.odata.type.TimeOfDay", {
98
98
  constructor : function (oFormatOptions, oConstraints) {
@@ -66,7 +66,7 @@ sap.ui.define([
66
66
  * @extends sap.ui.model.type.Unit
67
67
  * @public
68
68
  * @since 1.63.0
69
- * @version 1.120.18
69
+ * @version 1.120.20
70
70
  */
71
71
  var Unit = BaseUnit.extend("sap.ui.model.odata.type.Unit", {
72
72
  constructor : function (oFormatOptions, oConstraints, aDynamicFormatOptionNames) {
@@ -64,7 +64,7 @@ sap.ui.define([
64
64
  * @hideconstructor
65
65
  * @public
66
66
  * @since 1.93.0
67
- * @version 1.120.18
67
+ * @version 1.120.20
68
68
  */
69
69
  var Context = BaseContext.extend("sap.ui.model.odata.v2.Context", {
70
70
  constructor : function (oModel, sPath, sDeepPath, oCreatePromise, bInactive,
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @class Annotation loader for OData V2 services
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.120.18
39
+ * @version 1.120.20
40
40
  *
41
41
  * @public
42
42
  * @since 1.37.0
@@ -218,7 +218,7 @@ sap.ui.define([
218
218
  * This model is not prepared to be inherited from.
219
219
  *
220
220
  * @author SAP SE
221
- * @version 1.120.18
221
+ * @version 1.120.20
222
222
  *
223
223
  * @public
224
224
  * @alias sap.ui.model.odata.v2.ODataModel
@@ -102,7 +102,7 @@ sap.ui.define([
102
102
  * @extends sap.ui.model.TreeBinding
103
103
  * @hideconstructor
104
104
  * @public
105
- * @version 1.120.18
105
+ * @version 1.120.20
106
106
  */
107
107
  var ODataTreeBinding = TreeBinding.extend("sap.ui.model.odata.v2.ODataTreeBinding", /** @lends sap.ui.model.odata.v2.ODataTreeBinding.prototype */ {
108
108
 
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @hideconstructor
43
43
  * @public
44
44
  * @since 1.39.0
45
- * @version 1.120.18
45
+ * @version 1.120.20
46
46
  */
47
47
  Context = BaseContext.extend("sap.ui.model.odata.v4.Context", {
48
48
  constructor : constructor
@@ -74,7 +74,7 @@ sap.ui.define([
74
74
  * @mixes sap.ui.model.odata.v4.ODataParentBinding
75
75
  * @public
76
76
  * @since 1.37.0
77
- * @version 1.120.18
77
+ * @version 1.120.20
78
78
  *
79
79
  * @borrows sap.ui.model.odata.v4.ODataBinding#getGroupId as #getGroupId
80
80
  * @borrows sap.ui.model.odata.v4.ODataBinding#getRootBinding as #getRootBinding
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * @mixes sap.ui.model.odata.v4.ODataParentBinding
58
58
  * @public
59
59
  * @since 1.37.0
60
- * @version 1.120.18
60
+ * @version 1.120.20
61
61
  * @borrows sap.ui.model.odata.v4.ODataBinding#getGroupId as #getGroupId
62
62
  * @borrows sap.ui.model.odata.v4.ODataBinding#getRootBinding as #getRootBinding
63
63
  * @borrows sap.ui.model.odata.v4.ODataBinding#getUpdateGroupId as #getUpdateGroupId
@@ -156,7 +156,7 @@ sap.ui.define([
156
156
  * @hideconstructor
157
157
  * @public
158
158
  * @since 1.37.0
159
- * @version 1.120.18
159
+ * @version 1.120.20
160
160
  */
161
161
  ODataMetaModel = MetaModel.extend("sap.ui.model.odata.v4.ODataMetaModel", {
162
162
  constructor : constructor
@@ -234,7 +234,7 @@ sap.ui.define([
234
234
  * @extends sap.ui.model.Model
235
235
  * @public
236
236
  * @since 1.37.0
237
- * @version 1.120.18
237
+ * @version 1.120.20
238
238
  */
239
239
  ODataModel = Model.extend("sap.ui.model.odata.v4.ODataModel",
240
240
  /** @lends sap.ui.model.odata.v4.ODataModel.prototype */{
@@ -1450,13 +1450,16 @@ sap.ui.define([
1450
1450
  * the longtext URL
1451
1451
  * @param {string} [sCachePath]
1452
1452
  * The cache-relative path to the entity; used to resolve the targets
1453
+ * @param {object} [oOriginalMessage=oRawMessage]
1454
+ * The original message object which is used to create the technical details
1453
1455
  * @returns {sap.ui.core.message.Message}
1454
1456
  * The created UI5 message object
1455
1457
  *
1456
1458
  * @private
1457
1459
  */
1458
1460
  // eslint-disable-next-line valid-jsdoc -- .@$ui5. is not understood properly
1459
- ODataModel.prototype.createUI5Message = function (oRawMessage, sResourcePath, sCachePath) {
1461
+ ODataModel.prototype.createUI5Message = function (oRawMessage, sResourcePath, sCachePath,
1462
+ oOriginalMessage = oRawMessage) {
1460
1463
  var bIsBound = typeof oRawMessage.target === "string",
1461
1464
  sMessageLongtextUrl = oRawMessage.longtextUrl,
1462
1465
  aTargets,
@@ -1491,7 +1494,7 @@ sap.ui.define([
1491
1494
  // Note: "" instead of undefined makes filtering easier (agreement with FE!)
1492
1495
  target : bIsBound ? aTargets : "",
1493
1496
  technical : oRawMessage.technical,
1494
- technicalDetails : _Helper.createTechnicalDetails(oRawMessage),
1497
+ technicalDetails : _Helper.createTechnicalDetails(oOriginalMessage),
1495
1498
  type : aMessageTypes[oRawMessage.numericSeverity] || MessageType.None
1496
1499
  });
1497
1500
  };
@@ -2435,24 +2438,49 @@ sap.ui.define([
2435
2438
 
2436
2439
  /**
2437
2440
  * Reports the given OData transition messages by firing a <code>messageChange</code> event with
2438
- * the new messages.
2441
+ * the new messages. Takes care of adjusting message targets for bound operations' binding
2442
+ * parameters.
2439
2443
  *
2440
2444
  * @param {object[]} aMessages
2441
2445
  * An array of messages suitable for {@link #createUI5Message}
2442
2446
  * @param {string} [sResourcePath]
2443
- * The resource path of the cache that saw the messages; used to resolve the longtext URL
2447
+ * The resource path of the cache that saw the messages; used to resolve the longtext URL and
2448
+ * for adjusting a message target in case it is an operation parameter, except the binding
2449
+ * parameter
2444
2450
  *
2445
2451
  * @private
2446
2452
  */
2447
2453
  ODataModel.prototype.reportTransitionMessages = function (aMessages, sResourcePath) {
2448
- var that = this;
2454
+ var sContextPath, oOperationMetadata;
2455
+
2456
+ if (!aMessages.length) {
2457
+ return;
2458
+ }
2449
2459
 
2450
- if (aMessages && aMessages.length) {
2451
- Messaging.updateMessages(undefined, aMessages.map(function (oMessage) {
2452
- oMessage.transition = true;
2453
- return that.createUI5Message(oMessage, sResourcePath);
2454
- }));
2460
+ if (sResourcePath) {
2461
+ const oMetaModel = this.getMetaModel();
2462
+ sContextPath = "/" + sResourcePath.split("?")[0]; // remove query string
2463
+ const sMetaPath = _Helper.getMetaPath(sContextPath);
2464
+ const vMetadata = oMetaModel.getObject(sMetaPath);
2465
+ if (Array.isArray(vMetadata)) {
2466
+ // normally, ODCB#_invoke has already checked that there is exactly one overload;
2467
+ // in rare case w/o #invoke, such a check is missing
2468
+ oOperationMetadata = oMetaModel.getObject(sMetaPath + "/@$ui5.overload/0");
2469
+ sContextPath = sContextPath.slice(0, sContextPath.lastIndexOf("/"));
2470
+ }
2455
2471
  }
2472
+
2473
+ Messaging.updateMessages(undefined, aMessages.map((oMessage) => {
2474
+ const oOriginalMessage = oMessage;
2475
+ if (oOperationMetadata) {
2476
+ oMessage = _Helper.clone(oMessage);
2477
+ // make targets absolute, will not be adjusted again in #createUI5Message
2478
+ _Helper.adjustTargets(oMessage, oOperationMetadata, undefined, sContextPath);
2479
+ }
2480
+ oMessage.transition = true;
2481
+
2482
+ return this.createUI5Message(oMessage, sResourcePath, undefined, oOriginalMessage);
2483
+ }));
2456
2484
  };
2457
2485
 
2458
2486
  /**
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @mixes sap.ui.model.odata.v4.ODataBinding
43
43
  * @public
44
44
  * @since 1.37.0
45
- * @version 1.120.18
45
+ * @version 1.120.20
46
46
  * @borrows sap.ui.model.odata.v4.ODataBinding#getGroupId as #getGroupId
47
47
  * @borrows sap.ui.model.odata.v4.ODataBinding#getRootBinding as #getRootBinding
48
48
  * @borrows sap.ui.model.odata.v4.ODataBinding#getUpdateGroupId as #getUpdateGroupId
@@ -3992,6 +3992,7 @@ sap.ui.define([
3992
3992
  var sResourcePath = this.sResourcePath + this.sQueryString,
3993
3993
  that = this;
3994
3994
 
3995
+ this.registerChangeListener(sPath, oListener);
3995
3996
  if (this.oPromise) {
3996
3997
  oGroupLock.unlock();
3997
3998
  } else {
@@ -4014,7 +4015,6 @@ sap.ui.define([
4014
4015
  if (oResult && oResult["$ui5.deleted"]) {
4015
4016
  throw new Error("Cannot read a deleted entity");
4016
4017
  }
4017
- that.registerChangeListener(sPath, oListener);
4018
4018
  return that.drillDown(oResult, sPath, oGroupLock, bCreateOnDemand);
4019
4019
  });
4020
4020
  };
@@ -163,8 +163,9 @@ sap.ui.define([
163
163
  * @param {object} oOperationMetadata
164
164
  * The operation metadata to determine whether a given message target is a parameter
165
165
  * of the operation
166
- * @param {string} sParameterContextPath
167
- * The parameter context path
166
+ * @param {string} [sParameterContextPath]
167
+ * The parameter context path, needed for adjusting a message target in case it is an
168
+ * operation parameter, except the binding parameter
168
169
  * @param {string} [sContextPath]
169
170
  * The context path for a bound operation
170
171
  *
@@ -172,7 +173,9 @@ sap.ui.define([
172
173
  */
173
174
  adjustTargets : function (oMessage, oOperationMetadata, sParameterContextPath,
174
175
  sContextPath) {
175
- var sAdditionalTargetsKey = _Helper.getAnnotationKey(oMessage, ".additionalTargets"),
176
+ var sAdditionalTargetsKey = "additionalTargets" in oMessage
177
+ ? "additionalTargets"
178
+ : _Helper.getAnnotationKey(oMessage, ".additionalTargets"),
176
179
  aTargets;
177
180
 
178
181
  aTargets = [oMessage.target].concat(oMessage[sAdditionalTargetsKey])
@@ -1267,8 +1270,9 @@ sap.ui.define([
1267
1270
  * @param {object} oOperationMetadata
1268
1271
  * The operation metadata to determine whether a given message target is a parameter
1269
1272
  * of the operation
1270
- * @param {string} sParameterContextPath
1271
- * The parameter context path
1273
+ * @param {string} [sParameterContextPath]
1274
+ * The parameter context path, needed for adjusting a message target in case it is an
1275
+ * operation parameter, except the binding parameter
1272
1276
  * @param {string} [sContextPath]
1273
1277
  * The context path for a bound operation
1274
1278
  * @returns {string|undefined} The adjusted target, or <code>undefined</code> if the target
@@ -1277,7 +1281,7 @@ sap.ui.define([
1277
1281
  * @private
1278
1282
  */
1279
1283
  getAdjustedTarget : function (sTarget, oOperationMetadata, sParameterContextPath,
1280
- sContextPath) {
1284
+ sContextPath) {
1281
1285
  var bIsParameterName,
1282
1286
  sParameterName,
1283
1287
  aSegments;
@@ -1293,6 +1297,9 @@ sap.ui.define([
1293
1297
  sTarget = _Helper.buildPath(sContextPath, aSegments.join("/"));
1294
1298
  return sTarget;
1295
1299
  }
1300
+ if (!sParameterContextPath) {
1301
+ return sTarget;
1302
+ }
1296
1303
  bIsParameterName = oOperationMetadata.$Parameter.some(function (oParameter) {
1297
1304
  return sParameterName === oParameter.$Name;
1298
1305
  });
@@ -227,7 +227,7 @@ sap.ui.define([
227
227
  *
228
228
  * @extends sap.ui.model.Model
229
229
  * @public
230
- * @version 1.120.18
230
+ * @version 1.120.20
231
231
  */
232
232
  var ResourceModel = Model.extend("sap.ui.model.resource.ResourceModel", /** @lends sap.ui.model.resource.ResourceModel.prototype */ {
233
233