Red Hat Bugzilla – Bug 803420
When creating new custom Provider, pane opens wrong provider
Last modified: 2014-09-18 11:32:56 EDT
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Custom Provider Page
2. Create at least 2 +New Provider, make note of name of latest one
3. See which pane opens
Top/Older provider opens
most recently created opens
Additional info: Fixing this bug will help reproduce bug 803409.
fwiw this same behavior happens when adding a new user. The top/oldest user gets selected by default.
commit - 24a0c137536afcbb39654d1664b2c04996a27655
Note: this issue would exist on any 2-pane page (e.g. provider, system, user, org..etc).
This issue was an accidental regression related to a fix that went in for endless scroll for 2-pane pages. For endless scroll, we want the content to be added to the bottom of the list; however, for creating new items (e.g providers) we want them to be added to the top of the list (so that user sees them); however, these 2 areas were using the same logic from the panel. In order to address this, created a 'prepend' action on the panel (in addition to the existing 'append' action), so that we can support both cases.
*** Bug 805647 has been marked as a duplicate of this bug. ***
*** Bug 805661 has been marked as a duplicate of this bug. ***
getting rid of 6.0.0 version since that doesn't exist