Announcement

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

    Problem with Booleans and KeepPropertiesBeanFilter

    Hello,

    We've just noticed that it appears that Boolean properties added to a KeepPropertiesBeanFilter are not being honored and are being filtered out in 6.5.1 when used as part of a JSONFilter.

    Is this a known issue?

    http://www.smartclient.com/docs/6.5.1/a/system/reference/server/javadoc/com/isomorphic/js/KeepPropertiesBeanFilter.html

    #2
    Definitely not a known issue, and seems pretty unlikely since the JSONFilter is used internally whenever you set dropExtraFields=true, which is true by default in turn for all DMIs. So this problem would show up as all DMIs trimming off any boolean field, it seems.

    Comment


      #3
      Well, when I use dropExtraFields=true instead, everything works fine. It is just when using the JSONFilter constructor that takes a propsToKeep collection.

      So, what would be the best way to deliver you a standalone test case showing this problem since it is server-side logic?

      Comment


        #4
        Something like a .ds.xml file connected to a DMI where a Map containing booleans is inappropriately filtered.

        Comment

        Working...
        X