Announcement

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

    WARN:RPCManager:sendQueue called with no current queue, ignoring

    Hi,

    When I first start my app, I see this message in the console.

    WARN:RPCManager:sendQueue called with no current queue, ignoring

    What should I be looking for?

    Thanks,
    Mike

    #2
    Also, when I edit, sometimes I see this:

    0:28:08.156:MUP6:WARN:ListGrid:itemList:Record:{issue_id: "54"}, lost from local cache in paged result set. Pending edits for this record will be maintained.
    20:28:08.437:XRP7:WARN:ListGrid:itemList:Record:{issue_id: "54"}, lost from local cache in paged result set. Pending edits for this record will be maintained.
    20:28:09.125:MUP6:WARN:ListGrid:itemList:Record:{issue_id: "54"}, lost from local cache in paged result set. Pending edits for this record will be maintained.

    What usually causes this?

    Thanks,
    Mike

    Comment


      #3
      On the first one - are you calling sendQueue() at all?

      On the second one - this generally indicates that the user had edited a record - or you had called setEditValue() on a record - which was then dropped from the local cache (by a new filter, a new sort direction that loads a new and different partial dataset, etc). By default, SmartClient will hang onto the edits made by the user until the record reappears, or you can discard them with discardEdits().

      Comment


        #4
        A search of my code did not find "sendQueue".

        Mike

        Comment


          #5
          Hi,

          A search of my code did not find "sendQueue".

          Are there any other tricks for finding out where this message is coming from?

          Again, the message is:

          WARN:RPCManager:sendQueue called with no current queue, ignoring

          I have eliminated all other warnings from my code, so I am now gunning for this one!

          Thanks,
          Mike

          Comment


            #6
            Hi,

            I found a clue about this warning.

            A ListGrid is being created which uses a DataSource to populate a drop-down list.

            An implicit call to the RPC manager is happening, and causing the warning.

            I tried calling RPCManager.startQueue(); before the ListGrid is created, but that doesn't help.

            Any suggestions?

            Thanks,
            Mike

            Comment

            Working...
            X