When adding a new field I get an error about index trim_whitespace undefined in views/handler/views_handler_field.inc.

It seems to me in option_definition(), $options['alter'] = array( should include trim_whitespace.

CommentFileSizeAuthor
#3 1143866-followup.patch568 bytesbojanz

Comments

dawehner’s picture

Status: Active » Fixed

Thanks.

Feel free to create a patch next time.

Commited to 6.x-3.x and 7.x-3.x

Status: Fixed » Closed (fixed)

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

bojanz’s picture

Version: 7.x-3.0-beta3 » 7.x-3.x-dev
Status: Closed (fixed) » Needs review
StatusFileSize
new568 bytes

This problem was born because someone defined "trim" twice instead of "trim" and "trim_whitespace".
Now we have "trim_whitespace", but trim is still there twice.

So, let's fix that :)
Patch applies to both 6.x-3.x and 7.x-3.x

dawehner’s picture

Status: Needs review » Fixed

Thanks. Commited to 7.x-3.x and 6.x-3.x

Status: Fixed » Closed (fixed)

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