Incorrect redirect links in preview AFTER UPDATE to 5.1.1

Use this forum to report bugs and to check for bugfixes and new releases of OpenEMM

Moderator: moderator

daniel
Posts: 13
Joined: Mon Jun 04, 2007 9:27 am
Location: Cologne

Incorrect redirect links in preview AFTER UPDATE to 5.1.1

Post by daniel »

Hi there,

after updating to the latest version 5.1.1 I was suprised to find out that mailing preview is now generating scrambled trackable links. While the earlier version created a link like this http://example.org/r.html?uid=xyz (depending on the value of 'rdir_domain' in company_tbl) the preview now generates the follwoing: http://rdir.de/r?uid=xyz.

This does only concern mailing-preview and fullview. When a test-mailing is recieved all trackable links are converted to the right format. I already looked up the logfiles but found nothing suspicious there. Also the value 'rdir_domain' in db table 'company_tbl' is set correctly.

I get this error in preview and fullview only. After recieving a testmailing the links in this mail are correct and the redirection via OpenEMM works perfect. The click is tracked and can be viewed in the statistics. Only in preview and fullview the rdir_domain is not correctly replaced.

It would be really great if you can give me a hint on how to solve that problem. I don't want to switch back to 5.1 because of the erroneous handling of date formats.

Regards
Daniel
maschoff
Site Admin
Posts: 2608
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

bugfix

Post by maschoff »

Your bug report has been confirmed and we posted the fix including the corrected class file to the SourceForge bugtracker:

http://sourceforge.net/tracker/index.ph ... tid=848488

Sorry for the trouble caused by this bug and thank you for making us aware of it!
OpenEMM Maintainer
blue_asterisk
Posts: 7
Joined: Wed Sep 05, 2007 7:47 pm
Location: USA

Post by blue_asterisk »

Fix on CentOS (and probably other unix variants):

Code: Select all

cd /home/openemm/webapps/openemm/htdocs/WEB-INF/classes/org/agnitas/beans/impl
rm -f TrackableLinkImpl.class
wget http://www.openemm.org/patches/TrackableLinkImpl.class
Restart Openemm:

Code: Select all

su root
su - openemm
bin/OpenEMM.sh stop
bin/OpenEMM.sh start
exit
Post Reply