Skip to content

[v4.0] Do not require active_storage/engine#5454

Merged
tvdeyen merged 1 commit intov4.0from
backport/v4.0/pr-5450
Oct 27, 2023
Merged

[v4.0] Do not require active_storage/engine#5454
tvdeyen merged 1 commit intov4.0from
backport/v4.0/pr-5450

Conversation

@github-actions
Copy link
Copy Markdown

Backport

This will backport the following commits from main to v4.0:

Questions ?

Please refer to the Backport tool documentation

@github-actions github-actions Bot requested a review from a team as a code owner October 25, 2023 08:51
@github-actions github-actions Bot added the changelog:solidus_core Changes to the solidus_core gem label Oct 25, 2023
@tvdeyen
Copy link
Copy Markdown
Member

tvdeyen commented Oct 25, 2023

Tests fail because of a chromedriver not found error

@tvdeyen
Copy link
Copy Markdown
Member

tvdeyen commented Oct 25, 2023

@elia do you know what I can do to fix the chromedriver issue? Can we remove the pinned version now that CircleCI-Public/browser-tools-orb#75 has been merged?

@elia
Copy link
Copy Markdown
Member

elia commented Oct 25, 2023

@tvdeyen sure, I think so, can you open a PR for that too? could also be a revert of #5367 I think

@tvdeyen
Copy link
Copy Markdown
Member

tvdeyen commented Oct 25, 2023

#5459

The activestorage adapter is optional and stores might
use another attachment adapter (ie. paperclip).

Since bundler already requires activestorage if the store
decided to use activestorage adapter (either via a direct
dependency or the transient rails gem) we do not need
to require it in our engine.

This removes a LoadError for stores/engines that do not
use activestorage.

(cherry picked from commit ea0254b)
@tvdeyen tvdeyen force-pushed the backport/v4.0/pr-5450 branch from 5827323 to 2e1e758 Compare October 27, 2023 09:25
@tvdeyen tvdeyen merged commit d26ad12 into v4.0 Oct 27, 2023
@tvdeyen tvdeyen deleted the backport/v4.0/pr-5450 branch October 27, 2023 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:solidus_core Changes to the solidus_core gem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants