bcgov / nr-spar

SPAR app from FDS (Forestry Digital Services)
https://www2.gov.bc.ca/gov/content/industry/forestry/managing-our-forest-resources/tree-seed/seed-planning-use/spar
Apache License 2.0
3 stars 0 forks source link

Imported pending or incomplete seedlots not loading data correctly #1614

Open mgaseta opened 2 months ago

mgaseta commented 2 months ago

Describe the Bug When trying to edit pending or incomplete seedlots that were imported from old spar are not showing the previous data when trying to edit them.

Expected Behaviour Data should be correctly loaded and shown on each field.

Actual Behaviour Data not being loaded at all.

Steps To Reproduce Steps to reproduce the behaviour:

  1. Go to Seedlot 64189 on the prod environment
  2. Click to edit the seedlot
  3. Check if the fields are correct filled

Screenshot Image

craigyu commented 2 months ago

list of Seedlots updated from PND to SUB (then put back as PND) in Prod

63697 64108 64142 64182 64186

craigyu commented 2 months ago

in the screenshot, seedlot 64189 has a status of INC but somehow has an orchard value 🤔

mgaseta commented 2 months ago

in the screenshot, seedlot 64189 has a status of INC but somehow has an orchard value 🤔

Didn't finish the registration on the old system?

craigyu commented 2 months ago

i remember as long as the form is "touched" the status will be updated from INC -> PND on the old system

SLDonnelly commented 2 months ago

Attached is a list of seedlots from DBP01 that were created prior to the data migrationSEEDLOT_202409200911_INC_Seedlots.csv

SLDonnelly commented 2 weeks ago

RO from Sprint 37