Skip to content

Commit

Permalink
Migration to remove bullet point from legal basis tab. (#5748)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesrferguson1 authored Dec 4, 2024
1 parent cbcf6d8 commit eded9cd
Showing 1 changed file with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ public class MigrateCaseController extends CallbackController {
"DFPL-log", this::runLog,
"DFPL-2610", this::run2610,
"DFPL-2585", this::run2585,
"DFPL-2585Rollback", this::run2585Rollback
"DFPL-2585Rollback", this::run2585Rollback,
"DFPL-2613", this::run2613
);
private final CaseConverter caseConverter;
private final JudicialService judicialService;
Expand Down Expand Up @@ -136,4 +137,15 @@ private void run2585Rollback(CaseDetails caseDetails) {
log.info("Attempting to create {} roles on case {}", rolesToAssign.size(), caseData.getId());
judicialService.migrateJudgeRoles(rolesToAssign);
}

private void run2613(CaseDetails caseDetails) {
final String migrationId = "DFPL-2613";
final long expectedCaseId = 1730762581559473L;
CaseData caseData = getCaseData(caseDetails);

migrateCaseService.doCaseIdCheck(caseDetails.getId(), expectedCaseId, migrationId);
caseDetails.getData().putAll(migrateCaseService
.removeCharactersFromThresholdDetails(caseData, migrationId,
6606, 6844, "\n"));
}
}

0 comments on commit eded9cd

Please sign in to comment.