biocompute-objects / biocompute-objects/portal_userdb
Error Domain is not populating
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 1
- Avg merge
- 10m
- Merged PRs (30d)
- 1
Description
**Describe the bug**
When I create a BCO I don't update the error domain at all. To the validator, it looks empty and doesn't have "null" as outputs. Therefore when I go to validate it gets mad and says stuff is missing.
Here is the output:
"root":{3 items
"number_of_errors":int2
"error_detail":[2 items
0:string"[error_domain]: 'empirical_error' is a required property"
1:string"[error_domain]: 'algorithmic_error' is a required property"
]
"score":int521
**To Reproduce**
Steps to reproduce the behavior:
1. Go to create any new BCO
2. Once you have filled everything out, validate it, and then go to publish
3. Then you will get the error
The workaround however is if you go to the error domain and see where it says "null" twice. I just delete one " then put it back. I do that for both nulls. Then I hit next and then save. For som reason that fixes it!
**Expected behavior**
Usually if I don't touch the extension domain it should already paste all the information and null that I need in order to publish.
**Screenshots**
**Desktop (please complete the following information):**
- OS: Mac Sequoia 15.3.2
- Browser Chrome
- Version Version 134.0.6998.89 (Official Build) (x86_64)
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
The workaround is fine, just I don't think most people know it
Contributor guide
Assessment
This issue has not been assessed yet.