Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DSRequest.getCriteria object changed in 2.2 causing issues

    Using
    GWT 2.0.3
    SmartGWT 2.2 (Nightly build due to other issue that was fixed)

    Was something changed that would cause this error in 2.2 but not 2.1?

    DSRequest.getCriteria() returns a Criteria object but getValues no longer returns the field names and values for the Criteria as it did is there another way to get those values from this updated object in 2.2?

    It seems to be where I'm using Criteria that something changed in the object for 2.2 :

    Code:
    Criteria c = request.getCriteria();
    HashMap criteriaMap = (HashMap)c.getValues();
    was in 2.1:
    {itmid=TP*}
    
    is now in 2.2:
    {operator=and, _constructor=AdvancedCriteria, criteria=[object Object]}

    #2
    yes, there was a related change. There's an open issue for this. Please "star" it to get notified when its fixed.

    Comment

    Working...
    X