Announcement

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

    String format changed while sent from client to server

    Isomorphic,

    I am observing that the format of the string sent by a DB operation using RPC manager is inconsistant on the tomcat server.

    I observe the following,

    Here Request #26 goes out in improper format while you can observe #27 has proper format.

    This scenario can be observed only on tomcat server.

    The values being sent are surely in wrong format if extracted from a map using map.get("Item").toString() .
    The problem occurs inconsistantly if the same is done using explicit conversion to string,
    ((String) map.get("Item"))




    === 2013-03-18 04:47:57,200 [5-17] DEBUG RPCManager - Request #26 (DSRequest) payload: {
    values:{
    HISTORY_ID:7676,
    PARAM_KEY:"txtClassCodes",
    PARAM_VAL:{
    cM:{
    "1":1,
    "205":1,
    "207":1,
    "208":1
    }
    }
    },
    operationConfig:{
    dataSource:"history",
    operationType:"add"
    },
    appID:"builtinApplication",
    operation:"insertField",
    oldValues:{
    HISTORY_ID:7676,
    PARAM_KEY:"txtClassCodes",
    PARAM_VAL:{
    cM:{
    "1":1,
    "205":1,
    "207":1,
    "208":1
    }
    }
    },
    criteria:{
    }
    }
    === 2013-03-18 04:47:57,201 [5-17] DEBUG RPCManager - Request #27 (DSRequest) payload: {
    values:{
    HISTORY_ID:7676,
    PARAM_KEY:"classClientId",
    PARAM_VAL:"999"
    },
    operationConfig:{
    dataSource:"history",
    operationType:"add"
    },
    appID:"builtinApplication",
    operation:"insertField",
    oldValues:{
    HISTORY_ID:7676,
    PARAM_KEY:"classClientId",
    PARAM_VAL:"999"
    },
    criteria:{
    }
    }

    The same can also be observed in the AdvancedCriteria being sent from client to server.

    Could you please let us know a solution for this issue?

    We are using Firefox Browser 6.0.1.

    Version 3.1d.(Observed in all older versions too)

    #2
    See FAQ - this is a bug in core GWT, corrected in GWT 2.5.

    Comment

    Working...
    X