sapmentors / cap-community

SAP CAP Community
MIT License
97 stars 26 forks source link

Update virtual and @readonly fields #45

Closed wattnu closed 4 years ago

wattnu commented 4 years ago

Not sure whether it is a bug or a feature: When I'm sending PUT requests to update virtual fields or fields annotated with @readonly, updating is not happening (correct!), but the response status is 200 OK. So, the http client gets no indication that he is trying to work against the model. (cds version 3.31.1 on Node.js).

I would consider this to be an error, but I don't know what others think about it ... ?

Klaus

wattnu commented 4 years ago

Addressed as well to https://answers.sap.com/questions/13008013/update-virtual-and.html

wattnu commented 4 years ago

Answered by https://answers.sap.com/questions/13008013/update-virtual-and.html