UpdateItem called on child before InsertItem called on parent RRS feed

  • Question

  • Scenario: I create a folder called 'A' and within 'A' I create a file called '1.txt'. Then perform a bidirectional sync. After the sync, I create folder called 'B' and place that in folder 'A'. I then move '1.txt' into folder 'B'. Then I perform a bidirectional sync. The problem is that the UpdateItem() method gets called on '1.txt' before InsertItem() gets called for the new folder 'B'. What should happen is that InsertItem() should be called to create the new folder 'B' on the server, then UpdateItem() should be called on '1.txt' to update it's location.

    I'm not sure how to handle this. Thoughts?

    Monday, August 29, 2011 3:35 PM

All replies