- Issue created by @pvbergen
- π¨πSwitzerland pvbergen
I've already added my working code to the fork branch. I also included a test method analogous to testSeparator, but I couldn't find a good test case for creating metatags without having tokens. Maybe somebody has an idea.
- Status changed to Needs review
over 1 year ago 4:06pm 15 June 2023 - last update
over 1 year ago 107 pass, 3 fail - @damienmckenna opened merge request.
- πΊπΈUnited States DamienMcKenna NH, USA
Thank you for pointing out this flaw, and yes, there needs to be a distinction between the two operations.
I turned your issue fork into a merge request and it has triggered the testbot, let's see what the tests say.
- πΊπΈUnited States DamienMcKenna NH, USA
Changing this to a bug, because it's a regression on existing functionality, and this blocks the 2.0.0 release.
- πΊπΈUnited States DamienMcKenna NH, USA
I wonder if it'd be better to just identify where values are combined and change those lines to use commas to join the strings instead of using the custom separator?
- Status changed to Needs work
over 1 year ago 5:58pm 15 June 2023 - πΊπΈUnited States DamienMcKenna NH, USA
Let's go with my comment above and fix the output so strings are concatenated the old way.
- π¨πSwitzerland pvbergen
Going with a fixed comma to combine results into a string is a valid option, indeed. I may have gotten carried away making it configurable.
Of the top of my head, I can't think of a case, where we actually need a configurable value. Especially, as it is a global setting.I would still use MetatagSeparator::getCombinator or similar to get the value, even if it is fixed. This would allow to easily add a configurable option or alter it in the future.
- πΊπΈUnited States DamienMcKenna NH, USA
I think using a method to get a fixed value is overdoing it, we can just do commas for now.
- last update
over 1 year ago 113 pass - @pvbergen opened merge request.
- π¨πSwitzerland pvbergen
I've added a second branch where the combinator is a hardcoded comma.
- Status changed to Needs review
over 1 year ago 10:09am 20 June 2023 - πΊπΈUnited States DamienMcKenna NH, USA
Thank you. I'll review that today.
-
DamienMcKenna β
committed f03240e8 on 2.0.x authored by
pvbergen β
Issue #3367071 by pvbergen, DamienMcKenna: Custom separator also used...
-
DamienMcKenna β
committed f03240e8 on 2.0.x authored by
pvbergen β
- Status changed to Fixed
over 1 year ago 12:55pm 20 June 2023 Automatically closed - issue fixed for 2 weeks with no activity.