Help Needed: Data Source Parameters duplicates since upgrading to Symphony 2.5.1
This is an open discussion with 6 replies, filed under Troubleshooting.
Search
Do you use union datasource? I got that also with union datasource (https://github.com/brendo/uniondatasource/issues/42)
Do you use union datasource? I got that also with union datasource
Yes.
I got this as well, even without union datasource :o
I'm getting something very similar on 2.5.1. Not using Union Datasource.
e.g.
home
<ds-pages.page-type> home </ds-pages.page-type>
Guys, as part of maintaining backwards compatibility with older Symphony, if your datasource has one parameter selected, it will be output twice, once as $ds-handle
, and once as $ds-handle.field-handle
. This is because older versions of Symphony didn't support multiple parameters, so we've duplicate the old way and the new way. Eventually the old style will be removed, but to do so now will probably cause significant backlash.
There is no performance impact or functional impact. Your templates should prefer $ds-handle.field-handle
notion, or even better, data/params/ds-handle.field-handle
.
The Union Datasource appears to have a similar, but different bug where the same value is output multiple times within the parameter definition. Again, no functional impact, just visually looks strange. I don't have any immediate plans to rectify.
Thanks. Wasn't overly concerned but good to know the cause!
Create an account or sign in to comment.
Ever since upgrading to Symphony 2.5.1 (from Symphony 2.3.3), my datasource parameters are outputting duplicates. Do you know what could be causing this?