[JBoss JIRA] Created: (JBRULES-1594) Collect result pattern no constrained by bounded variables
by Ming Fang (JIRA)
Collect result pattern no constrained by bounded variables
----------------------------------------------------------
Key: JBRULES-1594
URL: http://jira.jboss.com/jira/browse/JBRULES-1594
Project: JBoss Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 5.0.0-M1
Reporter: Ming Fang
Assigned To: Mark Proctor
For a rule like this
rule "example"
when
Integer(count:intValue)
doubles: ArrayList(size == count) from collect(Double())
then
System.out.println(doubles);
end
If I insert an Integer(2), I expect to have to insert 2 Doubles for the rule to fire.
But this rule fires even with only one Double.
However this rule behaves correctly.
rule "example"
when
Integer(count:intValue)
doubles: ArrayList(size == 2) from collect(Double())
then
System.out.println(doubles);
end
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years
[JBoss JIRA] Created: (JBPORTAL-1997) Couple of CMS Security issues
by Sohil Shah (JIRA)
Couple of CMS Security issues
-----------------------------
Key: JBPORTAL-1997
URL: http://jira.jboss.com/jira/browse/JBPORTAL-1997
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Portal CMS
Affects Versions: 2.6.4 Final
Reporter: Sohil Shah
Assigned To: Sohil Shah
Fix For: 2.6.5 Final
The logic issue lies in the isPortletAccessible check in the CMSAdminPortlet. Side effects are:
because of this check, the Portlet itself is unavailable even if the resources in the CMS are accessible as per the permissions set on the CMS. Behavior contradicts its setup
usecases affected are:
1/ The CmsRootUser cannot access the CMS Admin tool. This completely defeats the purpose of the RootUser who should have all privileges to go in and fix things
2/ The CMSAdmin tool cannot be setup for access by Anonymous users
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years
[JBoss JIRA] Created: (JBAOP-568) Avoid extra info from being kept in the generated jp cache
by Flavia Rainone (JIRA)
Avoid extra info from being kept in the generated jp cache
----------------------------------------------------------
Key: JBAOP-568
URL: http://jira.jboss.com/jira/browse/JBAOP-568
Project: JBoss AOP
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Affects Versions: 2.0.0.CR8
Reporter: Flavia Rainone
Assigned To: Flavia Rainone
Fix For: 2.0.0.CR9
GeneratedClassInfo, object used to keep the generated JoinPoint cache in JoinPointGenerator instances, keeps references to AdviceMethodProperties.
However, the single information that is really required from AdviceMethodProperties during generated JoinPoint instantiation are the around cflow field names and initialization expressions.
If we stop from keeping references to AdviceMethodProperties inside this cache, we will make it available for garbage collection.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years
[JBoss JIRA] Created: (JBAOP-565) SuperClassesFirstWeavingStrategy instruments classes already loaded
by Flavia Rainone (JIRA)
SuperClassesFirstWeavingStrategy instruments classes already loaded
-------------------------------------------------------------------
Key: JBAOP-565
URL: http://jira.jboss.com/jira/browse/JBAOP-565
Project: JBoss AOP
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.0.0.CR8
Reporter: Flavia Rainone
Assigned To: Flavia Rainone
Fix For: 2.0.0.GA
The method SuperClassesFirstWeavingStrategy tries to transform super classes that have already been loaded.
As a result, on load time weaving we can see inconsistent transformations if there are aspects added/removed between two transformations of the same class.
This bug can be seen when running the regression test jbaop484superproxyadvised.SuperClassIsAdvisedByProxyTestCase.testClassAdvisorAndNotInstanceAdvisor():
java.lang.RuntimeException: java.lang.NullPointerException
at org.jboss.aop.proxy.container.GeneratedAOPProxyFactory.getProxy(GeneratedAOPProxyFactory.java:124)
at org.jboss.aop.proxy.container.GeneratedAOPProxyFactory.createAdvisedProxy(GeneratedAOPProxyFactory.java:85)
at org.jboss.test.aop.regression.jbaop484superproxyadvised.SuperClassIsAdvisedByProxyTestCase.createProxy(SuperClassIsAdvisedByProxyTestCase.java:196)
at org.jboss.test.aop.regression.jbaop484superproxyadvised.SuperClassIsAdvisedByProxyTestCase.testClassAdvisorAndNotInstanceAdvisor(SuperClassIsAdvisedByProxyTestCase.java:137)
Caused by: java.lang.NullPointerException
at org.jboss.aop.proxy.container.ContainerProxyFactory.createProxyMethods(ContainerProxyFactory.java:631)
at org.jboss.aop.proxy.container.ContainerProxyFactory.addMethodsAndMixins(ContainerProxyFactory.java:523)
at org.jboss.aop.proxy.container.ContainerProxyFactory.createProxyCtClass(ContainerProxyFactory.java:215)
at org.jboss.aop.proxy.container.ContainerProxyFactory.createProxyCtClass(ContainerProxyFactory.java:187)
at org.jboss.aop.proxy.container.ContainerProxyFactory.generateProxy(ContainerProxyFactory.java:154)
at org.jboss.aop.proxy.container.ContainerProxyFactory.getProxyClass(ContainerProxyFactory.java:144)
at org.jboss.aop.proxy.container.ContainerProxyFactory.getProxyClass(ContainerProxyFactory.java:118)
at org.jboss.aop.proxy.container.GeneratedAOPProxyFactory.generateProxy(GeneratedAOPProxyFactory.java:130)
at org.jboss.aop.proxy.container.GeneratedAOPProxyFactory.getProxy(GeneratedAOPProxyFactory.java:116)
... 20 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years