Project

General

Profile

Bug #22502

UI allows quick users to visit new repository page from RH product

Added by Andrew Kofink 7 months ago. Updated 27 days ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Web UI
Target version:
Difficulty:
trivial
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Found in: nightly

Reproduce:
1. Sync Red Hat content (i.e. Satellite Tools)
2. Visit the Red Hat Enterprise Linux Server page
3. Click the 'New Repository' button before it disappears

Actual:
Quick users can click on 'New Repository' and are brought to the new repositories page, but the product ID is blank, so after filling out the form and pressing submit, they are shown the error "Couldn't find Katello::Product with 'id'=".

Expected:
Even quick users can't see any buttons as the page loads. Only after receiving the server response will appropriate buttons be displayed.

Note:
I was unable to reproduce this with custom products.

Associated revisions

Revision 9391c142 (diff)
Added by Andrew Kofink 3 months ago

Fixes #22502: Wait for product.$resolved b4 using

Don't use buttons that hide/show conditionally on product state without
first checking that the product promise is $resolved.

History

#1 Updated by Justin Sherrill 6 months ago

  • Legacy Backlogs Release (now unused) set to 284
  • Target version set to 245
  • Assignee set to Jonathon Turel

#2 Updated by John Mitsch 5 months ago

  • Legacy Backlogs Release (now unused) changed from 284 to 352

#3 Updated by Andrew Kofink 3 months ago

  • Assignee changed from Jonathon Turel to Andrew Kofink

#4 Updated by The Foreman Bot 3 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7360 added

#5 Updated by Andrew Kofink 3 months ago

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

Also available in: Atom PDF