As far as I've seen that's just normal barn design. Cows relieve themselves (both ways) into a gutter that runs behind their stalls, and then when you clean the gutters it all gets spread onto the field.
...this had led to a number of accidents, the latest I recall was where the floor collapsed and dozens of cows ended up in the cesspit below. Others involve people falling in and dying from the fumes.