-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
bugSomething isn't workingSomething isn't workingjavaPull requests that update java codePull requests that update java code
Description
Describe the bug
The user is unable to perform an update on an annotation that adds a via property.
To Reproduce
Steps to reproduce the behavior:
- create anntation without using the via property
- PUT via to annotation
- get Error
"status":"409",
"error":"UnallowedPropertyChangeException",
"message":"via properties cannot change",
Expected behavior
The error likely stems from this claim in the WAP
Servers SHOULD reject update requests that modify the values of the canonical or via properties, if they have been already set, unless business logic allows the request to be trusted as authoritatively correctly a previous error.
https://www.w3.org/TR/annotation-protocol/#update-an-existing-annotation
However, this should never trigger if the via field does NOT pre-exist.
This bug likely also concerns the canonical property
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingjavaPull requests that update java codePull requests that update java code