Here is the scenario : i create a feed, then i click on "Refresh this feed" (i know it's better with cron, but i actually prototyping an "aggregator web site" !). Feed items are created but with this strange behaviour :
Item 1 : category 1
Item 2 : category 1 + category 2
Item 3 : category 1 + category 2 + category 3
Item 4 : category 1 + category 2 + category 3 + category 4
and so on...
In fact for "small" feeds it doesn't produce error : categories are fools but that's all. The problem (i think it's linked) is for "normal" or "big" feeds, i obtain a superb "Tags cannot be longer than 255 characters but is currently 499 characters long." (Tags is my vocab name) which means, if i'm right, that the limit size for fields (in form validator, or thing like that) is exceeded.

I doesn't found issue report on this, if i'm wrong, doesn't hesitate to drop my post...

Regards,
Pierre

Comments

Pierre Lannoy’s picture

This morning, i played with simplefee_item.module :
line 383, i replace :
$process_feed->tags .= ', '. implode($item->get_categories(), ', ');
by :
$process_feed->tags = implode($item->get_categories(), ', ');
and of course, the strange behaviour i noticed yesterday has gone. So, says to me if i make a mistake, but this behaviour is by design, no ? I this is true, forget this issue...

In my tests i notice that when $process_feed->tags contains more than 255 characters, it's generate an error. But it's not linked to this issue (i's only a side effect), so i'll create a new bug report for that..

regards,
Pierre

alaa’s picture

Status: Active » Closed (duplicate)