Skip to content

Commit

Permalink
MOSIP-31655 fix after testing
Browse files Browse the repository at this point in the history
Signed-off-by: Sowmya Ujjappa Banakar <[email protected]>
  • Loading branch information
Sowmya Ujjappa Banakar committed Apr 1, 2024
1 parent 674c4ac commit 2fe4b94
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,6 @@ public MessageDTO process(MessageDTO object, String stageName) {
String registrationId = null;
InternalRegistrationStatusDto registrationStatusDto = new InternalRegistrationStatusDto();
try {
registrationStatusDto
.setLatestTransactionTypeCode(RegistrationTransactionTypeCode.VALIDATE_PACKET.toString());
registrationStatusDto.setRegistrationStageName(stageName);
object.setMessageBusAddress(MessageBusAddress.PACKET_VALIDATOR_BUS_IN);
object.setIsValid(Boolean.FALSE);
object.setInternalError(Boolean.TRUE);
Expand All @@ -194,6 +191,9 @@ public MessageDTO process(MessageDTO object, String stageName) {
packetValidationDto.setTransactionSuccessful(false);
registrationStatusDto = registrationStatusService.getRegistrationStatus(
registrationId, object.getReg_type(), object.getIteration(), object.getWorkflowInstanceId());
registrationStatusDto
.setLatestTransactionTypeCode(RegistrationTransactionTypeCode.VALIDATE_PACKET.toString());
registrationStatusDto.setRegistrationStageName(stageName);
setPacketCreatedDateTime(registrationStatusDto);
boolean isValidSupervisorStatus = isValidSupervisorStatus(object);
if (isValidSupervisorStatus) {
Expand Down

0 comments on commit 2fe4b94

Please sign in to comment.