-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong handles: & becomes and-amp #30
Comments
What's the handle for Text field in Section 1 ? Is it ok ? |
@jonmisfud any ideas ? Would it be related to this: https://github.com/symphonists/association_field/blob/master/fields/field.association.php#L385 ? |
I just updated an older symphony project and faced exactly the same problem! I also tested the datasource-output of associated items in other installations to backtrace where this behavior comes from and it looks like it's happening since Symphony 2.6.X, no matter which version of association field is used…
Haven't tested if it affects datasource filtering too, but it can definitively cause troubles in the templates if you use the associated item-handles for further handle-based features/routing/etc. Will try to do some further investigations as soon as I find the time, but for now I'll just leave this information here. |
Associated entry handles with an ampersand turn into
and-amp
. This happens both in standard English installations and installations in another language (in my case German).Example
Section 1: Text field. Entry:
Bread & Butter
Section 2: Association to section 1's textfield
Data source: Section 2: association
XML:
bread-and-amp-butter
.Symphony 2.7.7
Association field 2.1.0
The text was updated successfully, but these errors were encountered: