Page 1 of 1

Incorrect redirect links in preview AFTER UPDATE to 5.1.1

Posted: Thu Aug 23, 2007 2:47 pm
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

bugfix

Posted: Mon Aug 27, 2007 9:35 am
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!

Posted: Thu Sep 06, 2007 4:45 pm
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