Skip to content

Commit

Permalink
Merge pull request mosip#1865 from sowmya695/MOSIP-31655_develop
Browse files Browse the repository at this point in the history
[MOSIP-31655] fix after testing
  • Loading branch information
vishwa-vyom authored Apr 1, 2024
2 parents 674c4ac + 2fe4b94 commit 417b7fd
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 417b7fd

Please sign in to comment.