opnform-host-nginx/api/tests/Feature
Chirag Chhatrala a11fb01bef
ESC-590 - Fix UUID and Auto Increment ID Generation Logic in StoreFormSubmissio… (#774)
* Fix UUID and Auto Increment ID Generation Logic in StoreFormSubmissionJob

- Updated the conditions for generating UUID and auto-increment IDs in the `StoreFormSubmissionJob` to ensure they only trigger when the answer value is not provided. This change enhances the logic for handling form submissions, particularly for users with non-pro subscriptions, by preventing unnecessary ID generation when an answer is already present.

These modifications aim to improve the accuracy of form submissions and ensure proper handling of ID generation based on user subscription status.

* Enhance ID Generation Logic in StoreFormSubmissionJob

- Updated conditions for UUID and auto-increment ID generation in `StoreFormSubmissionJob` to ensure they only trigger when the answer value is either not provided or invalid. This change improves the accuracy of ID generation based on user subscription status, preventing unnecessary ID creation when valid input is present.

These modifications aim to enhance the reliability of form submissions and ensure proper handling of ID generation features.

* Test  case
2025-06-05 16:58:24 +02:00
..
Forms ESC-590 - Fix UUID and Auto Increment ID Generation Logic in StoreFormSubmissio… (#774) 2025-06-05 16:58:24 +02:00
Integrations Email spam security (#641) 2024-12-18 13:16:27 +01:00
Submissions Refactor Form Submission Logic and Improve File Handling 2025-05-07 20:03:56 +02:00
Zapier Refactor FormSubmissionDataFactory to use TestHelpers trait 2025-03-04 13:38:33 +08:00
EnsureUserHasWorkspaceTest.php Implement EnsureUserHasWorkspace Trait and Integrate into Controllers… (#741) 2025-04-28 18:03:38 +02:00
FeatureFlagsControllerTest.php Fix custom-domains feature flag 2024-08-28 18:00:11 +02:00
LoginTest.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
RegisterTest.php Add reCAPTCHA support and update captcha provider handling (#647) 2024-12-18 16:35:09 +01:00
SettingsTest.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
TemplateTest.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
UserManagementTest.php Refactor form rendering (#747) 2025-05-07 17:15:56 +02:00
VerificationTest.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
WorkspaceTest.php Add workspace update functionality (#699) 2025-02-12 13:43:55 +01:00
WorkspaceUserTest.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00