Bug 727784
Summary: | Unable to construct expressions containing 'from' using Rules API | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise BRMS Platform 5 | Reporter: | Tomas Schlosser <tschloss> |
Component: | BRE (Expert, Fusion) | Assignee: | Nobody <nobody> |
Status: | CLOSED UPSTREAM | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | BRMS 5.2.0-ER1 | ||
Target Milestone: | --- | ||
Target Release: | BRMS 5.3.0.GA | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Previously, an error prevented rules using the API from including 'from' in the Rule. This has been resolved by changing a line of code in drools/drools-compiler/src/main/java/org/drools/lang/api/PatternDescrBuilder.java:</para>
<para>
From:
</para>
<screen>
public SourceDescrBuilder<?> from();
</screen>
<para>
To:
</para>
<screen>public SourceDescrBuilder<PatternDescrBuilder<P>> from();</screen>
<para>
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2025-02-10 03:14:06 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Tomas Schlosser
2011-08-03 08:48:26 UTC
Just a little change is required: drools/drools-compiler/src/main/java/org/drools/lang/api/PatternDescrBuilder.java change: 45: public SourceDescrBuilder<?> from(); to: 45: public SourceDescrBuilder<PatternDescrBuilder<P>> from(); Edson Tirelli <ed.tirelli> updated the status of jira JBRULES-3354 to Resolved Edson Tirelli <ed.tirelli> made a comment on jira JBRULES-3354 Done. Edson Tirelli <ed.tirelli> updated the status of jira JBRULES-3354 to Closed Fixed. Thanks. It is fixed now. Thank you Edson Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Previously, an error prevented rules using the API, from including 'from' in the Rule. Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1 +1,12 @@ -Previously, an error prevented rules using the API, from including 'from' in the Rule.+Previously, an error prevented rules using the API from including 'from' in the Rule. This has been resolved by changing a line of code in drools/drools-compiler/src/main/java/org/drools/lang/api/PatternDescrBuilder.java:</para> +<para> +From: +</para> +<screen> +public SourceDescrBuilder<?> from(); +</screen> +<para> +To: +</para> +<screen>public SourceDescrBuilder<PatternDescrBuilder<P>> from();</screen> +<para> Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -3,7 +3,7 @@ From: </para> <screen> -public SourceDescrBuilder<?> from(); +public SourceDescrBuilder<?> from(); </screen> <para> To: Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -8,5 +8,5 @@ <para> To: </para> -<screen>public SourceDescrBuilder<PatternDescrBuilder<P>> from();</screen> +<screen>public SourceDescrBuilder<PatternDescrBuilder<P>> from();</screen> <para> This product has been discontinued or is no longer tracked in Red Hat Bugzilla. |