-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
6.18.0
Description of problem:
2 issues:
1) [root@ip-10-0-167-66 ~]# hammer content-view create --name test2 --organization-id 3 --rolling Could not create the content view: undefined method `any?' for nil:NilClass
2) The UI allows you to make rolling CVs without any environment, which is pointless. No content will be distributed.
How reproducible:
100%
Is this issue a regression from an earlier version:
Yes
Steps to Reproduce:
hammer content-view create --name test2 --organization-id 3 --rolling
Actual behavior:
Ugly error is thrown when nil is passed for environment IDs
When [] is passed for environment IDs, the rolling CV has no environments, which is pointless
The UI also allows for the above, which needs fixing.
Expected behavior:
Library is assumed if no environments are passed in the API and the UI.
Business Impact / Additional info: