Bug 1127873
Summary: | The agent's config export command produces an invalid XML file. | ||
---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | John Mazzitelli <mazz> |
Component: | Agent | Assignee: | RHQ Project Maintainer <rhq-maint> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | JON 3.1.2 | CC: | hrupp, loleary, lzoubek, mazz, mfoley, miburman, mmahoney, myarboro |
Target Milestone: | ER01 | Keywords: | Triaged |
Target Release: | JON 3.3.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
The JON agent's 'config export' command generated an invalid XML file due to an introduced regression in upstream code that erroneously stripped the DOCTYPE and DTD declaration from the file. The absence of a DOCTYPE and DTD results in an invalid XML file and the file subsequently failed validation by the Java Preference system when parsed. The fix corrects the introduced regression, and resolves the issue of exporting valid configuration files.
|
Story Points: | --- |
Clone Of: | 1038728 | Environment: | |
Last Closed: | 2014-12-11 14:00:04 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: | |||
Bug Depends On: | 782915, 1038728 | ||
Bug Blocks: |
Comment 1
John Mazzitelli
2014-08-07 20:03:42 UTC
I'll cherry-pick this one commit c9f95872fc04c57300716fff5f9e36523747b3c8 Author: burmanm <miburman> Date: Fri Jul 11 19:00:06 2014 +0300 [BZ 1038728] [BZ 782915] Add required DOCTYPE declaration back, but do not use it on indenting phase (cherry picked from commit d6c14baa1bc2f4b8e63045abe10bf4d62878708c) Signed-off-by: Libor Zoubek <lzoubek> Conflicts: modules/enterprise/agent/src/test/java/org/rhq/enterprise/agent/AgentConfigurationTest.java Moving to ON_QA as available to test in the following brew build: https://brewweb.devel.redhat.com//buildinfo?buildID=379025 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |