Project

General

Profile

Bug #27831

Disabled buttons are still working

Added by Ron Lavi 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
trivial
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Description

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

Description of problem:
Even if button is showed as disabled it is clickable and working normally as enabled. Applies to almost every disabled button in UI.

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

How reproducible:
always

Steps to Reproduce:
For example
1. Go to Monitor -> Jobs
2. Select job, that already run.
3. Buttons 'Cancel Job' and 'Abort Job' are disabled
4. Click on any disabled button

Actual results:
Button works even if, it is disabled. Page is refreshed and warning 'The job cannot be cancelled at the moment.' is shown

Expected results:
Clicking on disabled button does nothing

Additional info:
Found similar behavior in hosts.
In Satellite 6.5 clicking on disabled button does nothing.


Related issues

Related to Foreman - Refactor #26198: ensure host list does not trigger a full page reloadClosed
Related to Foreman - Bug #27881: Disabled buttons fetched by ajax are still workingClosed
Related to Foreman Remote Execution - Bug #27883: Do not use a[method=post] in jobs toolbarClosed
Has duplicate Foreman Remote Execution - Bug #27813: Disabled buttons are still workingDuplicate

Associated revisions

Revision 3ded64ff (diff)
Added by Ron Lavi 3 months ago

Fixes #27831 - disabled buttons are still clickable

History

#1 Updated by The Foreman Bot 3 months ago

  • Status changed from New to Ready For Testing

#2 Updated by Tomer Brisker 3 months ago

  • Has duplicate Bug #27813: Disabled buttons are still working added

#3 Updated by Tomer Brisker 3 months ago

  • Related to Refactor #26198: ensure host list does not trigger a full page reload added

#4 Updated by The Foreman Bot 3 months ago

  • Fixed in Releases 1.24.0 added

#5 Updated by Tomer Brisker 3 months ago

  • Priority changed from Urgent to Normal
  • Found in Releases 1.20.0 added
  • Fixed in Releases 1.22.2, 1.23.1 added

#6 Updated by Ron Lavi 3 months ago

  • Status changed from Ready For Testing to Closed

#7 Updated by Ondřej Ezr 3 months ago

  • Related to Bug #27881: Disabled buttons fetched by ajax are still working added

#8 Updated by Marek Hulán 3 months ago

  • Related to Bug #27883: Do not use a[method=post] in jobs toolbar added

Also available in: Atom PDF