PromucFlow_constructor/app/server
Abhijeet 4c7ce27976
fix: NPE for policies when policyMap is not present (#36323)
## Description

/test all

### 🔍 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/10878646145>
> Commit: 5bbb0ad1b7a76a91540f401753dc588b440900d1
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10878646145&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Mon, 16 Sep 2024 07:32:37 UTC
<!-- end of auto-generated comment: Cypress test results  -->


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


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Bug Fixes**
- Improved the reliability of policies retrieval methods to prevent null
values, ensuring they always return a non-null result.
- **New Features**
- Enhanced API design with safer handling of collections by returning an
empty set when no policies are available.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-09-16 14:50:52 +05:30
..
.run
appsmith-git fix: removed conditional to check for jslib files (#36115) 2024-09-04 15:56:48 +05:30
appsmith-interfaces chore: autocommit migration for annotation and embedded datasource changes. (#36261) 2024-09-16 13:24:08 +05:30
appsmith-plugins feat: Action redesign: Updating the config for Google sheets plugin to use sections and zones format (#36117) 2024-09-12 12:06:20 +05:30
appsmith-server fix: NPE for policies when policyMap is not present (#36323) 2024-09-16 14:50:52 +05:30
envs test: Enable server tests for the PRs with base PG branch (#33429) 2024-05-22 15:55:20 +05:30
mongo-seed
reactive-caching chore: introduce caching and projection to optimise FPL (#36118) 2024-09-10 00:04:22 +06:00
scripts chore: Revert "chore: delete redundant files" (#35022) 2024-07-18 16:18:10 +05:30
.gitignore
build.sh test: Enable server tests for the PRs with base PG branch (#33429) 2024-05-22 15:55:20 +05:30
buildpack-run.sh
pom.xml chore: added prettier spotless plugin for json files (#35447) 2024-08-08 09:16:03 +05:30
Procfile
README.md
system.properties

Appsmith Server

This is the server-side repository for the Appsmith framework.

For details on setting up your development machine, please refer to this Setup Guide.