Use SiteMesh as module for snippet injection (MSITEMESH-8)

[MSITEMESH-16] MagnoliaContentProcessor#content must be unique per request Created: 17/Dec/14  Updated: 09/Jan/15  Resolved: 05/Jan/15

Status: Closed
Project: SiteMesh
Component/s: None
Affects Version/s: 1.0
Fix Version/s: 1.0

Type: Sub-task Priority: Critical
Reporter: Roman Kovařík Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Date of First Response:

 Description   

There are some conflicts on parallel requests. 0-3 Errors always on different request.
Errors from different builds to track a pattern:

Templating Error - http://localhost:9399/magnoliaTest/demo-project/multimedia~mgnlArea=content~
    The whole page was rendered instead of single area.
Templating Error - http://localhost:9399/magnoliaTest/demo-features/special-templates/glossary/t/t4.html
    Nothing rendered.
Templating Error - http://localhost:8399/magnoliaTest/demo-features/special-templates/glossary/e/e1.html
    Nothing rendered.
Templating Error - http://localhost:9399/magnoliaTest/demo-project/service/dummy-events/another-event-16~mgnlArea=foote...
    The whole page was rendered instead of single area.
Templating Error - http://localhost:8399/magnoliaTestPublic/jsp-sample-site/jsp-products/product1
    Nothing rendered.


 Comments   
Comment by Roman Kovařík [ 18/Dec/14 ]

It seems like crawler checks content of a different request (checked by usage of debug log in crawler):

Templating Error - http://localhost:8399/magnoliaTest/demo-project/members-area/profile-update~mgnlArea=promos~
    The whole page was rendered instead of single area.
Content:
...a here is printed a content of 'website:/demo-project/news-and-events/events-overview/new-year-s-eve'.

Either SiteMesh swaps contents of requests or the crawler is not thread safe.

Generated at Mon Feb 12 10:56:58 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.