Problem/Motivation
Attempting to modify the settings of the Description field template for a taxonomy term always displays empty fields, even if the template has been edited previously.
Steps to reproduce
Enabling 'Field Templates' in the settings, if I try to modify the template of the fixed description field of a taxonomy term, the input form in the Display Management allows me to enter values but does not display the previously entered values.
For example, if I set 'Expert' as the field template and enter new css classes in the Outer wrapper, these are applied to the field.
However, if I reopen the field for editing the class, the previously entered parameters are not displayed. I can see only empty fields.
Comment | File | Size | Author |
---|---|---|---|
#5 | 3438870-4patch_applied.mp4 | 1.82 MB | fulya.ozsan |
#4 | 3438870-4.patch | 1022 bytes | swentel |
Comments
Comment #2
swentel CreditAttribution: swentel at eps & kaas commentedHmm you're absolutely right, I can easily reproduce as well. It seems to work for other field though, but not description, looking into it!
Comment #3
swentel CreditAttribution: swentel at eps & kaas commentedThe interesting thing is, if you configure, and then save, everything is fine, also during rendering, it's Field UI though where something goes wrong, still digging :)
Comment #4
swentel CreditAttribution: swentel at eps & kaas commentedI think I have it! Are you able to test this patch? I'll be testing it in many places to make sure I haven't broken anything as this is tricky stuff :)
Comment #5
fulya.ozsan CreditAttribution: fulya.ozsan commentedHi all,
I tested the patch in #4 on Drupal version 10.2.5 for Display Suite version 8.x-3.20.
The patch was applied successfully. When I reopened the field to edit the class, the previously entered parameters are displaying. The class is also applied to the field. I uploaded the screen recording video.
Thanks for your contributions.
Comment #7
swentel CreditAttribution: swentel at eps & kaas commentedok, committed and pushed.