Update:
Found and fixed the problem:
def seed_primary_email
UserEmail.seed do |ue|
ue.id = DiscourseNarrativeBot::BOT_USER_ID
ue.email = "discobot_email"
ue.primary = true
ue.user_id = DiscourseNarrativeBot::BOT_USER_ID
end
end
in discourse/plugins/discourse-narrative-bot/db/fixtures/001_discobot.rb raised the problem.
Adding register_seedfu_filter "001_discobot"
fixed the problem.
Thank you @blake for pointing me in the right direction. Works now.
Last question: For the future… how to register multiple filters? Like so?
register_seedfu_filter "001_discobot|002_xxxxxx|003_yyyy"