PromucFlow_constructor/app/server/appsmith-server
sneha122 7cd7438eb7
feat: execute on load backwards compatibility backend changes (#40644)
## Description
This PR provides backward compatibility for older actions which do not
have runBehaviour property in the DB. When such actions have been
configured to be run on page load explicitly, they will get executed as
other actions which get set to be run on page load when binding happens.


### Steps to reproduce:
- Create app on production
([app.appsmith.com](http://app.appsmith.com/))
- Create mock db users datasource
- Create 3 queries, Q1, Q2 and Q3
- Attach Q1 to table so it runs on page load
- Change executeOnLoad setting of Q3 to page load
- Export this app
- Import this on our DP
- Observe that Q3 does not run on page load


Fixes #40633   
_or_  
Fixes `Issue URL`
> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## Automation

/ok-to-test tags="@tag.Datasource, @tag.Sanity"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/14979473254>
> Commit: 5009eb44ac2c1a713f3a604dddf3545c898208e1
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14979473254&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Datasource, @tag.Sanity`
> Spec:
> <hr>Tue, 13 May 2025 03:57:32 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No

---------

Co-authored-by: “sneha122” <“sneha@appsmith.com”>
2025-05-13 09:48:31 +05:30
..
src feat: execute on load backwards compatibility backend changes (#40644) 2025-05-13 09:48:31 +05:30
auth-notes
pom.xml chore: add etag caching in consolidated api for application view mode (#38873) 2025-01-30 13:54:34 +05:30