280north/cappuccino — Issue #21: Bug found in CPCompoundPredicate
Author: lynnchin
Created: 2012-01-31 23:12:53+00:00
State: open

Hi all,

I have discovered a problem while I was trying to call predicateFormat in CPCompoundPredicate class.

The problem I am getting here is this; I am trying to set the type operator with CPNotPredicateType, it always give me the output result when I call the predicateFormat to return the string of my predicate rule:

%schain == "abc"

In CPCompoundPredicate class, i can see this in predicateFormat method:

result += "NOT %s" + [args objectAtIndex:0];

Would anyone mind to look into this and resolve this bug?

Thanks.