Topic: father and daughter tag gone

Posted under General

Typing the tag and the tag didn't show up in search bar. I wonder why did they remove it?

sk8th said:
well thanks for info, still weird that they remove it.

it wasn't on purpose, a bug in a command caused the tags to empty.

sipothac said:
so it seems like it'd have to be this one.
my guess is that a mass update of a tag that was aliased away to the current tag somehow causes the parent tag to nuke itself. both father_and_daughter_(lore) and mother_and_daughter_(lore) got emptied out.

This is likely the cause, as it also nuked the mother_and_daughter_(lore) tag with a similar mass update line. I think what happened is that the old "father_and_daughter" tag ID got associated with the tag string "father_and_daughter_(lore)", and in the process it found a tag with that string already and just overwrote it.

definitelynotafurry4 said:
From what I've seen in the code BURs can be undone if necessary, but oddly enough there is no easily accessible button for it, but all the code to do the undo is there lol

Apparently only the really high-up admins can undo BURs based on the discussion I'm seeing in the Discord server.

sipothac said:
somebody's going to need to get a bot or something to refill this tag I'm guessing 99.99% of parent_and_daughter_(lore) father_and_child_(lore) would be the same.

If a BUR reversal fails, that shouldn't be too hard with a tag script

sk8th said:
Typing the tag and the tag didn't show up in search bar. I wonder why did they remove it?

We have been aware of the issue since around 7 PM Eastern Time, and I can confirm it is almost certainly a bug. So I can assure you it will be dealt with as soon as Earlopain is around to deal with it, as he should be able to undo it.

While I would recommend not re-tagging posts, since it's probably gonna be fixed without the need for manual retagging. If you wanna be helpful and retag some for the time being I suppose it wouldn't really hurt.

Updated

Earlopain

Former Staff

I am in the process of reapplying father_and_daughter_(lore) and mother_and_daughter_(lore) to posts that were tagged with parent_and_daughter_(lore) if they previously had one of these tags. This should get all of them since they both imply this one.

Posts that got the tags removed because of manual edits will need to be fixed manually as well. [1] [2]

Fixer script
Post.sql_raw_tag_match("parent_and_daughter_(lore)").find_each do |post|
  last_version = post.versions.last
  resolved_tags = TagAlias.to_aliased(last_version.tags.split(" "))

  if resolved_tags.include?("father_and_daughter_(lore)") || resolved_tags.include?("mother_and_daughter_(lore)")
    post.do_not_version_changes = true
    post.tag_string_diff = ""

    if resolved_tags.include?("father_and_daughter_(lore)") && !post.has_tag?("father_and_daughter_(lore)")
      post.tag_string_diff += "father_and_daughter_(lore) "
    end
    if resolved_tags.include?("mother_and_daughter_(lore)") && !post.has_tag?("mother_and_daughter_(lore)")
      post.tag_string_diff += "mother_and_daughter_(lore) "
    end
    post.save
  end
end
  • 1