kevinohara80/dmc

"Could not save " <resource> ", object has been modified on server

Closed this issue · 2 comments

I'm using DMC on my MS Windows 10, 64bit OS (also use it on my Mac...) and have been getting this error repeatedly whenever I issue a dmc watch src/{classes,pages}/* command and then modify a resource using my Atom editor. The terminal window shows that the deployment is "queued" then "completed". Then, the deletion of the metadata container, AND THEN another deploy is "queued" and finally "failed". I'm not sure what the final deployment would be as there is only one resource being modified. Ultimately the terminal window indicates that the deploy failed. However, when viewing the resource through either the "setup menu" access to that resource (e.g. a Apex Class or Visualforce Page) or the Developer Console tool, I can see that my changes were saved to the "org".

Could this be a problem with my DMC configuation or how I'm issuing the dmc watch ... command?

This could possibly be an atom related thing and triggering a deploy through a file system save multiple times. Can you try editing in another text editor to see if the issue persists?

Closing this. If you have more details and are still experiencing the issue feel free to re-open.