Announcement

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

    clientOnly remove operation failed: unable to find matching record

    Whenever I try to add some member to Canvas after the layout has been drawn, i am getting "clientOnly remove operation failed: unable to find matching record" popup message on my screen.

    Please note that, the issue is coming after migrating from SmartGWT 2.5 to SmartGWT 3.1

    Please provide solution for this.
    Last edited by pratik.thaker; 17 Jan 2013, 21:45.

    #2
    Can anyone provide solution for this ?
    Let me know if a standalone test case is required.

    Comment


      #3
      "clientOnly remove operation failed: unable to find matching record

      I am getting this issue while dropping a record into list griid. Any solution for this?

      Comment


        #4
        I got this when removing all records from a client-only data source, like this:

        Code:
        public void removeAllRecords() {
        		Record[] records = this.getCacheData();
        		for (Record record : records) {
        			this.removeData(record);
        		}
        	}
        Cause: The problem was that this method was invoked multiple times in a row from different parts of my code. I guess the records are removed asynchronously even for client-only data.

        Solution: make sure the method is invoked only once.

        In smartGWT3.1p.

        Comment


          #5
          ClientOnly: add operation failed for datasource, duplicate key in record

          Originally posted by pratik.thaker View Post
          Can anyone provide solution for this ?
          Let me know if a standalone test case is required.
          Hi Pratik

          Were you able to resolve this issue ? Even i m also facing same issue when i shifted from 2.5 to 3+ version.

          Thanks
          Atul

          Comment


            #6
            Hello All,
            I was facing same issue while removing record from ListGrid.
            ListGrid.setSaveLocally(true) can be used to prevent this error. It will basically prevent the server call if you want to perform operation locally.

            Thanks,
            Roshan

            Comment


              #7
              I got the same error.I will try rk9930,ListGrid.setSaveLocally(true),latter upload result.
              Attached Files

              Comment


                #8
                I think istGrid.setSaveLocally(true) not work.

                Comment


                  #9
                  I hope some body can resolve this bug !~~~~~~~~~~~~~~~~~~~~~~~~~~~

                  Comment


                    #10
                    There is no test case showing a bug in this thread. If you believe there is a framework issue here, please put together a minimal, ready-to-run test case demonstrating the issue.

                    Comment

                    Working...
                    X