[MGNLSTK-662] Model executes twice when the project is other than the demo ones Created: 08/Jul/10  Updated: 21/Jul/10  Resolved: 21/Jul/10

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: None
Affects Version/s: 1.3.1
Fix Version/s: 1.3.2

Type: Bug Priority: Critical
Reporter: Teresa Miyar Assignee: Philipp Bärfuss
Resolution: Not an issue Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
caused by MGNLSTK-663 logo: avoid rendering img tags with a... Closed
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

To reproduce:

Create a new home page, add subpage contact form and open subpage.



 Comments   
Comment by Philipp Bärfuss [ 12/Jul/10 ]

After some investigation I can say that:

  • this happens only with Safari but not with Firefox
  • two independent requests are sent
  • no redirect headers were set (tested with curl)

Why is Safari sending the request twice?

Comment by Philipp Bärfuss [ 13/Jul/10 ]

Some more findings:

  • it doesn't depend on a specific template: section, articles show the same behavior
  • is triggered by something in [#include def.header.template] (included in the main.ftl)
Comment by Philipp Bärfuss [ 16/Jul/10 ]

The model was not executed twice for the same request; this was only happening when rendering an empty img tag (which triggers a request to the same page in safari), which is fixed by MGNLSTK-663.

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