Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation failed on existing files #7191

Open
txau opened this issue Sep 4, 2024 · 1 comment
Open

Validation failed on existing files #7191

txau opened this issue Sep 4, 2024 · 1 comment
Labels

Comments

@txau
Copy link
Collaborator

txau commented Sep 4, 2024

Ie. The main file for this entity https://cejil.staging.uwazi.io/en/entity/ghe3c5yxrfw gives this type of error, in entity edit but also when labeling data on the ML interface.

image

@txau txau added the Bug 🐞 label Sep 4, 2024
@RafaPolit
Copy link
Member

RafaPolit commented Sep 6, 2024

For me there is a concern with why do we have entity structure that is inconsistent with the templates? I think we are doing a lazy-delegation of data update on entities the next time they are saved, but this causes issues when presenting data that need to account for properties that may no longer exist on the template definition, etc. and we have overhead code to deal with this scenarios that probably shouldn't happen. So maybe the true solution is just to ensure entity data is correct at all times?

We need more info into if this is an isolated entity or if this is a common problem that could occur in other scenarios.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants