[JBoss JIRA] Created: (CDITCK-192) All test wars are invalid javaee artifacts since they have "Class-Path: null" manifest header
by David Jencks (JIRA)
All test wars are invalid javaee artifacts since they have "Class-Path: null" manifest header
---------------------------------------------------------------------------------------------
Key: CDITCK-192
URL: https://jira.jboss.org/browse/CDITCK-192
Project: CDI TCK
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Tests
Affects Versions: 1.0.2.CR3
Reporter: David Jencks
cf javaee_platform-6_0-fr-spec.pdf EE.8.2.1:
Only JAR format files or directories containing class files or resources to be loaded directly by a standard class loader should be the target of a Class-Path reference; such files are always named with a .jar extension. Top level JAR files that are processed by a deployment tool should not contain Class-Path entries; such entries would, by definition, reference other files external to the deployment unit. A deployment tool is not required to process such external references.
2
So there should be no Class-Path header, and if there is it should only have .jar files in it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months
[JBoss JIRA] Created: (CDITCK-189) org.jboss.jsr299.tck.tests.implementation.simple.resource.persistenceContext.PersistenceContextInjectionTest persistence.xml Location Bug
by Gurkan Erdogdu (JIRA)
org.jboss.jsr299.tck.tests.implementation.simple.resource.persistenceContext.PersistenceContextInjectionTest persistence.xml Location Bug
-----------------------------------------------------------------------------------------------------------------------------------------
Key: CDITCK-189
URL: https://jira.jboss.org/browse/CDITCK-189
Project: CDI TCK
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 1.0.1.Final
Reporter: Gurkan Erdogdu
org.jboss.jsr299.tck.tests.implementation.simple.resource.persistenceContext.PersistenceContextInjectionTest.war contains persistence.xml file in "WEB-INF/" location. According to the JPA specification, persistence unit root is "WEB-INF/classes" directory. Therefore persistence.xml file must be put into the "WEB-INF/classes/META-INF/persistence.xml".
Because of above observation, test (testBeanTypesAndBindingTypesOfPersistenceContext) has failed. If we change the location of persistence.xml file, test has passed!
Exclude list must be updated for including "testBeanTypesAndBindingTypesOfPersistenceContext" method.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months
[JBoss JIRA] Created: (CDITCK-194) NewSimpleBeanTest and QualifierDefinitionTest expects @New beans to be enabled that should not be
by Stuart Douglas (JIRA)
NewSimpleBeanTest and QualifierDefinitionTest expects @New beans to be enabled that should not be
-------------------------------------------------------------------------------------------------
Key: CDITCK-194
URL: https://jira.jboss.org/browse/CDITCK-194
Project: CDI TCK
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Stuart Douglas
According to the spec an @New bean:
"is enabled, in the sense of Section 5.1.2, "Enabled and disabled beans", if and only if some other enabled bean has an
injection point with the qualifier @New(X.class) where X is the bean class."
However org.jboss.jsr299.tck.tests.implementation.simple.newSimpleBean.NewSimpleBeanTest expects these @New beans to be enabled that are not injected anywhere.
The tests that are in error are:
testNewQualifierAndAnyBindingMutualExclusive(org.jboss.jsr299.tck.tests.definition.qualifier.QualifierDefinitionTest)
testForEachSimpleBeanANewBeanExists(org.jboss.jsr299.tck.tests.implementation.simple.newSimpleBean.NewSimpleBeanTest)
testNewBeanHasNoBeanELName(org.jboss.jsr299.tck.tests.implementation.simple.newSimpleBean.NewSimpleBeanTest)
testNewBeanHasNoDisposerMethods(org.jboss.jsr299.tck.tests.implementation.simple.newSimpleBean.NewSimpleBeanTest)
testNewBeanHasNoProducerFields(org.jboss.jsr299.tck.tests.implementation.simple.newSimpleBean.NewSimpleBeanTest)
testNewBeanHasNoProducerMethods(org.jboss.jsr299.tck.tests.implementation.simple.newSimpleBean.NewSimpleBeanTest)
testNewBeanHasNoStereotypes(org.jboss.jsr299.tck.tests.implementation.simple.newSimpleBean.NewSimpleBeanTest)
testNewBeanHasOnlyNewBinding(org.jboss.jsr299.tck.tests.implementation.simple.newSimpleBean.NewSimpleBeanTest)
testNewBeanHasSameConstructor(org.jboss.jsr299.tck.tests.implementation.simple.newSimpleBean.NewSimpleBeanTest)
testNewBeanHasSameInitializers(org.jboss.jsr299.tck.tests.implementation.simple.newSimpleBean.NewSimpleBeanTest)
testNewBeanHasSameInjectedFields(org.jboss.jsr299.tck.tests.implementation.simple.newSimpleBean.NewSimpleBeanTest)
testNewBeanIsDependentScoped(org.jboss.jsr299.tck.tests.implementation.simple.newSimpleBean.NewSimpleBeanTest)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months
[JBoss JIRA] Created: (CDITCK-196) DecoratorDefinitionTest FooBar does not extend Boo contrary to section 8.1.3
by David Jencks (JIRA)
DecoratorDefinitionTest FooBar does not extend Boo contrary to section 8.1.3
----------------------------------------------------------------------------
Key: CDITCK-196
URL: https://jira.jboss.org/browse/CDITCK-196
Project: CDI TCK
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Tests
Affects Versions: 1.0.2.CR3
Reporter: David Jencks
Section 8.1.3 says ...
The delegate type of a decorator must implement or extend every decorated type (with exactly the same type parameters).
However FooBar does not extend Boo. If the container checks the 8.1.3 rule the war for this test will not deploy. Changing FooBar to extend Boo satisfies the check.
package directory is org/jboss/jsr299/tck/tests/decorators/definition/
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months
[JBoss JIRA] Created: (CDITCK-195) ExplicitConstructorSessionBean must have a no-arg constructor
by Marius Bogoevici (JIRA)
ExplicitConstructorSessionBean must have a no-arg constructor
-------------------------------------------------------------
Key: CDITCK-195
URL: https://jira.jboss.org/browse/CDITCK-195
Project: CDI TCK
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Tests
Affects Versions: 1.0.2.CR3
Reporter: Marius Bogoevici
Fix For: 1.0.3.CR4
ExplicitConstructorSessionBean from org.jboss.jsr299.tck.tests.implementation.enterprise.definition.EnterpriseBeanDefinitionTest must have a no-arg constructor.
While the intent of the test is to exercise the usage of the @Inject-annotated constructor, a session bean class must also have a no-arg constructor, as required by EJB 3.1 spec 4.9.2. This may also be a disconnect between the EJB 3.1 and CDI spec, since the no-arg constructor may not actually be used, however it is still a requirement of the specification.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months
[JBoss JIRA] Created: (CDITCK-180) org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.Farmer org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.Yard need to use public
by Lance Andersen (JIRA)
org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.Farmer org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.Yard need to use public
----------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: CDITCK-180
URL: https://jira.jboss.org/browse/CDITCK-180
Project: CDI TCK
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Tests
Affects Versions: 1.0.1.Final
Reporter: Lance Andersen
The following two classes are missing public in there declarations:
org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.Farmer
org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.Yard
Specification version & section:
The EJB Spec states the following in section "4.9.2 Session Bean Class":
The class must be defined as public, must not be final, and must not be abstract. The class must be a top level class.
This clearly violates that rule. These classes are not public.
Tests Affected:
testSpecializingBeanHasBindingsOfSpecializedAndSpecializingBean
testSpecializingBeanHasNameOfSpecializedBean
from
org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.EnterpriseBeanSpecializationTest
Output:
[9/7/10 14:57:34:309 CDT] 0000002f annotations E AbstractMergeAction merge An exception occurred while validating an annotation:com.ibm.wsspi.amm.validate.ValidationException: class org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.Farmer does not define a valid enterprise bean; the class is either not declared public or is declared as either final or abstract
[9/7/10 14:57:34:312 CDT] 0000002f annotations E AbstractMergeAction merge An exception occurred while validating an annotation:com.ibm.wsspi.amm.validate.ValidationException: class org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.Yard does not define a valid enterprise bean; the class is either not declared public or is declared as either final or abstract
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months