HDTN-273708: Sample Mirroring - While duplicating the mirrored sample, related sample no reference is not getting reset

Issue No: QC-702
Created 6/23/2022 1:56:23 PM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 22.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-273708 - pre tc-1 issues |https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-273708]   *Pre-Condition:*   * Create a Purchase contract * Create a Sales contract * Allocate both the Purchase and Sales Contract * Create a Sample for the Purchase Contract from the Contract Sequence screen * Create a Sample for the Sales Contract from the Contract Sequence screen ** It will show a message to mirror the sample on creation * Once the sample created, 'Related Sample No' reference will be available in both the samples now   !pastedImage_d188551_0.png|height=264,width=745!   *Steps:*   * Quality -> Sample Entry * Open the mirrored sample (Ex: *QS-96* ) * Click on Duplicate   *Issue:*   * On duplicate, 'Related Sample No' reference is not getting reset   *Expectation:*   * System should reset the reference when we duplicate the mirrored sample   !2022-06-15 19_29_22-.png|height=212,width=745!   !pastedImage_d188551_2.png|height=268,width=745!