v8.3p_2012-12-15/PowerEdition Deployment (built 2012-12-15)
produced criteria
The correct criteria should be:
Incorrect one can't be parsed by widgets, for example by DateRange picker in listgGrid filter editor.
This bug is blocking my custom criteria parsing mechanism, which i was forced to implement because of
http://forums.smartclient.com/showthread.php?t=24439
http://forums.smartclient.com/showthread.php?t=9756
and multiple bugs in DataSource.combineCriteria() which are not submitted by me yet.
So seems like bug workarounding is blocked by another bug=(
Or please, suggest a workaround or a method to generate AdvancedCriteria from Map on the client side (including correct handling of _constructor=RelativeDate), something like Evaluator.parseAdvancedCriteria().
Thank you.
Code:
new AdvancedCriteria(OperatorId.AND, new Criterion[]{new AdvancedCriteria(OperatorId.AND, new Criterion[]{new Criterion("test", OperatorId.AND, "test")})})
Code:
{operator=and, criteria=[{operator=and, criteria=[{fieldName=test, operator=and, value=test}]}], _constructor=AdvancedCriteria}
Code:
{operator=and, criteria=[{[b]_constructor=AdvancedCriteria[/b], operator=and, criteria=[{fieldName=test, operator=and, value=test}]}], _constructor=AdvancedCriteria}
This bug is blocking my custom criteria parsing mechanism, which i was forced to implement because of
http://forums.smartclient.com/showthread.php?t=24439
http://forums.smartclient.com/showthread.php?t=9756
and multiple bugs in DataSource.combineCriteria() which are not submitted by me yet.
So seems like bug workarounding is blocked by another bug=(
Or please, suggest a workaround or a method to generate AdvancedCriteria from Map on the client side (including correct handling of _constructor=RelativeDate), something like Evaluator.parseAdvancedCriteria().
Thank you.
Comment