[MGNLREST-235] Error Messages provided by the Nodes endpoint are not helpful Created: 06/May/20  Updated: 26/Sep/22  Resolved: 26/Sep/22

Status: Closed
Project: Magnolia REST Framework
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Marty Glaubitz Assignee: Christopher Zimmermann
Resolution: Outdated Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 10


Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

We encountered a few cases where trying to update a node via the REST API failed with a generic error like " {"error":{"code":"unknown","message":"Unable to perform operation. Node is protected."}}". Those cases were usually when trying to write a JCR interal property like "jcr:mixinTypes".

It would be helpfull if either the error messages were a bit more specific or if the documentation would mention operations which usually lead to such obscure errors

 



 Comments   
Comment by Christopher Zimmermann [ 26/Sep/22 ]

Fixed in https://jira.magnolia-cms.com/browse/MGNLREST-79

 

Generated at Mon Feb 12 06:57:57 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.