The ones mentioned here are book plot holes and by extension became movie plot holes. The movies failed the books in my opinion, but that doesn’t mean that the books aren’t flawed themselves. There are many world-building or just plain logic holes. They infuriate me, but I love Rowling nonetheless.