Details
-
Bug
-
Resolution: Unresolved
-
Neutral
-
None
-
6.2.42
-
None
-
None
Description
Steps to reproduce
- Create a light module with the two attached definitions, one rest client and one webhook using the rest client.
- With Magnolia running, modify the webhook config as shown in the source so that the rest client is incorrectly referenced. The webhook now refers to a non-existent rest client.
- Open the Definitions app and see that there is a "Severe" error message attached to the webhook config, "A rest client definition [NotTheExampleRestClient] does not exist"
Expected results
When YAML config is reloaded we parse it for errors and show them in the server console output. As a developer working on many YAML files, it is easier to watch a terminal than it is to keep on opening/refreshing the Definitions app so this is a useful feature. It would be reasonable to expect the naming mismatch to appear here alongside any syntax errors.
Actual results
No mention is made of the error. Only the Definitions app shows a message.
Checklists
Acceptance criteria