[JBoss JIRA] Created: (JBAS-8868) Incorrect setter picked up for resource injection
by jaikiran pai (JIRA)
Incorrect setter picked up for resource injection
-------------------------------------------------
Key: JBAS-8868
URL: https://issues.jboss.org/browse/JBAS-8868
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Integration
Affects Versions: 6.0.0.Final
Reporter: jaikiran pai
Assignee: jaikiran pai
If a resource injection target contains the following piece of code:
{code}
@Stateless
public class BugResourceBean implements BugResourceLocal {
@EJB
private CreateLocal create;
public String create() {
return "ok";
}
}
{code}
during injection, instead of injecting into the field, jboss-injection tries to incorrectly inject in the method leading to an exception:
{code}
Caused by: java.lang.IllegalArgumentException: failed to set value Proxy to jboss.j2ee:ear=alexandria-ear-0.3.4-SNAPSHOT.ear,jar=alexandria-ejb-0.3.4-SNAPSHOT.jar,name=CreateBean,service=EJB3 implementing [interface com.unifiedpost.alexandria.ejb.CreateLocal] with setter public java.lang.String com.unifiedpost.alexandria.rest.resource.service.BugResourceBean.create()
at org.jboss.injection.injector.util.MethodInjectionPoint.set(MethodInjectionPoint.java:66) [:1.0.0-alpha-6]
at org.jboss.injection.injector.EEInjector.inject(EEInjector.java:159) [:1.0.0-alpha-6]
at org.jboss.injection.injector.EEInjector.inject(EEInjector.java:134) [:1.0.0-alpha-6]
at org.jboss.injection.injector.EEInjector.inject(EEInjector.java:82) [:1.0.0-alpha-6]
{code}
Please see the referenced forum thread for the complete details.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months
[JBoss JIRA] Created: (JBRULES-2892) Not Clause in Guided Decision Table
by Brad Davis (JIRA)
Not Clause in Guided Decision Table
-----------------------------------
Key: JBRULES-2892
URL: https://issues.jboss.org/browse/JBRULES-2892
Project: Drools
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: drools-guvnor
Affects Versions: 5.1.0.FINAL
Reporter: Brad Davis
Assignee: Mark Proctor
We have had many situations where a not clause needs to be entered within a Guided Decision Table. This functionality seems to be missing. We are trying to produce a rule similar to the following in DSL.
WHEN
not Patient(gender="M")
THEN
...
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months
[JBoss JIRA] Created: (JBRULES-2890) Enumerated Values Via Query
by Brad Davis (JIRA)
Enumerated Values Via Query
---------------------------
Key: JBRULES-2890
URL: https://issues.jboss.org/browse/JBRULES-2890
Project: Drools
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: drools-guvnor
Affects Versions: 5.1.1.FINAL
Reporter: Brad Davis
Assignee: Mark Proctor
Priority: Optional
When creating the Rules Fact Model, it would be helpful to be able to define a query and datasource to enumerate possible values for a given field. An example of the usefulness would be for ICD Codes for healthcare. By annotating a fact model field with Datasource and Query information, we could provide auto-complete / enumeration for a given field in the UI.
public class ICD9Code {
@org.jboss.brms.ui.validators.DatabaseEnumerator(
datasource="ExampleDS",
query={"select field from some table where field like '{value}%"')
private String code;
...
}
As the user starts to type in the BRL UI, we could then perform a query on the underlying datasource to autocomplete the annotated field. For large datasets, this would decrease the entry time significantly for the business users, while also ensuring that users are adhering to known business values.
This would also be useful for zip codes, states, etc.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months
[JBoss JIRA] Created: (SECURITY-568) Move networking code under a new project
by Darran Lofthouse (JIRA)
Move networking code under a new project
----------------------------------------
Key: SECURITY-568
URL: https://issues.jboss.org/browse/SECURITY-568
Project: PicketBox (JBoss Security and Identity Management)
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Negotiation
Reporter: Darran Lofthouse
Assignee: Darran Lofthouse
Fix For: Negotiation_2.0.4
The project jboss-negotiation-spnego is specifically for the message parsing and server side login module, client side interactions are external to this project so all networking should be in it's own specific project.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months