-
-
Notifications
You must be signed in to change notification settings - Fork 824
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
CRM-21206 Ensure that the recipients field of AB Test results is fill… #11010
Conversation
Thanks @eileenmcnaughton so its at least improves the situation right? |
Apart from this report BlockReview seems to be the only think that uses this code chunk. I guess that's used when creating of possibly viewing mailings. I feel like I'm getting odd behaviour on new mailings / continue / re-use mailings - e.g unresolved search. I think for acceptance both creating a new mailing from A-b test & from new mailing & from continue / re-use need to be checked |
@eileenmcnaughton that is expected, the change was made that when you get the list of recipients it does a API call to retrieve list of groups and mailings based on what is typed in. The purpose of this was so that not all the groups were loaded into the DOM in an array which for sites like AUG is pretty large |
@eileenmcnaughton are you ok with the latest changes? |
I'm back to the 'pre' behaviour with this :-( |
@eileenmcnaughton did you do a hard refresh and clear caches? |
Ok looks like my browser caches were cleared adequately but I hadn't done Civi clear caches. Works fine on A/B test page now & I assume the fact the list only shows on mailing A & not B is a 'feature' or at least non-regressive. I'm getting some weird behaviour on selecting recipients on new mailing. Will test a bit more |
v strange i have put this patch onto AUG dev box and appears to be happy there but one thing might help you when testing is to disable asset caching in debugging |
Every time I try to test this my fan starts getting overworked & it gets unresponsive. I'm not sure if it's just a laptop problem or something about this is making my cpu work too hard. I'm happy with the code & the behaviour on the A-b test screen but I'd like some other people to confirm their experience of the New Mailing & Continue mailing screens. Maybe @colemanw @MegaphoneJon @agh1 or @lcdservices would help? |
@eileenmcnaughton and others, I feel like i have improved the performance of this and should stop the fan running mad. tl/dr crazy angular. Doing some testing on AUG suggests this should be working well now. I don't see any errors on the new mailing either |
@seamuslee001 I'm not convinced my issue reflects a real problem - but I'd like to get some more people test & confirm that I am alone in my misery |
@totten I think this is one for you. |
@colemanw It's probably mostly more people doing UI testing rather than a code expertise thing |
@seamuslee001 I can't recreate the original error, but I can recreate what @eileenmcnaughton saw in her test in the After screen (both on up to date master and with this patch). Test B doesn't have recipients assigned either in the summary view or the db. That seems like a bug but it's occurring both with and without this patch. |
@mepps Thanks Maggie, not sure what to do about the B but i think to me it means patch doesn't make things worse at leaset |
@mepps when I tested this I got performance issues & weirdness on the new mailing screen when playing around there (adding & removing groups & included/excluded mailings)- but I wasn't sure if others would also have that or it was something odd locally... Did you try that screen. (shared the pic from the sprint at standup :-) |
@seamuslee001 @eileenmcnaughton I can't find that this patch does anything so my inclination would be not to merge it, especially if there are possible performance issues. However, I'm thinking the recipient for mailing b being blank may be a bug we should fix separately. |
@mepps can i ask if in Administration -> System Settings -> asset caching if that was still set to auto or was on debug? i would recommend re-testing after stetting it to debug. I Can confirm this is on AUG's production system at the moment and we are seeing the issue fixed |
Good point @seamuslee001! However, I have now tested multiple times with asset caching disabled and continue to see the same bug behavior. |
@mepps Maggie this isn't designed to fix the issue with B mailing, When in debug mode do you experience the issue reported which is that on AB test mailings the recipients field is not filled out. That is what we were experiencing. Applying the patch has fixed the issue for us |
@JohnFF are you able to review this one, I would recommend you turn off asset caching first |
@seamuslee001 horse bolted on this one - wanna redo against master? |
325aee7
to
c13a887
Compare
…ed out CRM-21206 Fix building list of group ids and mailing ids Update to correct version of patch
c13a887
to
5800883
Compare
@eileenmcnaughton have rebased against current master. I have re-tested locally and still works |
@davejenx any chance you could review this. I previously reviewed it & agreed that it met the
|
@eileenmcnaughton Will do. So the main thing is to see whether it impacts the performance of the New Mailing UI? |
@davejenx yep - that 'failed' in my testing - but I wasn't convinced that all was well locally |
@eileenmcnaughton I'm not seeing any significant difference in performance of the New Mailing UI on a standard dmaster setup with the usual small number of mailing groups, templates etc. I'll give it a go on a big site when I get a chance. |
Jenkins test this please |
Thanks @davejenx - the site I tested on did not have significant data so I think that invalidates my concerns on that. I'm going to proceed to merge this. I was going to give it the merge-ready flag to give it a cool-down but I guess it's had that :-) If you do hit further performance issues when you test further then we will address them |
CRM-21206 Ensure that the recipients field of AB Test results is fill…
…ed out
Overview
As
groupNames
is now dynamically populated when generating Emails, we need to dynamically generate here so that AB tests can still output the groups.Comments
@eileenmcnaughton @totten @monishdeb I would argue this should be in the RC because the change to the dynamic recipient loading has only occured in either v4.7.24 or 4.7.25 (can't remember which) ping @johntwyman this is what i have us testing right now