Bug 780533 (SOA-2968) - Incorrect rewrite of not disjunctive criteria
Summary: Incorrect rewrite of not disjunctive criteria
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-2968
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: EDS
Version: 5.1.0 GA
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 5.2.0 ER1
Assignee: Van Halbert
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-08 13:58 UTC by Steven Hawkins
Modified: 2011-10-11 22:00 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-11 22:00:14 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-2968 0 None None None Never

Description Steven Hawkins 2011-03-08 13:58:34 UTC
Complexity: Low
Workaround: Workaround Exists
Workaround Description: Use the conjunctive normal form of the condition, e.g. instead of "not((a or b) AND c)", use "(not(a) or not(c)) and (not(b) or not(c))"
project_key: SOA

The rewrite of a condition such as "not((a or b) AND c)" with a,b,c predicates where c a is predicate that is negatable, such as col1 = 1.  The result should have the negated form of col1 <> 1, but instead has col1 = 1.  This is because the col1 = 1 predicate is repeated in the result, but not cloned and the rewriter modifies the same instance.

Comment 1 Van Halbert 2011-03-08 13:58:35 UTC
Link: Added: This issue Cloned from TEIID-1498


Comment 2 Van Halbert 2011-03-08 13:59:01 UTC
Security: Added: Public


Comment 4 David Le Sage 2011-09-01 03:54:26 UTC
Release Notes Docs Status: Added: Documented as Resolved Issue
Writer: Added: dlesage
Release Notes Text: Added: https://issues.jboss.org/browse/SOA-2968

The coding for "not disjunctive" conditional criteria was inaccurate.  This has now been fixed so users can add these conditions and find that they will be interpreted accurately by the software.


Comment 5 Paul Nittel 2011-10-11 22:00:14 UTC
Tested and closed!


Note You need to log in before you can comment on or make changes to this bug.