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

BugFix: Import Action Look at File System Disk Driver for s3 #12095

Merged
merged 2 commits into from Mar 29, 2024

Conversation

mmccall10
Copy link
Contributor

Description

When a filesystems disk name is not s3 the import action fails with fopen regardless of FILAMENT_FILESYSTEM_DISK and FILESYSTEM_DISK being set to the s3 driver. This PR changes the lookup to check the driver of the configured disks vs the name.

Visual changes

N/A

Functional changes

  • Code style has been fixed by running the composer cs command.
  • Changes have been tested to not break existing functionality.
  • Documentation is up-to-date.

@danharrin danharrin added the bug Something isn't working label Mar 29, 2024
@danharrin danharrin added this to the v3 milestone Mar 29, 2024
@danharrin danharrin merged commit 5e58323 into filamentphp:3.x Mar 29, 2024
10 checks passed
@mmccall10 mmccall10 deleted the fix/s3-compatible-import-action branch March 30, 2024 00:09
@telkins
Copy link
Contributor

telkins commented Apr 2, 2024

Happy to see this fix. We ran into this a few weeks ago and just haven't had the bandwidth to try to address it via PR.

Thx, @mmccall10 and @danharrin ! 🤓

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants