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

Ensure image processing gets disabled again, even after exceptions #8437

Merged
merged 1 commit into from Nov 13, 2023

Conversation

SuperTux88
Copy link
Member

Otherwise this leaves it enabled if the processing failed, which then makes other specs fail where they expect the image not being processed (for example still have the initial set dimensions, instead of the one read from image after processing).

This only failed when the new spec from the 0.7.18.2 hotfix was the last one using with_carrierwave_processing and then exporter_spec.rb ran after that, which expected the dimensions from the unprocessed image entity.

Otherwise this leaves it enabled if the processing failed, which then
makes other specs fail where they expect the image not being processed
(for example still have the initial set dimensions, instead of the one
read from image after processing).
@SuperTux88 SuperTux88 added this to the 1.0.0 milestone Nov 13, 2023
Copy link
Member

@denschub denschub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... lol. I'm sorry.

@SuperTux88 SuperTux88 merged commit 389b187 into diaspora:develop Nov 13, 2023
13 checks passed
@SuperTux88 SuperTux88 deleted the fix-photo-export-spec branch November 13, 2023 01:48
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.

None yet

2 participants