-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Labels
Description
Hello, found some strange behavior while engine load the page, each section and snippet have two same requests in database:
backend | MONGODB | mongo:27017 req:351 conn:1:1 | db.find | STARTED | {"find"=>"locomotive_snippets", "filter"=>{"site_id"=>BSON::ObjectId('63ca70a0e994470008842af1'), "slug"=>"need_guidance_form"}, "$db"=>"db", "lsid"=>{"id"=><BSON::Binary:0x78120 type=uuid data=0x9c326c8701694bf9...>}}
backend | MONGODB | mongo:27017 req:354 conn:1:1 | db.find | STARTED | {"find"=>"locomotive_snippets", "filter"=>{"site_id"=>BSON::ObjectId('63ca70a0e994470008842af1'), "slug"=>"need_guidance_form"}, "$db"=>"db", "lsid"=>{"id"=><BSON::Binary:0x78120 type=uuid data=0x9c326c8701694bf9...>}}
My pages:
layouts/default:
<body class="page-{{page.slug}}">
{% block 'main' %}
{% endblock %}
{% include 'footer' %}
{{ 'main.bundle.js' | javascript_tag }}
</body>
index page:
{% extends 'layouts/default' %}
{% block 'main' %}
{% section 'need_guidance_form' %}
...
other sections
{% endblock %}
Update 19.02.2023
Section finder service called from two different classes/modules, first is FileSystem class and second still not found.
Any idea what's going on?