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
1 stars 0 forks source link

⏫ Handle Null values for seedlots coming from Oracle #1257

Open craigyu opened 1 week ago

craigyu commented 1 week ago

Image

We are assuming some fields are non-null values because we do data validation on SPAR 2 before a seedlot can be submitted.

but these values can be null coming from oracle, we need to update the type definition on the front-end and make changes to handle null values

To reproduce this error, click on a seedlot that does not have a species code in the "my seedlots table"