Closed (fixed)
Project:
Unitag
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
28 Jul 2009 at 21:31 UTC
Updated:
13 May 2010 at 19:11 UTC
Jump to comment: Most recent file
If I enable read-only mode for a content type, and then preview a new node of that type, any new tags that I had entered are lost.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | unitag-DRUPAL-6--1_533802_tags_preview.patch | 930 bytes | dboulet |
Comments
Comment #1
dboulet commentedI'm not sure what the right approach to fix this is. Here's one option, skipping the form validation code if the node is being displayed as a preview.
Comment #2
avpadernoI have the same problem; I was previewing a node created as first user, and the free tags has been replaced by quotation marks.
Comment #3
softrusher commentedPatch#1 does not work if the site uses any other language than english because
$form_state['values']['op']is translated. I used($form_state['clicked_button']['#submit']['0'] != 'node_form_build_preview')now but don't know if its the right way.Comment #4
Zen commentedFixed with
Comment #6
funkytraffic commentedThe patch in the dev version in fact helps out, but there is an error message, saying:
warning: Invalid argument supplied for foreach() [mywebsitefolder]/modules/taxonomy/taxonomy.module on line 70.
Comment #7
avpaderno@funkytraffic: Are you sure the error is caused by Unitag?