what if dataprocessor action fails ?

I am using the dataprocessor to save data to a database. Suppose there are some constraints in place on the database, it could occur that the database “refuses” to save something, for instance a move of an existing calendar entry with click-n-drag.

My question: in sample 05_loading_mysql.html, this is not communicated back to the calendar component: the movement of the event seems to have been succesfull, until proven otherwise when the component is reloaded. Anyone has experience with this ???

Thanks in advance.

Server side code can send data back with different statuses, one of which - “error”, will mark event as not saved ( red colored text ), you can assign custom code handlers which may provide a more visible message for the user.

Unfortunately there is no logic which will return event in position before modification.