Bug 869967
Summary: | Fact metadata declared in a POJO are lost when declaring fact metadata in DRL | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise BRMS Platform 5 | Reporter: | Marek Winkler <mwinkler> |
Component: | BRE (Expert, Fusion) | Assignee: | Mario Fusco <mfusco> |
Status: | VERIFIED --- | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | BRMS 5.3.1 | CC: | kverlaen |
Target Milestone: | ER4 | ||
Target Release: | BRMS 5.3.1 GA | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
When a POJO had annotations both in the Java class and in the corresponding DRL declared type, only the annotations in the DRL were taken into account. As a result, annotations on the POJO were lost. This has been resolved by merging annotations on both the POJO and the declared type. It is now possible to use annotations in both the POJO and the corresponding declared type.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 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
Marek Winkler
2012-10-25 09:10:39 UTC
The reproducer test case can be found in pull request: https://github.com/droolsjbpm/drools/pull/154 Mario Fusco <mario.fusco> updated the status of jira JBRULES-3673 to Resolved I fixed the issue on the master with this commit: https://github.com/droolsjbpm/drools/commit/63dfb78c42122dcd6c695e5fb8ed845093d2872a I am ready to backport this fix to the 5.3.1 as soon as the ack flags will be set. Backported to 5.3.1 Verified on 5.3.1.BRMS-ER4 |