Closed (fixed)
Project:
Taxonomy Defaults
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2009 at 13:17 UTC
Updated:
16 May 2012 at 15:03 UTC
When I define a hidden default value on a form, it does not appear on add or edit. When I preview my node, my hidden taxonomy element appears.
Why do you use the
... && !isset($form_state['node_preview'])) {
in your alter condition ?
Comments
Comment #1
bzzz commentedI have the same problem. And also don't understand why that condition is used.
It seems to works without it. Or may be I don't know any problems without this condition? Please answer.
Comment #2
hillaryneaf commentedAny update on this bug (whether or not it will be fixed)? It's an issue on my site as well...
Comment #3
bradweikel commentedChecked in a fix.
Comment #5
Alice Heaton commentedHello,
Just for information : fixing this issue created another one : #1005944: Reset of user taxonomy terms choice upon preview. I have written a patch which fixes the new issue without re-introducing this one : http://drupal.org/node/1005944#comment-6003648
I thought people here might want to double check the patch to confirm it does not re-introduce this issue.
Thanks.