Announcement

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

    SQLDataSource bug: boolean field sent to client as false when it's null

    Hello, I've just noticed that every field type of my SQLDataSources (oracle db) of type boolean, sqlStorageStrategy="singleCharTF", are sent to the client as false when the actual value is null.
    This build is working, ie null columns result in absence of the attribute in the rpc response and js object in the callback:
    SmartClient Version: v11.1p_2017-09-03/Enterprise Deployment (built 2017-09-03)

    This build doesn't work, ie null columns result in presence of the attribute with value===false.
    SmartClient Version: v11.1p_2017-09-13/Enterprise Deployment (built 2017-09-13)

    #2
    Hi Isomorphic,

    I assume that this is linked to this enhancement.

    Best regards
    Blama

    Comment


      #3
      Hello Blama, maybe you're right, I've downloaded and tested other builds:
      this build is working: SmartClient_v111p_2017-09-05_Enterprise

      this build doesn't work: SmartClient_v111p_2017-09-09_Enterprise

      Comment


        #4
        We have fixed the bug that you describe here, both in 12.0d and in 11.1p versions. You'll find it fixed in next nightly build dated September 21.

        Thanks,
        isomorphic.

        Comment


          #5
          SmartClient Version: v11.1p_2017-09-21/Enterprise Deployment (built 2017-09-21)

          I can confirm it's fixed, thank you very much.

          Comment

          Working...
          X