[MAGNOLIA-7841] CLONE - Status Endpoint Triggers Warnings Created: 01/Jul/20  Updated: 23/Jul/20

Status: Open
Project: Magnolia
Component/s: None
Affects Version/s: 6.2.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Chris Jennings Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: maintenance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

Calling the status endpoint (https://documentation.magnolia-cms.com/display/DOCS62/REST+services+health+check) causes two warnings to be logged by the ContentTypeFilter registered at /server/filters/contentType. ie.

info.magnolia.cms.filters.ContentTypeFilter
Response is not committed yet. Setting content type: text/html.

info.magnolia.cms.filters.ContentTypeFilter
Content type for https://DOMAIN.magnolia-cloud.com/.rest/status is not set.

The filter cannot be bypassed because of MAGNOLIA-7839 but the warnings pollute the logs.


Generated at Mon Feb 12 04:27:19 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.