Project

General

Profile

Actions

Bug #36515

closed

Content view Promote always warns for 'Force promotion' even if the correct path is followed

Added by Samir Jha about 1 year ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Content Views
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2125728

Description of problem:

Content View Promotion warns below message even if the correct promotion path is followed.

Force promotion
Selected environment PREPROD is out of the environment path order. The recommended practice is to promote to the next environment in the path.

Version-Release number of selected component (if applicable):

6.11

How reproducible:
100%

Steps to Reproduce:

Scenario 1:
~~~~~~~~

1. Create an environment path Library >> Test >> Preprod >> Prod.
2. Create a content view and publish (promote) to Library.
3. Promote Version:1 to Test.
4. Publish Version:2.
5. Now Version:2 in Library and Version:1 in Test.
6. If we try to Promote version:1 to Preprod it gives us the below warning. Though the Preprod Environment is in path.

-----------
Force promotion
Selected environment PREPROD is out of the environment path order. The recommended practice is to promote to the next environment in the path.
-----------

7. But if we try again Promote Version:2 to Test it will not give us the error.

Scenario:2
~~~~~~~~~

The above message is true when we do not follow the path at any time. Like below:

- Created a CV
- Initially, it is in the 'Library'
- Promoted directly to 'Preprod' [ Got the warning Selected environment PREPROD is out of the environment....]
- Now when I am trying to promote it to 'Prod' which is on the path I am getting the warning.

Promotion path of the CV: Library >> Preprod >> Prod
Actualt Environment Path of the CV: Library >> Test >> Preprod >> Prod.

Expected results:

The warning should only be applicable for Scenario 2. When we are already following the path Satellite should not give us a warning.

Actions #1

Updated by The Foreman Bot about 1 year ago

  • Status changed from New to Ready For Testing
  • Assignee set to Samir Jha
  • Pull request https://github.com/Katello/katello/pull/10617 added
Actions #2

Updated by Jeremy Lenz about 1 year ago

  • Subject changed from Content view Promote always warns for 'Force promotion' even if correct path is followed. to Content view Promote always warns for 'Force promotion' even if correct path is followed.
  • Target version set to Katello 4.10.0
  • Triaged changed from No to Yes
Actions #3

Updated by The Foreman Bot about 1 year ago

  • Fixed in Releases Katello 4.10.0 added
Actions #4

Updated by Samir Jha about 1 year ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by David Moore 11 months ago

  • Subject changed from Content view Promote always warns for 'Force promotion' even if correct path is followed. to Content view Promote always warns for 'Force promotion' even if the correct path is followed
Actions

Also available in: Atom PDF