I've got FeedAPI working well in a variety of situations, but one particular configuration that I want is proving quite difficult - automatically generating forum topics from feeds.

I have the forum vocabulary applied to the feed content type, and I have the Feed creating forum topic nodes (with an assigned forum vocabulary).

The feed pumps out the forum topics as designed, and the topics appears in the forum, but there is a notice that states "This topic has been moved", and the only way I can get a clickable forum topic here is to view the node's edit screen and simply hit save without making any changes. This last step is the killer her, as it kills off the idea dus to lack of automation.

Has anyone tried something similar with success, or does anyone have any ideas as to how I could pull this off?

Comments

alex_b’s picture

Any news on this issue? Did you find out where this "has moved" warning comes from?

Rob T’s picture

No news on resolving this issue, though I embarked on a workaround for what I wanted to do.

Essentially, I sort of created my own forums using the "feed_items" content nodes that FeedAPI created. If someone comments on one of the feed items, I have a view set up that displays a table of the feed items with comments, with the table fields being Node title, creation date, comments, and last comment time. It looks like a forum listing of threads .

alex_b’s picture

Title: FeedAPI to forum topic » Feed item to forum topic - "This topic has been moved" error
Component: Miscellaneous » Code
Category: support » bug

Good to hear that you found a workaround. This issue doesn't have a very high priority for me. But if somebody would like to step up and do the digging here and find out what's going on, I would highly appreciate it. Changing to a comprehensive title.

rconstantine’s picture

I recall seeing this error sometime during development of the recent og_forum module versions. It has to do with an issue of OG audience not matching the forum IIRC. Does this sound like your setup? Are you attempting to create the forum topics inside a group forum without setting the audience to match? That's assuming you have og_forum installed. Anyway, dig around the closed issues over at og_forum and see if I did tackle that at some point.

Rob T’s picture

No, I was just using the regular forums (no OG). I set my FeedAPI Node (Create nodes) content type to "forums", and I set the taxonomy to inherit. The nodes get into the right forum... they just all displayed their title with the post information displaying "This topic has been moved", with no link to the node items.

One thing I did notice is that when I went into admin/content node edit, there is a "leave shadow copy" checkbox: "If you move this topic, you can leave a link in the old forum to the new forum."

If I check that box and save the node, it then shows up the forums as needed.

My issue now is that I can't seem to figure out how to set this "leave shadow copy" automatically, so that I wouldn't have to go into each feed item node's edit page to set the option and resubmit.

rconstantine’s picture

Uh, oh. Trying to set the shadow copy automatically would just be a band-aid and wouldn't be addressing your real problem.

I seem to recall seeing some forum posts on drupal.org about this - misplaced new forum topics. Sorry I'm not more help.

aron novak’s picture

Status: Active » Postponed (maintainer needs more info)

Any new experience on this?

aron novak’s picture

There is one likely thing: http://drupal.org/node/196273 - this is very likely related. Currently I'm working on using drupal_execute to create nodes. It may solve the problem. If it does not solve the problem, i have to mark it won't fix, because it means that forum uses the taxonomy system in a unique way.

aron novak’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

This is a duplicate. Please follow this thread: http://drupal.org/node/196273 . If i find a solution for that, this one is solved as well.