Basic approach used here was to add a "params_rules" method to almost every controller where a create!(params) or update_attributes!(params) calls were being made. Basically params on methods doing that now will now be checked via rules and errored out if the params passed in donot match. Also updated the unit tests that go with this for each modified controller method.
When imported manifest is not valid and CDN refuses it, UI and CLI provides more descriptive information about what happened.
This reverts commit caef237. This is thowing error: err: Could not apply complete catalog: Found dependency cycles in the following relationships: http://lzap.fedorapeople.org/projects/katello/graphs/puppet_of_0.2_13.png Reverting, not sure what is wrong now.
Katello-agent wasn't running properly on system registered with rhn. Binding to repositories was failing because the rhn repos have no repofile. With this commit agent skips this repositories.
Makes it easy to use the packages built on another machines (e.g. older RHEL) to keep the backward compatibility of the packages in a fake repo.
Prior to this commit, when a user created a new provider, the provider would be opened to the Details tab. The correct behavior is to open to the Products & Repos tab, which is what the user would see if they were to later open an existing provider.
When creating an item (e.g. provider, user, org, system...etc) in 2-pane, after the create the incorrect item is opened. Essentially, the new item is added to the bottom of the list, but the first item in the list is opened. This issue is actually a regression related to a fix that went in for endless scroll on 2pane. In order to address this issue, there is now an append and prepend for the 2-pane list. This will allow support for item creation and endless scroll.
…(repo's) sync schedule
This commit addresses the 'undefined method `include?' for nil:NilClass' error that was occuring on a manifest import that generated a 403 forbidden from the CDN. It provides a standard failure message and places the backtrace in the error notices optional details. Currently, the controller does not have access to further details; however, that may change very soon. When it does, we'll revisit this logic to see if additional changes are needed.
Allows the automation of detection of problems when spaces are in names of organizations, products, repos etc. Usage: scripts/system-test/cli_system-test "all" --rand-prefix "a a"