As per title if you choose the have a trimmed filed in the teasers it will leave unclosed html tags.
For Example :

1. Instructions to configure a fresh drupal installation to reproduce your problem. ex) Install drupal 5.7 with cck 1.5. Create a content type 'foo' and add a text field name 'bar' with multiple values enabled.
2. Steps to reproduce your bug. ex) goto page X, click on Y, then click on Z
3. Explain the results you get. ex) a red error box pops up that says "Error: The doomahiggie has a mibblefaap."
4. Explain the results you expect. ex) I expected Y to be updated to a hizzleding.

In teasers will become :

1. Instructions to configure a fresh drupal installation to reproduce your problem. ex) Install drupal 5.7 with cck 1.5. Create a content type 'foo' and add a text field name 'bar' with multiple values enabled.
2. Steps to reproduce your bug. ex) goto page X, click on Y, then

And will leave the paragraph unclosed

Comments

strestus’s picture

 <p>1. Instructions to configure a fresh drupal installation to reproduce your problem. ex) Install drupal 5.7 with cck 1.5. Create a content type 'foo' and add a text field name 'bar' with multiple values enabled.
2. Steps to reproduce your bug. ex) goto page X, click on Y, then click on Z
3. Explain the results you get. ex) a red error box pops up that says "Error: The doomahiggie has a mibblefaap."
4. Explain the results you expect. ex) I expected Y to be updated to a hizzleding.</p>

In teasers will become :

<p>1. Instructions to configure a fresh drupal installation to reproduce your problem. ex) Install drupal 5.7 with cck 1.5. Create a content type 'foo' and add a text field name 'bar' with multiple values enabled.
2. Steps to reproduce your bug. ex) goto page X, click on Y, then

And will leave the paragraph unclosed


markus_petrux’s picture

Version: 6.x-3.x-dev » 6.x-2.3
Component: CCK in core » number.module
Priority: Critical » Normal

Changing issue status:

1) CCK 6.x-3.x-dev is experimental branch where only remove button, multigroup and nested fieldgroups live in comparison to CCK 6.x-2.x. Bug reports related to CCK for Drupal 6 should be first resolved under the 6.x-2.x branch.

Note: here I'm in doubt though, as you have flagged the issue for CCK 6.x-3.x, but your description talks about CCK 1.5?

2) This is not CCK in core, but... probably Text fields? ...using some kind of format filter? ...just guessing now, isn't this something that should be resolved by the format filter?

3) Not critical. CCK still works with or without this problem.

strestus’s picture

Title: Triimed field leave unclosed html tags » Trimed field leave unclosed html tags

I have tried all versions and they all have the same bug.
If not careful it might brake the whole website.

strestus’s picture

Component: number.module » text.module
giorgio79’s picture

markus_petrux’s picture

Category: bug » support
Status: Active » Fixed

The trimmed formatter of Text fields uses the node_teaser() function of node module, and for fields where "Filtered text" option is enabled, it uses the input format selected for the field value. So, fixing unclosed tags is a job for the input format. CCK can do nothing else about it.

Solution is to make sure the "HTML corrector" filter is properly enabled in the input formats available to Text fields with "Filtered text" option enabled.

Status: Fixed » Closed (fixed)

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

strestus’s picture

Priority: Normal » Critical
Status: Closed (fixed) » Active

Any chance to fix this annoying bug in the near future :)

markus_petrux’s picture

Priority: Critical » Normal
Status: Active » Closed (fixed)

This is not a bug in CCK. Please, read #6.