Fixing error caused by Missing Organization (#6612)#7317
Merged
mrcasals merged 1 commit intodecidim:release/0.23-stablefrom Feb 9, 2021
armandfardeau:backport/fix/user-exporter-job
Merged
Fixing error caused by Missing Organization (#6612)#7317mrcasals merged 1 commit intodecidim:release/0.23-stablefrom armandfardeau:backport/fix/user-exporter-job
mrcasals merged 1 commit intodecidim:release/0.23-stablefrom
armandfardeau:backport/fix/user-exporter-job
Conversation
mrcasals
approved these changes
Feb 9, 2021
Contributor
|
Looks good to me, but I'm waiting until the CI job is ifnished just in case (I restarted the Admin one) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎩 What? Why?
Backport
On a new instance, we found a large number of errors. This Backport solves the issue
When attempting to export the user data ( http://localhost:3000/data_portability ) the asynchronous job that performs the data aggregation ( DataPortabilityExportJob ) fails with CarrierWave::IntegrityError (The file is not attached to any organization), due to fact that no model is bound to uploader file.
#6612
📌 Related Issues
Link your PR to an issue
Testing
Describe the best way to test or validate your PR.
📋 Checklist
🚨 Please review the guidelines for contributing to this repository.
docs/.📷 Screenshots
Please add screenshots of the changes you're proposing
