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

Fields are hardcoded in forms.py #298

Closed
b1rger opened this issue Sep 25, 2023 · 0 comments · Fixed by #303 or #289
Closed

Fields are hardcoded in forms.py #298

b1rger opened this issue Sep 25, 2023 · 0 comments · Fixed by #303 or #289

Comments

@b1rger
Copy link
Contributor

b1rger commented Sep 25, 2023

There are field names hardcoded in forms.py:

self.fields["collection"].required = False

This breaks ontologies if they don't use those fields in their entities

b1rger added a commit that referenced this issue Sep 25, 2023
There is some legacy code that expects specific model fields (the ones
that were part of TempEntityClass). This commit checks if those even
exist, before setting their attributes.

Closes: #298
b1rger added a commit that referenced this issue Sep 27, 2023
There is some legacy code that expects specific model fields (the ones
that were part of TempEntityClass). This commit checks if those even
exist, before setting their attributes.

Closes: #298
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant