Calling toPatchInformation prior to calling patch causes patch to silently fail #2295
Labels
status:waiting-for-triage
An issue that is yet to be reviewed or assigned
type:bug
A broken experience
Describe the bug
When calling a patch operation on an Application request, calling
toPatchInformation
causes the.patch(app)
to not work. If true, then this probably needs either a doc update or a fix.This does not work, but no error is thrown and the logs are clean it seems:
but this works and the application registration is changed
This may be related to something not idempotent and there is some hidden state somewhere.
OTEL logging suggest that the only difference in calling is that the following is called twice when including the
toPatchRequestInformation
prior topatch.
patch
also calls toPatchRequestInformation as well. However,it looks like creating
RequestInformation
is idempotent...hmm...Expected behavior
The patch works even if
toPatchRequestInformation
is called prior to callingpatch
.How to reproduce
SDK Version
6.x, latest
Latest version known to work for scenario above?
No response
Known Workarounds
None
Debug output
Click to expand log
```The text was updated successfully, but these errors were encountered: