[
https://jira.jboss.org/jira/browse/JBAS-6716?page=com.atlassian.jira.plug...
]
Scott M Stark reopened JBAS-6716:
---------------------------------
I'm seeing the current testCreateSecureQueue() in JmsDestinationUnitTestCase fail
with:
junit.framework.AssertionFailedError: securityConfig
expected:<MapCompositeMetaType{java.util.Map items=[name=admin type=java.util.Map],
[name=publisher type=java.util.Map], [name=user
type=java.util.Map]}:{user=CompositeValueSupport:
metaType=[MutableCompositeMetaType{SecurityConfig items=[name=create
type=java.lang.Boolean], [name=read type=java.lang.Boolean], [name=write
type=java.lang.Boolean]}]
items=[create=SimpleMetaType:java.lang.Boolean:null,read=SimpleMetaType:java.lang.Boolean:true,write=SimpleMetaType:java.lang.Boolean:null],
publisher=CompositeValueSupport: metaType=[MutableCompositeMetaType{SecurityConfig
items=[name=create type=java.lang.Boolean], [name=read type=java.lang.Boolean],
[name=write type=java.lang.Boolean]}]
items=[create=SimpleMetaType:java.lang.Boolean:false,read=SimpleMetaType:java.lang.Boolean:true,write=SimpleMetaType:java.lang.Boolean:true],
admin=CompositeValueSupport: metaType=[MutableCompositeMetaType{SecurityConfig
items=[name=create type=java.lang.Boolean], [name=read type=java.lang.Boolean],
[name=write type=java.lang.Boolean]}]
items=[create=SimpleMetaType:java.lang.Boolean:true,read=SimpleMetaType:java.lang.Boolean:true,write=SimpleMetaType:java.lang.Boolean:true]}>
but was:<null>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:280)
at junit.framework.Assert.assertEquals(Assert.java:64)
at
org.jboss.test.profileservice.test.AbstractProfileServiceTest.createComponentTest(AbstractProfileServiceTest.java:146)
at
org.jboss.test.profileservice.test.AbstractProfileServiceTest.createComponentTest(AbstractProfileServiceTest.java:105)
at
org.jboss.test.profileservice.test.JmsDestinationUnitTestCase.testCreateSecureQueue(JmsDestinationUnitTestCase.java:462)
add back securityConfig config property to JMS destination resources
---------------------------------------------------------------------
Key: JBAS-6716
URL:
https://jira.jboss.org/jira/browse/JBAS-6716
Project: JBoss Application Server
Issue Type: Task
Security Level: Public(Everyone can see)
Components: ProfileService
Reporter: Charles Crouch
Assignee: Emanuel Muckenhuber
Priority: Blocker
Fix For: JBossAS-5.1.0.CR1
Attachments: MyQueueWithSecurityConfig-service.xml
e.g.
<c:map-property required="false" name="securityConfig"
description="The destination's security configuration">
<c:simple-property required="false"
name="tagName"/>
</c:map-property>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira