earthref / MagIC

EarthRef's MagIC Web Application
https://earthref.org/MagIC
MIT License
8 stars 2 forks source link

"requiredIfGroup" validation rule incorrectly applies to all rows instead of single rows #564

Open njarboe opened 2 years ago

njarboe commented 2 years ago

If one row in a contribution table has a value in a group then all of the rows need to meet the "requiredIfGroup" rule. This is not the way it should work. Only each row should be checked for this rule, not the whole table. I'm removing these checks from the data model until these are fixed.

njarboe commented 2 years ago

I'm surprised that this problem has not come up before, so I would guess something has changed in the code recently that is causing this problem