[MGNLGS-113] ContentType of XML-Sitemap is text/html Created: 02/Dec/15  Updated: 25/Apr/16  Resolved: 09/Mar/16

Status: Closed
Project: Google Sitemap (closed)
Component/s: None
Affects Version/s: 2.3.2
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Fabian Schneider Assignee: Unassigned
Resolution: Duplicate Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
depends upon MAGNOLIA-6452 Add contentType field to renderers Closed
duplicate
duplicates MGNLGS-112 Attempting to access a SiteMap fails ... Closed
relation
is related to MGNLGS-114 RegistrationException on Magnolia 5.4.3 Closed
supersession
is superseded by MGNLGS-119 ContentType of XML-Sitemap wrong (Reg... Closed
Template:
Acceptance criteria:
Empty

 Description   

Hello,

we discovered after upgrading to Magnolia 5.4 that the content type of XML sitemaps is set to text/html instead of application/xml.
This is caused by the info.magnolia.rendering.renderer.FreemarkerRenderer#onRender method.

I can't reproduce it on the demo instance because I get there an info.magnolia.registry.RegistrationException from the rendering filter.

Greetings,
Fabian


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