Bug #16072

Compute Profile sub panel shows parent Compute Resource panel after save.

Added by Ondřej Pražák about 1 year ago. Updated about 1 year ago.

Status:Closed
Priority:Normal
Assigned To:Tomáš Strachota
Category:Compute resources
Target version:Team Marek Iteration 3
Difficulty: Bugzilla link:1364608
Found in release: Pull request:https://github.com/theforeman/foreman/pull/3775
Story points-
Velocity based estimate-
Release1.14.0Release relationshipAuto

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1364608
Description of problem:
When editing a compute profile, after saving the form, the profile is selected in the right hand pane and the sub pane actually shows the parent Compute Resource data.

Version-Release number of selected component (if applicable):
6.2.0
How reproducible:
Always
Steps to Reproduce:
1. Login, select and existing compute resource
2. Select the Compute Profiles tab.
3. Edit the Compute Profile and Select Save
Actual results:
See Attachment.
Screenshot from 2016-08-05 18-48-48.png
Expected results:
See Attachment.
Screenshot from 2016-08-05 18-56-48.png
Additional info:

actual_result.png - actual result (45.3 KB) Preview Ondřej Pražák, 08/11/2016 10:35 AM

expected_result.png - expected result (39.9 KB) Preview Ondřej Pražák, 08/11/2016 10:35 AM

Actual_result Expected_result

Associated revisions

Revision d5ff4a67
Added by Tomas Strachota about 1 year ago

Fixes #16072 - Fixes compute profile two pane

Fixes compute profile two-pane behaviour in compute resource detail
page and adds support for using id '#two_pane_content' for element
that should be replaced after closing the right pane. '#content' is
still used by default.

History

#1 Updated by Ondřej Pražák about 1 year ago

  • Subject changed from Compute Profile sub panel shows parent Compute Resource panel after save. to Compute Profile sub panel shows parent Compute Resource panel after save.
  • Category changed from VM management to Compute resources
  • Target version set to Team Marek backlog

#2 Updated by Dominic Cleal about 1 year ago

Is this not fixed by #14482 in 1.11.1?

#4 Updated by Ondřej Pražák about 1 year ago

Dominic Cleal wrote:

Is this not fixed by #14482 in 1.11.1?

I just reproduced this with 1.13-develop:

1) go to compute resources
2) select an existing compute resource and click compute profiles tab
3) select profile with unspecified vm attributes
4) make changes and submit

Also note that profile with unspecified vm attrs opens for editing in twopane, but when profile has vm attrs it gets redirected to edit page.

#5 Updated by Marek Hulán about 1 year ago

  • Target version changed from Team Marek backlog to Team Marek Iteration 2

#6 Updated by Tomáš Strachota about 1 year ago

  • Status changed from New to Assigned
  • Assigned To set to Tomáš Strachota

#7 Updated by The Foreman Bot about 1 year ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3775 added

#8 Updated by Marek Hulán about 1 year ago

  • Target version changed from Team Marek Iteration 2 to Team Marek Iteration 3

#9 Updated by Marek Hulán about 1 year ago

  • Release set to 1.14.0

#10 Updated by Anonymous about 1 year ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF