Closed yahor closed 3 months ago
Attention: Patch coverage is 66.66667%
with 1 lines
in your changes are missing coverage. Please review.
Project coverage is 57.78%. Comparing base (
9983ccf
) to head (4c4f69a
).
Files | Patch % | Lines |
---|---|---|
app/controllers/admin/users_controller.rb | 0.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Is the cause of the empty password that welcome email is sent before the user is actually created and saved?
yes, it was issue of password value in mailer object invoked by background job.
О, касяк серыялізацыі аб'ектаў пры змяшчэнні ў чаргу для мэйлера. Натыкаўся ўжо...
But why the mailer doesn't use the real user object to get the password?
But why the mailer doesn't use the real user object to get the password?
Because it runs after an object destruction.
Why the object is destructed when it is still used?
Due to asynchronous nature of mailing queue
аў, 12 сак 2024, 23:14 карыстальнік Anatoli Babenia < @.***> напісаў:
Why the object is destructed when it is still used?
— Reply to this email directly, view it on GitHub https://github.com/minsk-hackerspace/hackerspace.by/pull/625#issuecomment-1992598202, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA4VW6LJRRMVXOMQIZVGY3YX5V4JAVCNFSM6AAAAABEOZKEW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJSGU4TQMRQGI . You are receiving this because you modified the open/close state.Message ID: @.***>
Bad framework. Let's use PHP. )
https://github.com/minsk-hackerspace/hackerspace.by/issues/619