PharmaLedger-IMI / epi-workspace

ePI use case main repository
MIT License
5 stars 4 forks source link

json upload product: mandatory field not considered #987

Closed steinso2 closed 1 year ago

steinso2 commented 2 years ago

When uploading json, the mandatory fields are not considered. Using json we can create product data without brand name/invented name and Name of Medicinal Product.

This needs to be corrected

steinso2 commented 1 year ago

Hi, I need to re-open because for whatever reason the nationalCode - is now a required field. This is optional field.

Now we cannot upload without national code......

adiganga2002 commented 1 year ago

@steinso2 this means that a market is mandatory for adding/editing a product ?

steinso2 commented 1 year ago

no, neither the market nor the national code is mandatory

steinso2 commented 1 year ago

need to reopen again: market is still shown as mandatory field

steinso2 commented 1 year ago

if we keep the section for markets included, but empty, we get the error message mandatory field missing for "market". Workaround for MVP1: take out this section