When playing with auto endo of turn on if a city has finished production on that turn then the auto end of turn does not happen, as intended.
However if two cities finish production on a turn you can give one of the cities something to produce and then auto end of turn occurs, stopping you from being able to set production in the second city until the next turn.
Not a huge bug.