bcgov / bcgov/entity

Bug - Sale/Gift Draft Transfer - Draft shows ownership incorrectly

Open
#18,193 0 comments 0 reactions 0 assignees View on GitHub
Assets bug UX Assurance
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

Staff/Qualified Suppliers:

Transfer Due to Sale/Gift

Bug:
- IF you open an MHR with a Sole Owner
- THEN select Transfer Due to Sale/Gift
- THEN delete the SO (do this first)
- THEN add a new owner
- THEN save the draft
- WHEN you open the draft, it shows the deleted original SO in a "previous owner" group when it shouldn't

Fun Fact: If you add the new owner before deleting the original owner, this bug doesn't seem to happen.

Screen Shot 2023-10-17 at 4 26 11 PM

Screen Shot 2023-10-17 at 4 26 41 PM

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the draft workflow described in the issue: delete the sole owner first, add a new owner, save, and reopen the Sale/Gift transfer draft. Trace how ownership changes are assembled and displayed, then verify that the deleted owner is not shown in the previous-owner group and add a regression test for this sequence.

Written by the indexing model from the issue text.

Assessment

Tech stack
flask, javascript, postgres
Domain
databases, full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.