Azure / Azure/azure-cosmosdb-java
Replace throws ambiguous exception on replace when self link is null
Open
v2
- Dominant language
- Java
- Stars
- 59
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Replace throws ambiguous exception on replace when self link is null.
**To Reproduce**
1. Create a trigger without a self link
2. Call client.ReplaceTrigger(updateTrigger);
**Expected behavior**
java.lang.IllegalArgumentException: The self link property is required for replace operations.
**Actual behavior**
java.lang.IllegalArgumentException: Entity with the specified id does not exist in the system.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.