There is no such thing as a non-infallible doctrine.
Church discipline is man-made, it has nothing to do with doctrine, hence it is never perfect and can change based on the time period or needs of the faithful. For example, the communion fast used to start at midnight the night before mass. Since mass times are not 'normal' due to the shortage of priests, the church changed the communion fast to 3 hrs then to 1, because She realized people could not fast all day if they were going to a noon mass or an evening one. Is that wrong or right? It's neither.