openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

Missing If-Match Header on callFunction in odata v2

Open Fjaoos opened this issue 10 years ago • 5 comments

OpenUI5 version: 1.36.11 Browser/version (+device/version): All Any other tested browsers/devices(OK/FAIL):

URL (minimal example if possible):

User/password (if required and possible - do not post any confidential information here):

Steps to reproduce the problem:

  1. use callFunction of odatamodel v2 with the etag parameter

What is the expected result? A Request with an if-match header What happens instead? No If-Match created Any other information? (attach screenshot if possible) etag2 etag1

Fjaoos avatar Jun 22 '16 12:06 Fjaoos

Hi,

thanks for reporting this, the responsible developer will check this. Tracked internally: 1680094642

Best regards, Tobias

ghost avatar Jun 24 '16 14:06 ghost

Done. ETag will only be applied for POST functions as GET functions must not change any data.

loginger avatar Jul 27 '16 12:07 loginger

Thanks a lot :) @loginger can you tell me the version the fix will be shipped with?

Fjaoos avatar Jul 28 '16 06:07 Fjaoos

The fix is included in 1.38.6, 1.40.4 and master...

loginger avatar Aug 15 '16 08:08 loginger

Unfortunately this issue was not referenced in the commits: master 8a0865ab0429b6929cf0549f074add9a4e3e0c00 1.38 9226cf26b40ff2e16345964f2e344de4ea3c13e1 1.40 e1c79095181139abb94c2c06bfceb31b5746756d

matz3 avatar Aug 17 '16 11:08 matz3