PromucFlow_constructor/app/server/appsmith-plugins
sneha122 1f07be34fd
fix: appsmith ai app git import issue fixed (#37921)
## Description
This PR fixes the issue when trying to import git connected app which
has Appsmith AI plugin and query added.

Steps to test the fixes:
1. Create an app and connect it to git
2. Create appsmith ai plugin and add a query
3. Commit all the changes
4. In a new workspace, import this app from git, import should go
through successfully


Fixes #37833 
_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"

### 🔍 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/12142783624>
> Commit: f4c90b129022c328b667bf2e34fe9e635d6d0ce7
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=12142783624&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Datasource`
> Spec:
> <hr>Tue, 03 Dec 2024 17:11:00 UTC
<!-- end of auto-generated comment: Cypress test results  -->


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


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

## Summary by CodeRabbit

- **Bug Fixes**
- Enhanced null safety checks in the `getFileIds` method to prevent
potential `NullPointerExceptions`.

- **Tests**
- Introduced unit tests for the `FileUtils` class to validate the
behavior of the `getFileIds` method under various conditions.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: “sneha122” <“sneha@appsmith.com”>
2024-12-04 15:40:32 +05:30
..
amazons3Plugin chore: Updating the copy in the action settings pane (#37260) 2024-11-07 00:20:52 +05:30
anthropicPlugin chore: Updating the copy in the action settings pane (#37260) 2024-11-07 00:20:52 +05:30
appsmithAiPlugin fix: appsmith ai app git import issue fixed (#37921) 2024-12-04 15:40:32 +05:30
arangoDBPlugin chore: Query Editor full width option (#37138) 2024-10-31 15:20:48 +05:30
awsLambdaPlugin fix: logger-not-working-in-plugins (#36231) 2024-09-17 10:47:58 +01:00
databricksPlugin fix: logger-not-working-in-plugins (#36231) 2024-09-17 10:47:58 +01:00
dynamoPlugin fix: logger-not-working-in-plugins (#36231) 2024-09-17 10:47:58 +01:00
elasticSearchPlugin fix: logger-not-working-in-plugins (#36231) 2024-09-17 10:47:58 +01:00
firestorePlugin chore: Updating the copy in the action settings pane (#37260) 2024-11-07 00:20:52 +05:30
googleAiPlugin chore: Updating the copy in the action settings pane (#37260) 2024-11-07 00:20:52 +05:30
googleSheetsPlugin chore: Google sheet shared drive support added behind a flag (#37776) 2024-11-28 13:40:32 +05:30
graphqlPlugin chore: Upgrading spring to 3.3.3 to resolve vulnerable dependencies (#36266) 2024-10-01 22:12:56 +05:30
jsPlugin chore: Applied Spotless formatter (#25173) 2023-07-07 00:43:11 +05:30
mongoPlugin chore: Updating the copy in the action settings pane (#37260) 2024-11-07 00:20:52 +05:30
mssqlPlugin chore: add spotless for sql files for postgres (#37016) 2024-11-09 11:21:30 +05:30
mysqlPlugin chore: add spotless for sql files for postgres (#37016) 2024-11-09 11:21:30 +05:30
openAiPlugin chore: Updating the copy in the action settings pane (#37260) 2024-11-07 00:20:52 +05:30
oraclePlugin chore: add spotless for sql files for postgres (#37016) 2024-11-09 11:21:30 +05:30
postgresPlugin chore: add spotless for sql files for postgres (#37016) 2024-11-09 11:21:30 +05:30
redisPlugin chore: Query Editor full width option (#37138) 2024-10-31 15:20:48 +05:30
redshiftPlugin chore: add spotless for sql files for postgres (#37016) 2024-11-09 11:21:30 +05:30
restApiPlugin chore: Upgrading spring to 3.3.3 to resolve vulnerable dependencies (#36266) 2024-10-01 22:12:56 +05:30
saasPlugin fix: logger-not-working-in-plugins (#36231) 2024-09-17 10:47:58 +01:00
smtpPlugin fix: SMTP datasource should work without username and password (#37319) 2024-11-15 12:32:41 +05:30
snowflakePlugin chore(deps): bump net.snowflake:snowflake-jdbc from 3.13.29 to 3.20.0 in /app/server/appsmith-plugins/snowflakePlugin (#37175) 2024-11-15 07:29:14 +05:30
pom.xml fix: logger-not-working-in-plugins (#36231) 2024-09-17 10:47:58 +01:00