You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When there are 2 or more items in the navigator then refreshing on a CO's record, adding or deleting COJO from that CO causes the same record to appear twice in the navigator. Behavior has been seen in Loans too.
@emenslin found that a record set can be made with the duplicate record.
When querying CO, there is only one unique record for this CO:
but when querying the record set, there are two of the same record:
To Reproduce
Create a new COG -> Save
Create a new CO (Data Entry -> Collection Object) -> Add the new COG as CO's COJO
Save & Refresh, note that there is now only one item after refreshing and the navigator is gone
Delete COJO from CO -> Save
See that another record has appeared in the navigator. Use the arrows to navigate to the other record and see that it is just the same record.
Describe the bug
When there are 2 or more items in the navigator then refreshing on a CO's record, adding or deleting COJO from that CO causes the same record to appear twice in the navigator. Behavior has been seen in Loans too.
@emenslin found that a record set can be made with the duplicate record.
When querying CO, there is only one unique record for this CO:
but when querying the record set, there are two of the same record:
To Reproduce
Expected behavior
Should save record without adding another item in the navigator.
Should not be able to create a record set with the same record.
Recording
Screen.Recording.2025-01-23.at.9.50.50.AM.1.mov
issue-6139, when merged:productionojsmnh20241003wbAdditional context
Found issue from #6147.
Original comment: #6147 (review)