Hi,

I am having a node which is saved in 'filer_format'. Then i installed better_format. Using fields settings i limited formats also . Only one format('plain_text') is checked. For all new nodes its working fine. But for the node which created before installing having format 'filter_format', While editing such nodes its throws 'Text format field is required'. How to set default format type.

FYI: For format mis-match, i need save in plain_text format.

regards,
tssarun.

CommentFileSizeAuthor
#3 text_format_field_is-2203833-1.patch558 bytesjoelpittet
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

plato1123’s picture

I'm having this issue as well. Commerce Kickstart was using a format by default that stripped out image tags (huh? why??!) and when I disabled that input format (filtered html) I cannot choose a format for pages that were previously created and get this error when trying to save them.

ral1239’s picture

This may not be the best solution, but as a TEMP solution, commenting out the line #179 in better_formats.module seems to do the trick for me.

178.         $element['format']['format']['#required'] = TRUE;
179.         //$element['format']['format']['#default_value'] = NULL;
180.         // Force access to the format selector (it may have been denied
181.         // previously for cosmetic reasons).
182.         $element['format']['#access'] = TRUE;
183.         $element['format']['format']['#access'] = TRUE;
joelpittet’s picture

Version: 7.x-1.0-beta1 » 7.x-1.x-dev
Category: Support request » Bug report
Status: Active » Needs review
FileSize
558 bytes

#2 as a patch.

DamienMcKenna’s picture

Xilis’s picture

joseph.olstad’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.