1. 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

Discussion in 'Resolved Bug Reports' started by mjp, Jan 15, 2011.

  1. mjp

    mjp Well-Known Member

    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.
     
  2. Mike

    Mike XenForo Developer Staff Member

    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.
     
  3. Kier

    Kier XenForo Developer Staff Member

    It might be better to have a listener for the forum deletion event and then attempt to attach the feed to the closest parent?
     
  4. Kier

    Kier XenForo Developer Staff Member

    Or maybe set active=0 if the forum join is unsuccessful?
     
    Raitsa likes this.
  5. mjp

    mjp Well-Known Member

    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.
     
  6. Kier

    Kier XenForo Developer Staff Member

    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.
     
    mjp likes this.

Share This Page