Bug 1202763 - Next execution link in "Scheduled Operations" portlet is not correct
Summary: Next execution link in "Scheduled Operations" portlet is not correct
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.12
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1202760
TreeView+ depends on / blocked
 
Reported: 2015-03-17 12:13 UTC by bkramer
Modified: 2022-03-31 04:28 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description bkramer 2015-03-17 12:13:22 UTC
Description of problem:
The link that I get when hovering above "Next Execution" date/time in the "Scheduled Operations" portlet is not correct. It points to:

rhq-server-ip:7080/coregui/#ResourceGroup/10031/Operations/Schedules/10041

but it should be:

rhq-server-ip:7080/coregui/#Resource/AutoGroup/10031/Operations/Schedules/10041

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

How reproducible:
Always

Steps to Reproduce:
1. Schedule operation that will be invoked now and later - for instance navigate to RHQ Storage Node resource -> Keyspaces -> rhq -> ColumnFamilies -> Operations -> Schedules and create a new "Force Major Column Family Compaction] that will be run now and repeated every 7 days.
2. Navigate to RHQ Dashboard and press Edit Mode button -> Add Portlet and choose Scheduled Operations -> press View Mode 
3.Scheduled Operation portlet should contain a row with next execution of the operation.
4. Hover above Next Execution date/time in the Scheduled Operation portlet and check the URL shown at the bottom of the screen;

Actual results:

The URL - rhq-server-ip:7080/coregui/#ResourceGroup/10031/Operations/Schedules/10041 - is not correct and it will take to the rhq-server-ip:7080/coregui/#Inventory page with message "Group with id [10031] does not exist or is not accessible."


Expected results:

The expected URL is: 

rhq-server-ip:7080/coregui/#Resource/AutoGroup/10031/Operations/Schedules/10041

and it should show "View Operation Schedule" page for Schedule 10041.

Additional info:
At the same time the URL that is shown in the Operations -> Schedules page for this resource is correct.

Comment 1 bkramer 2015-03-17 12:41:48 UTC
Above error seems to be only for AutoGroups. If it is for resource group or just a resource - URL is correct.


Note You need to log in before you can comment on or make changes to this bug.