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

Feature request: Add URL asset support to digital object load task #1807

Closed
mcantelon opened this issue May 2, 2024 · 0 comments · Fixed by #1808
Closed

Feature request: Add URL asset support to digital object load task #1807

mcantelon opened this issue May 2, 2024 · 0 comments · Fixed by #1808
Labels
Type: feature New functionality.
Milestone

Comments

@mcantelon
Copy link
Member

Current Behavior

URL resources specified in the filename column of a CSV file, used by the digitalobject:load task, don't get imported as digital objects.

Expected Behavior

URL resources should be imported as digital objects the same way they do via the AtoM web UI.

Possible Solution

Replace file_exists calls with a function that will check to see if a file exists or a URL resource exists. Add functionality to support URL importing (making sure that task CLI options still work).

Context and Notes

No response

Version used

AtoM 2.8

Operating System and version

Ubuntu 20.04

Default installation culture

en

PHP version

PHP 7.4

Contact details

mike@artefactual.com

@mcantelon mcantelon added the Type: bug A flaw in the code that causes the software to produce an incorrect or unexpected result. label May 2, 2024
mcantelon pushed a commit that referenced this issue May 2, 2024
Added functionality, to the digital object load task, to import URLs in
addition to files.
@mcantelon mcantelon added Type: feature New functionality. and removed Type: bug A flaw in the code that causes the software to produce an incorrect or unexpected result. labels May 2, 2024
@anvit anvit linked a pull request May 16, 2024 that will close this issue
@anvit anvit added this to the 2.8.2 milestone May 16, 2024
@anvit anvit closed this as completed May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: feature New functionality.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants