- Issue created by @ericgsmith
- 🇳🇿New Zealand ericgsmith
Attached is a patch and test with the approach of using a nested render array.
There are no automated tests setup on this module so these need to be run offline.
- Status changed to Needs review
almost 2 years ago 7:44pm 24 May 2023 - Status changed to RTBC
almost 2 years ago 2:21am 26 May 2023 - 🇳🇿New Zealand RoSk0 Wellington
I've followed the steps to reproduce and:
configuredTags
field on theDefault
display mode to beRendered entity
,Rendered as Default
andDelimited by: -|-
configuredTags
field on theTeaser
display mode to beRendered entity
,Rendered as Default
andDelimited by: ,,
cleared the caches withdrush cr
, just in case
visited/node/1
, which is just created article with 3 tags
and observed - in addition to my-|-
delimiter I can see a comma
exactly same output is visible on the home page, which is teaser view modeAfter applying the patch and clearing the caches default display haven't changed, teaser did however - no it shows three commas!
So it looks like the patch does fix cache pollution, but the problem of extra comma is still present. Will see if I can find where is that coming from.
Patch and test looks good.
- 🇳🇿New Zealand RoSk0 Wellington
No issues here - that additional comma is hard coded for the
tags
field in the Olivero theme. This patch is just what we needed. Hope this gets committed soon. Thanks.
- Merge request !8Issue #3362292: Module can pollute the render cache when used with a field... → (Open) created by ericgsmith
- 🇳🇿New Zealand ericgsmith
Moved patch to gitlab to hopefully see this get committed - we have been using this patch for coming up 20 months without issue.
Tests are not running in gitlab but still pass locally, I will open another issue to get CI setup.