- Issue created by @starglide
- 🇮🇳India Hritick
hey @starglide , kindly post issues in English so that everyone can understand and make there point.
thanks and regards.
- 🇮🇹Italy arturopanetta Grotteria (RC)
@starglide, @Hritick is right, on drupal.org they speak in English.
@alice, however you are right it's a bug. A bug with no negative effects though.
The bug is caused by this line of code: https://git.drupalcode.org/project/bootstrap_italia/-/blob/2.x/modules/b...
Drupal automatically creates a single twig namespace that points to the "templates" folder of each module or theme, for example the "@foo" twig namespace will point to the "foo/templates/" folder of the "foo" module.
In the specific case for the "bootstrap_italia_paragraph" module, drupal automatically builds a namespace "@bootstrap_italia_paragraph" which points to the "/themes/contrib/boostrap_italia/modules/bootstrap_italia_paragraph/templates" folder. But at the same time a new namespace is defined on line 16 of "bootstrap_italia_paragraph.info.yml" which overwrites the one automatically created by drupal.
Obviously my intentions when I wrote this piece of code were not to override the automatic namespace that drupal creates, so it's a bug.
I don't think the proposed solution is correct as the namespace is used in many other parts, so making the proposed change would break other parts of code.
-
arturopanetta →
committed f0823c68 on 2.x
Fix!: issue #3449377 bi-paragraph-base.html.twig not found
-
arturopanetta →
committed f0823c68 on 2.x
- Status changed to Needs review
7 months ago 8:03am 30 May 2024 -
arturopanetta →
committed f0823c68 on 2.8.x
Fix!: issue #3449377 bi-paragraph-base.html.twig not found
-
arturopanetta →
committed f0823c68 on 2.8.x
- Status changed to Fixed
7 months ago 8:31am 30 May 2024 Automatically closed - issue fixed for 2 weeks with no activity.