Closed (fixed)
Project:
Hidden Field Widgets
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Oct 2011 at 09:24 UTC
Updated:
8 Jul 2012 at 07:01 UTC
When the hidden field widgets are used with text fields, is the field value also used in the format field, and not the correct format value.
For example:
<input type="hidden" name="field_title_long_text_dummy[und][0][format]" value="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras semper." />
<input type="hidden" name="field_title_long_text_dummy[und][0][value]" value="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras semper" />
Instead it should be:
<input type="hidden" name="field_title_long_text_dummy[und][0][format]" value="full_html" />
<input type="hidden" name="field_title_long_text_dummy[und][0][value]" value="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras semper" />
The attached patch tries to solve this issue.
| Comment | File | Size | Author |
|---|---|---|---|
| fixing_format_column_value.patch | 554 bytes | beltofte |
Comments
Comment #1
colanThat patch certainly does the trick.
Comment #2
skwashd commentedThanks. I've applied this patch. See cb696fc078f85c503e1ea8ebf0f415e74e384729.
Comment #3
skwashd commentedThis is fixed.