Skip to content

Commit 37d369b

Browse files
Release/13.0 (#329)
* Add support for multiple submissions for single user on application - Added submission name Add Submission name to LambdaSubmissionDefinition and Submission entity Add event stream for event service tables if it does not exist (Locally) Add troubleshooting * Add support for multiple submissions for single user on application - Added submission name Add Submission name to LambdaSubmissionDefinition and Submission entity Add event stream for event service tables if it does not exist (Locally) Add troubleshooting Fix migrations * Remove event_stream schema creation SQL migration file - Causing mass issues again * Add Flyway migration troubleshooting section to README * Force deployment * Add allowsMultipleSubmissions field to ApplicationFormPatchDTO and ApplicationFormEntity. Update ApplicationFormController and ApplicationFormService to handle null applicationStatus checks. Introduce Flyway migration to add allows_multiple_submissions column to grant_application table. * Update ApplicationFormTestData to include allowsMultipleSubmissions field in ApplicationFormEntity instances. * Add validation annotation to ApplicationFormPatchDTO to ensure at least one field is not null. Introduce AtLeastOneFieldNotNull annotation and its validator for this purpose. * Add submissionName field to ExportedSubmissionsDto and update mapping logic in CustomGrantExportMapperImpl. Implement new method to retrieve submission name from the repository. * Enhance tests for submissionName handling in CustomGrantExportMapperImplTest and GrantExportServiceTest. Add assertions to verify mapping of submissionName and handle null cases. * Temporarly add --disableCentral flag to feature and pushImage workflows as their service is down and blocking pipeline * Force update
1 parent 45acba4 commit 37d369b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/gov/cabinetoffice/gap/adminbackend/controllers/ControllerExceptionHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ protected ResponseEntity<Object> handleConflict(ObjectOptimisticLockingFailureEx
127127
/**
128128
* This overridden method handles controller methods being called with invalid
129129
* arguments It'll spit back a json representation of a FieldErrorsDTO or a
130-
* ClassErrorsDTO
130+
* ClassErrorsDTO.
131131
*/
132132
@Override
133133
protected ResponseEntity<Object> handleMethodArgumentNotValid(MethodArgumentNotValidException ex,
@@ -140,7 +140,7 @@ protected ResponseEntity<Object> handleMethodArgumentNotValid(MethodArgumentNotV
140140

141141
/**
142142
* This overridden method handles controller methods which cause bind exceptions It'll
143-
* spit back a json representation of a FieldErrorsDTO or a ClassErrorsDTO
143+
* spit back a json representation of a FieldErrorsDTO or a ClassErrorsDTO.
144144
*/
145145
@Override
146146
protected ResponseEntity<Object> handleBindException(BindException ex, HttpHeaders headers, HttpStatus status,

0 commit comments

Comments
 (0)