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

Fix: remove enforced values of agents type (person | organization) in submissions agents #147

Conversation

Bilelkihal
Copy link
Collaborator

@Bilelkihal Bilelkihal commented Jul 16, 2024

Origin of issue: this comment agroportal/project-management#523 (comment)

Changes

Remove enforced values for the attributes:

  • hasCreator
  • hasContributor
  • fundedBy
  • endorsedBy

How I tested the solution

I created an ontology and a submission for it,
filled the attributes with the wrong type of agents:
image

Then I saved it to see if it's valid or not, before removing the enforcings:
image

After removing the enforcings it's valid:
image

@Bilelkihal Bilelkihal self-assigned this Jul 16, 2024
@syphax-bouazzouni syphax-bouazzouni merged commit dd73ab0 into development Jul 25, 2024
23 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants