Special characters like the registered, copyright or "@" character in "alt" and "title" fields break the image display completely.

On the first nodeview nothing strange happens. The problems occur when the node is loaded from the cache for the first time. Images are not displayed anymore. After saving a node the images disappear from the database (values become NULL after update).

We didnt understand completely whats happening but a small modification of CKK content.module is a quick and dirty fix. I suppose a validation function for the "title" and "alt" fields would do the job?

ORIGINAL content.module line 238 of function content_load(&$node):::

  if ($cached = cache_get($cid, content_cache_tablename())) {
    foreach ($cached->data as $key => $value) {
      $node->$key = $value;
    }
  } else { ...

QUICK AND DIRTY FIX content.module line 238 of function content_load(&$node):::

  if (FALSE) {
    foreach ($cached->data as $key => $value) {
      $node->$key = $value;
    }
  } else { ...

Comments

quicksketch’s picture

Status: Active » Fixed

I think fixed this problem before I found this issue. It has been corrected in this commit:

http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/imagefield/...

Status: Fixed » Closed (fixed)

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