Katello/katello — pull request #4279 by parthaa (2014-06-16 22:03:35+00:00)
Title: Fixes #6195, bz1109386 - 403 on cv version delete

Content view remove call specifying versions and envs to be removed / unasssociated
had a minor glitch -> env_ids - @view.environment_ids.map(&:to_s)).empty?
env_ids = [1,2,3] while @view.environment_ids.map(&:to_s) = [1,2,3]
Problem was API was treating it like a list of strings while params code changed it to ints
This commit should fix that issue