Mailing Report link on Contact Mailings broken for A/B tests
Overview
If you try to view a Mailing Report for an A/B Mailing from the Contact Mailings tab, you get unknown path instead of the mailing report. See chat discussion here. The issue is that there is a redirect when the mailing report is an A/B test and that redirect does not work through crmApp.js because it changes the $location, which does not work in a modal.
Reproduction steps
- Enable Mailings for Viewing Contacts on Admin - Customize Data and Screens - Display Preferences.
- Click Mailing Report beside an A/B test mailing on the Mailings tab on a Contact
- Pop up says unknown path, no mailing report
Comments
Would be happy to do some work on fixing this, but I'm not sure what the approach would be.