-
Notifications
You must be signed in to change notification settings - Fork 799
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
CSV mapper configuration can mix up entity types fields #5751
Comments
I'll have a look in my current PR about CSV Mapper |
Ok it seems the issue came for the specific case of File where there are two attributes with the same name |
obsContent is always defined once in the file model. Maybe a problem of view reset |
Well it is defined once in schema attribute and once in schema ref, with the same name. So as we use both in the csv mapper, we have an issue EDIT: as the issue is related to the schema and not the csv mapper I won't fix it in my PR but in a dedicated issue after. |
Description
When creating/updating a CSM mapper, changing the entity type in a representation can lead to strange behavior, where fields from the previous type are somehow still present after changing the entity type.
This makes incorrect configuration possible, as these fields do not exist for these entity types.
Environment
TESTING
Reproducible Steps
Steps to create the smallest reproducible scenario:
Expected Output
The form shall display the URL attributes, same as the first time.
Actual Output
The attribute "observable content" is somehow still present (it was in the "File" form).
Screenshots (optional)
The text was updated successfully, but these errors were encountered: