Bug 1020874

Summary: Add subscriptions button on platform->Content->Subscriptions tab displays HTTP Status 404 in UI
Product: [JBoss] JBoss Operations Network Reporter: Sunil Kondkar <skondkar>
Component: ContentAssignee: Jirka Kremser <jkremser>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: unspecified    
Version: JON 3.2CC: dsteigne, jkremser, myarboro, tsegismo
Target Milestone: ER02   
Target Release: JON 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Issues with the Subscriptions form code caused attempts to add a subscription to the JBoss Patches repository in the Platform > Content > Subscriptions view to fail with a HTTP Status 404 error. Improvements to the form code are now implemented that fix the originally reported issue.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-11 14:03:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screenshot none

Description Sunil Kondkar 2013-10-18 12:21:46 UTC
Description of problem:

On the platform->Content->Subscriptions tab, if user selects the 'JBoss Patches' repo in Available Repositories section and clicks on Add subscriptions button, it displays 'JBWEB000065: HTTP Status 404 - /rhq/resource/content/subscription-plain.xhtml' in UI. There are no errors in server log.

Please refer the attached screenshot.

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

JBoss ON Version: 3.2.0.ER3 Build Number: c0742ed:90dd474
Browser: Firefox 10.0.2

How reproducible:

Always

Steps to Reproduce:

1. Navigate to platform->Content->Subscriptions tab.
2. In the section 'Available Repositories', select the 'JBoss Patches' repo.
3. Click on 'Add subscriptions' button.

Actual results:

It displays 'JBWEB000065: HTTP Status 404 - /rhq/resource/content/subscription-plain.xhtml' in UI

Expected results:

Add subscriptions should be successful.

Additional info:

Comment 1 Sunil Kondkar 2013-10-18 12:22:49 UTC
Created attachment 813763 [details]
Screenshot

Comment 2 Simeon Pinder 2013-11-08 14:41:38 UTC
Moving to unspecified target milestone as only JON 3.2.0 'blockers'(https://url.corp.redhat.com/bz-jon32-blockers-list-notmodified-nodocs) will make it into subsequent builds after ER5.

Comment 4 Jirka Kremser 2014-08-25 15:25:46 UTC
branch:  master
link:    https://github.com/rhq-project/rhq/commit/16dc0beca
time:    2014-08-25 17:24:36 +0200
commit:  16dc0beca66f4f90fea5fac44c7243037b022b21
author:  Jirka Kremser - jkremser
message: [BZ 1020874] - Add subscriptions button on
         platform->Content->Subscriptions tab displays HTTP Status 404
         in UI - adding the form action JS hack

Comment 5 Thomas Segismont 2014-08-28 09:29:22 UTC
Merged into release/jon3.3.x

commit ebd8136da8dbdf25bac9147a9237e142d758b21c
Author: Jirka Kremser <jkremser>
Date:   Mon Aug 25 17:24:36 2014 +0200

    (cherry picked from commit 16dc0beca66f4f90fea5fac44c7243037b022b21)
    Signed-off-by: Thomas Segismont <tsegismo>

Comment 6 Simeon Pinder 2014-09-03 20:32:00 UTC
Moving to ON_QA as available for test with the following brew build:
https://brewweb.devel.redhat.com//buildinfo?buildID=381194