SatelliteQE / robottelo

Robottelo is a test suite that exercises The Foreman.
GNU General Public License v3.0
61 stars 112 forks source link

[ui] ContentViewTestCase.test_positive_promote_CV_with_custom_user_role_and_filters - 422 on POSTing to api/v2/filters #4526

Closed rplevka closed 5 years ago

rplevka commented 7 years ago
2017-03-30 03:48:15 - nailgun.client - DEBUG - Making HTTP POST request to https://qe-sat62-rhel6.satqe.lab.eng.rdu2.redhat.com/api/v2/filters with options {'verify': False, 'auth': ('admin', 'changeme'), 'headers': {'content-type': 'application/json'}} and data {"filter": {"permission_ids": [103, 198, 199, 200, 201, 202], "role_id": 59}}.
2017-03-30 03:48:15 - nailgun.client - WARNING - Received HTTP 422 response: {
  "error": {"id":null,"errors":{"permissions":["Permissions must be of same resource type"]},"full_messages":["Permissions Permissions must be of same resource type"]}
}
svtkachenko commented 7 years ago

In 6.2 subscription permissions were moved to separate group Katello::Subscription. In 6.3 they are still under Organization and 6.1 does not have this test/helper.

rplevka commented 7 years ago

@svtkachenko not sure, which 6.3 you're referring to, but the last pseudo 6.3 build is now actually way older than recent 6.2. I suggest cheking the state of things on downstream nightly.

svtkachenko commented 7 years ago

@rplevka

svtkachenko added the nightly label a day ago

:)

ntkathole commented 5 years ago

Please feel free to re-open, if this still needs fixing.