Announcement

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

    restdatasource and queueing

    Hi,

    I am trying to enable transaction queuing using a restdatasource and I receive correctly the information sent by server for a two operation request in one package:

    Code:
    { "transaction": 
      { "transactionNum": 26, 
         "operations": [{ "culture":"fr-be",          "idUser":1,"idUserLang":93, "isEditable":null, "preference":null, "userLanguageDescription":null, "_selection_61":false, "_operationType":"remove", "_textMatchStyle":"exact", "_componentId":"userlangGrid_1afa67", "_fields":"[idUserLang,idUser,culture,preference]", "_dataSource":"child01DS_1afa67", "isc_metaDataPrefix":"_", "isc_dataFormat":"json" }, 
    
    { "culture":"en-gb", "idUser":1, "idUserLang":91, "isEditable":false, "preference":0, "userLanguageDescription":null, "_selection_61":false, "_operationType":"remove", "_textMatchStyle":"exact", "_componentId":"userlangGrid_1afa67", "_fields":"[idUserLang,idUser,culture,preference]", "_dataSource":"child01DS_1afa67", "isc_metaDataPrefix":"_", "isc_dataFormat":"json" }]}}
    However when server sends the reply back to smartclient:

    Code:
    [{response:{"queueStatus":0,"data":  [{"culture":"fr-be","idUser":1,"idUserLang":93,"isEditable":null,"preference":null,"userLanguageDescription":null}],"endRow":0,"startRow":0,"status":0,"totalRows":1}},{response:{"queueStatus":0,"data":[{"culture":"en-gb","idUser":1,"idUserLang":91,"isEditable":false,"preference":0,"userLanguageDescription":null}],"endRow":0,"startRow":0,"status":0,"totalRows":1}}]
    it is ignored and browser stays blocked waiting for answer.

    Each of the 2 replies in JSON string is valid if disableQueueing is set to false and the transaction are sent one by one.

    I am using Smartclient 10.0p, dataProtocol is set to "postMessage" and dataFormat set to "json", I would really appreciate your help on this.

    Regards and thanks in advance.

    Felipe Rodriguez.

    #2
    Start by posting the logs from your Developer Console, and your full version.

    Comment

    Working...
    X