cyfronet-fid / marketplace

Marketplace is a place where you can find services you need for your research
https://marketplace.eosc-portal.eu
GNU General Public License v3.0
21 stars 6 forks source link

Store the validation errors on import from the external services #2142

Open danielkryska opened 3 years ago

danielkryska commented 3 years ago

Providers' CRUD import will need refactoring and will take longer than only solving the issue.


Context

We noticed data corruption in external services (i. e. PC) comparing to its forms.

Example provider issues

Proposed solution

Because we are saving data in a corrupted state if a model doesn't exist on our site. We need to keep track of occurred errors to show them to the user managing an item. Errors should be kept also when updates couldn't be done while importing.

danielkryska commented 2 years ago

The issue is still current. We need to store errors on save and update in ProviderSource.

danielkryska commented 2 years ago

The solution of the ticket will require refactoring!!!