Open rbruch opened 10 years ago
@rbruch Is this still an issue in Plone 4.3 (AT 1.9) and beyond?
Hi Tom, I'm not sure if this issue persists in Plone 4.3/AT 1.9 because I have not updated our site beyond 4.2.7 (and am still using my hacked-up egg as mentioned above).
Using a widget in view mode should display the "value" but now instead it displays the "key".
This page template code:
<tal:topic condition="context/field_with_ATVM_vocab"> <metal:field use-macro="python:context.widget('field_with_ATVM_vocab', mode='view')"> Replaced words</metal:field></p> </tal:topic>
used to return a list of vocabulary values but now returns a list of vocabulary keys.
Problem seems to come from changes related to this note in Archetypes 1.8.7:
I can get the correct behavior back by replacing in my AT 1.8.8 egg the file: Products/Archetypes/skins/archetypes/displayValue.py and associated widget templates, e.g.: Products/Archetypes/skins/archetypes/widgets/picklist.pt from AT 1.8.6.
I'm stuck after getting this far. Let me know if more info would be helpful.