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

Fixes a number of problems with attachments #1607

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

cjmyers
Copy link
Collaborator

@cjmyers cjmyers commented Dec 24, 2024

Closes #1389

It add a new field "name" to the /attach endpoint (note: API docs need updating). This name will be the displayId for the attachment. This can be specified from the GUI now.

This PR also fixes a number of problems with attachments. Should test adding file attachments and URL attachments both from the GUI and API. Should also test attachments added to collections during submission of Zip files.

@cjmyers cjmyers requested a review from danielfang97 December 24, 2024 20:04
@danielfang97
Copy link
Collaborator

danielfang97 commented Jan 14, 2025

Using lookup attachment and attaching through the url. I chose an image from google and it doesn't appear to be able to download it once uploaded.

Download button should be linked to the Source, so it will connect with the URL

@danielfang97
Copy link
Collaborator

Some more bugs. I changed the name. Bug 1 is that the name doesn't update until refreshed. Bug 2 is that once refreshed, the type disappears. Bug 3 is that when downloaded, the downloaded file retains the old name.

@danielfang97
Copy link
Collaborator

Tested. And no issues with attaching files through API vs GUI. Bugs still remain as before.

@danielfang97
Copy link
Collaborator

Submitting an attachment as part of a zip file, the name is the long string again

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.

Option to specify id for attachment
2 participants