Hi Olivier,
Yeah, I know editing the core files is just a temporary fix until a new version is released and that, by that time, the patch will probably be necessary again, but there's no way of doing this in any templates (or at least i don't know how to do it), as you need to access category class fields to truncate the string, and this is against the rules of templates, that should limitate to show the content given to them by the view.
But, this thing got me thinking and I realized i made a mistake yesterday (programming at 6 in the morning is not the safest thing to do), so i found the real problem is not the item itself (in fact editing the item.php itself it's wrong), but the 'latest' view, (/components/com_k2/views/latest/view.html.php) and the itemlist view (/httpdocs/components/com_k2/views/itemlist/view.html.php).
In both files, do a search and look for the calling to the funcion 'prepareItem' and set last parameter to 'category'
in latest view:
line 99, instead of
$category->items[$i] = $cache->call(array('K2ModelItem', 'prepareItem'), $category->items[$i], 'latest', '');
you should use
$category->items[$i] = $cache->call(array('K2ModelItem', 'prepareItem'), $category->items[$i], 'latest', 'category');
line 103, instead of
$category->items[$i] = $itemModel->prepareItem($category->items[$i], 'latest', '');
should be
$category->items[$i] = $itemModel->prepareItem($category->items[$i], 'latest', 'category');
In itemlist
line 274, instead of
$items[$i] = $cache->call(array('K2ModelItem', 'prepareItem'), $items[$i], $view, $task);
should be
$items[$i] = $cache->call(array('K2ModelItem', 'prepareItem'), $items[$i], $view, 'category');
and finally line 278, instead of
$items[$i] = $model->prepareItem($items[$i], $view, $task);
replace it by
$items[$i] = $model->prepareItem($items[$i], $view, 'category');
Editing those two views made it all work for now, hope that will help anyone, I still don't understand the underlying problem, since I'm just a beginner in this K2 world
Good luck,
David