Prison officials say the riot erupted Saturday night after a group of prisoners refused to wear new prison uniforms intended to prevent inmates from mingling with visitors and possibly escaping .