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

External type submission with metadata for 'related resources' can't be edited #145

Open
pkdash opened this issue Nov 26, 2024 · 0 comments
Assignees

Comments

@pkdash
Copy link

pkdash commented Nov 26, 2024

Description of the bug
If a resource is registered from External repository with metadata for 'Related Resources', the resource gets submitted and is listed in my submissions page. However, trying to load that resource for editing, generates error from the server.

Looking at the metadata stored for such a resource, it seems the 'type' field of the relation object gets set to the Type enum field name rather than the value of that enum field. That causes the error when loading the metadata.

Steps to reproduce the bug:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Additional information
Add any other context about the problem here such as screenshots, software versions, and browser information.

@pkdash pkdash self-assigned this Nov 26, 2024
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

No branches or pull requests

1 participant