bcgov / cas-cif

CleanBC Industry Fund project
Apache License 2.0
6 stars 2 forks source link

Bug: error while committing a project revision #1893

Open pbastia opened 8 months ago

pbastia commented 8 months ago

Describe the Bug:

Probability (how likely the bug is to happen, scored from 1-5): 5 Effect (how bad the bug is when it does happen, scored from 1-5):4

Steps to reproduce the behaviour:

an error message when I try to apply a general revision (updating project contact information). Tried going back in to apply it a second time and same error msg appeared. Same error when trying to apply a revision for this project as well (project details - project contacts)

Screenshots: https://bcgov.sharepoint.com/:i:/r/teams/00608-CIFInternalUsers/Shared%20Documents/CIF%20Internal%20Users/Screen%20Shot%202024-03-05%20at%2012.56.55%20PM.png?csf=1&web=1&e=Ls23a0

Additional information:

mikevespi commented 8 months ago

This appears to be related to https://github.com/bcgov/cas-cif/issues/1894 to me. While it isn't throwing frontend validation errors, the only problem I can see with the affected project revisions is that in each, one of the newly added contacts does not have complete new_form_data. They are missing projectId and contactIndex.