• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed  Registered Feed is deleted if Destination Forum is deleted

mjp

Well-known member
#1
Registered Feed is deleted if Destination Forum is deleted. Is that expected behavior?

I set up a feed in a public forum and an unruly mob of users threatened to murder me if I didn't turn it off. I was going to point it to a private forum, but the Registered Feed disappeared after I deleted the public forum that the feed was pointing to.

Not a big deal, but there it is.
 

Mike

XenForo developer
Staff member
#2
I don't think it's actually deleted, but it doesn't show up (inner join to forum/node). TBH, it probably should actually be deleted.
 

Kier

XenForo Developer
Staff member
#3
It might be better to have a listener for the forum deletion event and then attempt to attach the feed to the closest parent?
 

mjp

Well-known member
#5
TBH, it probably should actually be deleted.
Technically, yes, it probably should be, since the job errors out if the feed can't be posted to the Destination Forum (you see that error if you try to "import now" and the Posting User doesn't have permission to post in the Destination Forum - I suppose that's the join query failing).

From a user perspective though, the feed disappearing was unexpected.
 

Kier

XenForo Developer
Staff member
#6
Fixed. When feeds are fetched now, the 'active' flag is switched to off if the destination forum is not found. This requires editing the feed to restore functionality, and the feed will not be able to be saved until a new, valid destination forum is specified.