opencrvs / opencrvs-core

A global solution to civil registration
https://www.opencrvs.org
Other
85 stars 63 forks source link

Sometimes system crash occurs when clicked "corrected record" in record audit page #6179

Open SyedaAfrida opened 9 months ago

SyedaAfrida commented 9 months ago

Bug description: This is a very corner case. Sometimes system crash occurs when clicked "corrected record" in record audit page Steps to reproduce:

  1. Login to National registrar
  2. Advance search a birth declaration with status registered
  3. Observe the corrected record action of any record

Actual result: Sometimes system crash occurs when clicked "corrected record" in record audit page

Expected result: should be able to view modal of corrected record

Screen recording:

https://github.com/opencrvs/opencrvs-core/assets/94350336/c14cff61-b090-44dc-bde9-60079d3ec12d

Tested on: https://login.niue.opencrvs.org/?lang=en

rikukissa commented 7 months ago

@SyedaAfrida have you ever seen this happen in Farajaland? I'm trying to understand if it's a core bug or a configuration error in Niue config 🤔

SyedaAfrida commented 7 months ago

@rikukissa I didn't found this bug in Farajaland. Found this in Niue environment

rikukissa commented 7 months ago

I've seen something similar happen in Cameroon and it was something to do with a configuration. @Zangetsu101 when we say this it was something to do with mismatching field names in the form configuration. I don't have enough to research the exact cause of this now but maybe we could add form config validation to prevent this from happening

prinzab commented 3 months ago

This issue has be fixed

https://github.com/opencrvs/opencrvs-core/assets/44720007/7d6702b2-1721-47cb-a707-739992f376f0