Bug 536883 - Create content provider fails on first Save but succeeds on second Save
Summary: Create content provider fails on first Save but succeeds on second Save
Keywords:
Status: CLOSED DUPLICATE of bug 538149
Alias: None
Product: RHQ Project
Classification: Other
Component: Content
Version: unspecified
Hardware: All
OS: Linux
low
high
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact:
URL: http://core-01.usersys.redhat.com:708...
Whiteboard:
Depends On:
Blocks: RHQ_CONT_REPO
TreeView+ depends on / blocked
 
Reported: 2009-11-11 17:28 UTC by John Sefler
Modified: 2009-12-04 20:14 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-04 20:14:27 UTC
Embargoed:


Attachments (Terms of Use)

Description John Sefler 2009-11-11 17:28:26 UTC
Description of problem:
Create content provider fails on first Save but succeeds on second Save

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


How reproducible:


Steps to Reproduce:
1. Attempt to create a content provider of type RHN Hosted.  Specify a Name (testing) and any value for the Certificate field.  Let the other values default.

2. click Save  and get the following error:
Error: Failed to start adapter for [ContentSource: id=[0], name=[testing]]. Cause: org.rhq.enterprise.server.plugin.pc.content.InitializationException:org.rhq.enterprise.server.plugin.pc.content.InitializationException: Invalid 'Certificate' property -> org.rhq.enterprise.server.plugin.pc.content.InitializationException:Invalid 'Certificate' property -> org.jdom.input.JDOMParseException:Error on line 1: Content is not allowed in prolog. -> org.xml.sax.SAXParseException:Content is not allowed in prolog.

3. immediately click Save again   and get the following success message:
Saved [testing] with the ID of [10032] 
Actual results:


Expected results:
A second click of Save should continue to fail when the first Save fails.

Additional info:

This defect was revealed by our automated GUI tests.

Comment 1 Jay Dobies 2009-12-04 20:14:27 UTC

*** This bug has been marked as a duplicate of bug 538149 ***


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