PromucFlow_constructor/app/server/appsmith-server/src
Shrikant Sharat Kandula 2a2dda0ab0
Fix race condition in setting default page in application (#394)
We are currently getting the *list* of all pages, updating the
`isDefault` fields inside, and then saving the whole *list* of
all pages. If a new page got added to that list in the DB during
this process, that page would be lost. This commit fixes this
problem.

This race condition was causing tests for cloning applications
to fail *sometimes*.
2020-08-21 16:31:40 +05:30
..
main Fix race condition in setting default page in application (#394) 2020-08-21 16:31:40 +05:30
test/java/com/appsmith/server Fix default page not being set for cloned applications (#383) 2020-08-21 10:38:23 +05:30