Skip to content

Dtspb 4783 pp intestacy journey#3628

Open
IswaryaPepakayala wants to merge 49 commits intoDTSPB-4689-Digitising-Intestacyfrom
DTSPB-4783-PP-Intestacy-journey
Open

Dtspb 4783 pp intestacy journey#3628
IswaryaPepakayala wants to merge 49 commits intoDTSPB-4689-Digitising-Intestacyfrom
DTSPB-4783-PP-Intestacy-journey

Conversation

@IswaryaPepakayala
Copy link
Contributor

JIRA link (if applicable)

https://tools.hmcts.net/jira/browse/DTSPB-4783

Change description

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[X] No

IswaryaPepakayala and others added 30 commits January 12, 2026 08:57
# Conflicts:
#	src/main/java/uk/gov/hmcts/probate/model/ccd/raw/response/ResponseCaseData.java
#	src/main/java/uk/gov/hmcts/probate/transformer/CallbackResponseTransformer.java
# Conflicts:
#	ccdImports/configFiles/CCD_Probate_Backoffice/CaseEventToFields.json
#	ccdImports/configFiles/CCD_Probate_Backoffice/FixedLists.json
…-PP-Intestacy-journey

# Conflicts:
#	ccdImports/configFiles/CCD_Probate_Backoffice/CaseEventToFields.json
#	src/main/java/uk/gov/hmcts/probate/controller/BusinessValidationController.java
#	src/main/resources/ValidationMessages.properties
#	src/test/java/uk/gov/hmcts/probate/controller/BusinessValidationUnitTest.java
…estacy-Grandchild-Journey

# Conflicts:
#	ccdImports/configFiles/CCD_Probate_Backoffice/CaseEventToFields.json
{"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "childrenDiedBeforeDeceased", "Label": "Did any of these children die before deceased?", "FieldType": "FixedList", "FieldTypeParameter": "predeceasedFixedList", "SecurityClassification": "Public"},
{"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "hasCoApplicant", "Label": "Has any co-applicants?", "FieldType": "YesOrNo", "SecurityClassification": "Public"},
{"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "childAlive", "Label": "Is deceased‘s child alive?", "FieldType": "YesOrNo", "SecurityClassification": "Public"},
{"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "childAlive", "Label": "Is one of the applicant’s parents a deceased child of the deceased?", "FieldType": "YesOrNo", "SecurityClassification": "Public"},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in hindsight this seems like a poorly named field

{"LiveFrom": "06/01/2017", "ID": "solsResiduaryTypes", "ListElementCode": "LegateeDevisee", "ListElement": "the residuary legatee and devisee"},
{"LiveFrom": "06/01/2017", "ID": "solsRelationshipsToDeceased", "ListElementCode": "SpouseOrCivil", "ListElement": "Spouse or civil partner", "DisplayOrder": "1"},
{"LiveFrom": "06/01/2017", "ID": "solsRelationshipsToDeceased", "ListElementCode": "Child", "ListElement": "Child", "DisplayOrder": "2"},
{"LiveFrom": "06/01/2017", "ID": "solsRelationshipsToDeceased", "ListElementCode": "ChildAdopted", "ListElement": "Adopted child", "DisplayOrder": "3"},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to prepare a data migration for removing ChildAdopted?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah.We need to think about it.

Comment on lines +97 to +98
{"LiveFrom": "01/01/2017", "ID": "DocumentsRequiredSubList", "ListElementCode": "PA1A", "ListElement": "PA1A", "DisplayOrder": "7"},
{"LiveFrom": "01/01/2017", "ID": "DocumentsRequiredSubList", "ListElementCode": "PA1P", "ListElement": "PA1P", "DisplayOrder": "8"},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

have these been merged in from another branch?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rebased with master.Think will resolve this.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the changes here seem unrelated to this set of changes?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rebased with master.Think will resolve this.

Comment on lines +46 to +48
if (isSiblingOrParent && YES.equalsIgnoreCase(deceased.getDeceasedAnyLivingParents())) {
codes.add(LIVING_PARENTS);
codes.add(LIVING_PARENTS_WELSH);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doesn't this stop any parent applying? (since they are alive?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.Sorry need to add isSiblingOrParent for descendants.

Comment on lines +2485 to +2502
if (existingExecutorList != null && !existingExecutorList.isEmpty()) {
for (CollectionMember<IntestacyAdditionalExecutor> additionalExecutor : existingExecutorList) {
if (additionalExecutor.getValue().getSolsApplicantFamilyDetails() != null
&& additionalExecutor.getValue().getSolsApplicantFamilyDetails().getRelationship() != null) {
DynamicRadioList relationshipRadioList =
additionalExecutor.getValue().getSolsApplicantFamilyDetails().getRelationship();
if (relationshipRadioList.getValue() != null
&& relationshipRadioList.getValue().getCode() != null) {
String code = relationshipRadioList.getValue().getCode();
selectedValue = listItems.stream()
.filter(item -> code.equals(item.getCode()))
.findFirst()
.orElse(null);
}
break;
}
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so we use the value of the relationship of the last entry in the existing execs to provide the default for the new relationships?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code is for radio selection.If no existingExecutorList lis there then we show selectedValue as null and if it has existingExecutorList then the selectedValue will be the one that is selected before

Comment on lines +20 to +23
public static final String DIVORCED_OUTSIDE_ENGLAND_OR_WALES = "divorcedOutsideEnglandOrWales";
public static final String DIVORCED_OUTSIDE_ENGLAND_OR_WALES_WELSH = "divorcedOutsideEnglandOrWales";
public static final String SEPARATED_OUTSIDE_ENGLAND_OR_WALES = "separatedOutsideEnglandOrWales";
public static final String SEPARATED_OUTSIDE_ENGLAND_OR_WALES_WELSH = "separatedOutsideEnglandOrWales";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should ..._WELSH be different from non-..._WELSH?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have changed that in CW Amend PR because Welsh was not available when I was doing PP Intestacy https://github.com/hmcts/probate-back-office/pull/3670/changes

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm going to work on the basis that these template changes are unintentionally included?

AssembleLetterEvent=As there is no email address recorded for this applicant, you must use the 'Assemble a letter' event to request information instead.
invalidCaseTypeSelection=Cannot select this case type, please select a different case type
notAllowedStopReason=You cannot use stop reason **NOT TO BE USED (Other)**. You must select a specific stop reason from the case stop reason list
errorCannotProceed=A joint application is not possible if the main applicant is the deceased's husband, wife or civil partner.\nIn some cases, the deceased's child can be a joint applicant. Use Form PA1A to apply by post instead.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we confirm that these messages show up with the ' values correctly? i've been bitten in the past by properties files getting loaded and used through MessageFormat which can lead to some surprising outputs if you arent' expecting them.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated with Unicode escape sequences

invalidCaseTypeSelection=Cannot select this case type, please select a different case type
notAllowedStopReason=You cannot use stop reason **NOT TO BE USED (Other)**. You must select a specific stop reason from the case stop reason list
errorCannotProceed=A joint application is not possible if the main applicant is the deceased's husband, wife or civil partner.\nIn some cases, the deceased's child can be a joint applicant. Use Form PA1A to apply by post instead.
errorCannotProceedWelsh=Nid yw cais ar y cyd yn bosibl os yw?r prif geisydd yn ?r, gwraig neu bartner sifil yr ymadawedig.\nMewn rhai achosion, gall plentyn yr ymadawedig fod yn geisydd ar y cyd. Yn hytrach, bydd angen ichi wneud cais drwy?r post drwy ddefnyddio Ffurflen PA1A.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm almost certain the ? chars here should be ' ? (and in some of the other messages below)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants