Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

User_cleanup_Job doesn't run properly #428

Closed
lodewiges opened this issue Oct 7, 2024 · 5 comments · Fixed by #434 or #510
Closed

User_cleanup_Job doesn't run properly #428

lodewiges opened this issue Oct 7, 2024 · 5 comments · Fixed by #434 or #510
Assignees
Labels
prio:high type:bug Something isn't working

Comments

@lodewiges
Copy link
Contributor

image

this looks like to be the case for the last 2 years according to sentry, it gives multiple user who should have been archived but haven't due to this bug

@wilco375
Copy link
Contributor

Might actually be broken since #259, because site still contains "Gearchiveerde gebruiker [id]" users instead of one archived user.

@lodewiges
Copy link
Contributor Author

image

When I was checking if this issue was solved it gave a new error, which was better formulated.

@wilco375
Copy link
Contributor

When I was checking if this issue was solved it gave a new error, which was better formulated.

Was about to reopen the issue too haha, seems something is still not properly working

@lodewiges
Copy link
Contributor Author

lodewiges commented Oct 25, 2024

Image looking in the Form::Response model, you can see the category user_id. however, this category is not addressed in the user archive job maybe this is a hint why it failed

@lodewiges
Copy link
Contributor Author

lodewiges commented Oct 25, 2024

you can recreated the issue with the following command:

Form::Response.where(user_id: 49).update(user_id: 0) 

@lodewiges lodewiges mentioned this issue Feb 20, 2025
1 task
@lodewiges lodewiges self-assigned this Feb 20, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
prio:high type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants