graceguo-supercat opened a new pull request #11305: URL: https://github.com/apache/incubator-superset/pull/11305
### SUMMARY This PR is to fix an issue related to #11220 . To reproduce: 1. open a dashboard and edit, 2. save change, successfully, 3. in the same browser window, edit same dashboard again, 4. when you try to save the 2nd change, you will see error message. The root cause is, after user's first update, the client-side still hold the previous value for dashboard last_updated_time. On user submit the second edit, server-side compare the last_updated_time with newer one and will reject the 2nd edit request. This PR adds solution for this issue: update last_updated_time in client-side when the first save is successful. ### TEST PLAN CI and new unit test. ### ADDITIONAL INFORMATION <!--- Check any relevant boxes with "x" --> <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> - [x] Has associated issue: #11220 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
