Closed tiri39 closed 19 hours ago
@tiri39 It looks like the actual status was supposed to be the last one that was set e.g Declared
for the example above instead of In review
. It looks like we don't have that status as an option for RegistrationStatus
e.g here is a list of posible declaration status that I found in code
export enum RegStatus {
Archived = 'ARCHIVED',
Certified = 'CERTIFIED',
CorrectionRequested = 'CORRECTION_REQUESTED',
DeclarationUpdated = 'DECLARATION_UPDATED',
Declared = 'DECLARED',
InProgress = 'IN_PROGRESS',
Issued = 'ISSUED',
Registered = 'REGISTERED',
Rejected = 'REJECTED',
Validated = 'VALIDATED',
WaitingValidation = 'WAITING_VALIDATION'
}
@Siyasanga It seems using 'declared' would show 'In review' in UI. So, 'declared' can be used here.
Bug description: When a duplicated record is 'marked as duplicate', its status becomes 'archived'. Then if we reinstate the record, the status becomes 'In review'. But it shows 'archived' in the comparison view page.
Steps to reproduce:
Actual result: The status is 'archived'
Expected result: The status should be 'In review'.
Screen recording:
https://github.com/user-attachments/assets/f008143a-cf21-4b08-8fef-98e34547a2a2
Tested on: https://login.farajaland-qa.opencrvs.org/?lang=en
Version: v1.6.0