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

Do not divide recipients to subgroup when sending attached report #17132

Conversation

yrudman
Copy link
Contributor

@yrudman yrudman commented Mar 9, 2018

Issue:
When sending report by e-mail If list if recipients is long (more than some customizable value), we are dividing recipients to sub-groups and sending separate e-mails(with attached report) to each sub-group.
It works fine for the first subgroup. Attempt to send report to second group will throw [Couldn't find BinaryBlob with 'id'=...] error, since we are deleting record in BinaryBlob table after report was sent.
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1547846

Solution:
Do not divide recipients to subgroups.
It looks like it is OK now to have list of recipients longer than 150 bytes

@miq-bot add-label bug, reporting
\cc @gtanzillo

yrudman added 2 commits March 9, 2018 13:41
…BinaryBlob table. So, after dividing recipients sending e-mail will work only for first group of resipient, attempt to send attached report for second group will throw [Couldn't find BinaryBlob...] error.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1547846
@yrudman yrudman changed the title Do not devide recipients to subgroup when sending attached report Do not divide recipients to subgroup when sending attached report Mar 9, 2018
@miq-bot
Copy link
Member

miq-bot commented Mar 9, 2018

Checked commits yrudman/manageiq@4cd90e1~...258174f with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 0 offenses detected
Everything looks fine. ⭐

@yrudman yrudman closed this Mar 12, 2018
@yrudman yrudman reopened this Mar 12, 2018
@yrudman
Copy link
Contributor Author

yrudman commented Mar 12, 2018

@miq-bot add-label fine/yes, gaprindashvili/yes

@yrudman
Copy link
Contributor Author

yrudman commented Mar 12, 2018

@miq-bot assign @gtanzillo

@miq-bot
Copy link
Member

miq-bot commented Mar 12, 2018

@yrudman unrecognized command 'assigne', ignoring...

Accepted commands are: add_label, add_reviewer, assign, close_issue, move_issue, remove_label, rm_label, set_milestone

@gtanzillo gtanzillo added this to the Sprint 81 Ending Mar 12, 2018 milestone Mar 12, 2018
@gtanzillo gtanzillo merged commit 22652d9 into ManageIQ:master Mar 12, 2018
@yrudman yrudman deleted the do-not-group-recepients-to-subgroup-when-sending-attached-report branch March 12, 2018 19:29
simaishi pushed a commit that referenced this pull request Mar 12, 2018
…group-when-sending-attached-report

Do not divide recipients to subgroup when sending attached report
(cherry picked from commit 22652d9)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1554532
@simaishi
Copy link
Contributor

Gaprindashvili backport details:

$ git log -1
commit 90a74716f5c3544caee19aed021c0d6fdb2545c4
Author: Gregg Tanzillo <[email protected]>
Date:   Mon Mar 12 15:27:32 2018 -0400

    Merge pull request #17132 from yrudman/do-not-group-recepients-to-subgroup-when-sending-attached-report
    
    Do not divide recipients to subgroup when sending attached report
    (cherry picked from commit 22652d90b278f74985a8f441b19f08c41884bbf4)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1554532

simaishi pushed a commit that referenced this pull request Apr 9, 2018
…group-when-sending-attached-report

Do not divide recipients to subgroup when sending attached report
(cherry picked from commit 22652d9)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1554533
@simaishi
Copy link
Contributor

simaishi commented Apr 9, 2018

Fine backport details:

$ git log -1
commit 7769da8650faee0f9a609cf5097a4bde502aa551
Author: Gregg Tanzillo <[email protected]>
Date:   Mon Mar 12 15:27:32 2018 -0400

    Merge pull request #17132 from yrudman/do-not-group-recepients-to-subgroup-when-sending-attached-report
    
    Do not divide recipients to subgroup when sending attached report
    (cherry picked from commit 22652d90b278f74985a8f441b19f08c41884bbf4)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1554533

d-m-u pushed a commit to d-m-u/manageiq that referenced this pull request Jun 6, 2018
…s-to-subgroup-when-sending-attached-report

Do not divide recipients to subgroup when sending attached report
(cherry picked from commit 22652d9)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1554533
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants