msgraph-sdk-java icon indicating copy to clipboard operation
msgraph-sdk-java copied to clipboard

OperationStatus not correctly decoded from JSON

Open pschichtel opened this issue 1 year ago • 2 comments

Describe the bug

OperationStatus.forValue() expects the value to be capitalized, however the webhooks receive e.g. PlayPromptOperation entities with the value starts with a small letter. So the SDK expects "Running", but receives "running".

Expected behavior

Status is properly decoded

How to reproduce

Decode a webhook notification collection that contains a PlayPromptOperation entity as data.

SDK Version

6.20

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

No response

Configuration

No response

Other information

No response

pschichtel avatar Nov 20 '24 21:11 pschichtel

This affects all commOperations objects.

pschichtel avatar Nov 22 '24 19:11 pschichtel

Thanks for reporting this @pschichtel Following up internally with the service team

Internal IcM ref - https://portal.microsofticm.com/imp/v5/incidents/details/576794610

Ndiritu avatar Dec 17 '24 17:12 Ndiritu