Bug 1151434 - The outbound-connections element doesn't validate against XSD after removing connection
Summary: The outbound-connections element doesn't validate against XSD after removing ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Domain Management
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: DR6
: EAP 6.4.0
Assignee: Darran Lofthouse
QA Contact: Petr Kremensky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-10 11:59 UTC by Josef Cacek
Modified: 2019-08-19 12:40 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-08-19 12:40:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Josef Cacek 2014-10-10 11:59:41 UTC
When I add and remove LDAP connection in management, empty element <outbound-connections/> remains in the management configuration.

However, the XSD (jboss-as-config_1_7.xsd) says the element must not be empty:

<xs:element name="outbound-connections" minOccurs="0">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="ldap" type="ldapConnectionType" minOccurs="1" />
    </xs:sequence>
  </xs:complexType>
</xs:element>


CLI steps to reproduce:
/core-service=management/ldap-connection=ldapConnection:add(url="ldap://localhost:10389", search-credential="secret", search-dn="uid=admin,ou=system")
/core-service=management/ldap-connection=ldapConnection:remove
reload

Comment 1 Darran Lofthouse 2014-10-14 17:24:58 UTC
Just to clarify this is an EAP only issue and does not cause subsequent start up of the server to fail.

Comment 3 Petr Kremensky 2014-10-21 11:51:51 UTC
Verified on EAP 6.4.0.DR6.

Empty <outbound-connections/> element no longer remains in configuration files.


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