Language change disables action script objects

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

Moderator: moderator

Language change disables action script objects

Postby Chrepp » Thu Apr 11, 2013 8:50 am

Hi, I'm working with OpenEMM 2013 and some self-written action scripts (Sites & Actions / Actions) using objects like $MailingDao.

This was working fine:
Code: Select all
#set($mail = $MailingDao.getMailing(1,1))
$mail.getShortname()

But after changing the admin-language to german, the methods don't work anymore. I get error messages like this:
Error in line XX, column XX: Invalid method $MailingDao.getMailing().[]
Error in line YY, column YY: Null reference $mail.[]

How can I fix this?
Chrepp
 
Posts: 4
Joined: Thu Apr 11, 2013 8:31 am

Re: Language change disables action script objects

Postby maschoff » Fri Apr 12, 2013 11:39 am

We will try to reproduce this problem to check if it is a bug.
OpenEMM Maintainer
maschoff
Site Admin
 
Posts: 2144
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany

Re: Language change disables action script objects

Postby Chrepp » Wed Jun 05, 2013 10:34 am

Have you been able to reproduce the error?
We try to avoid using the actions now, but it would make things a lot easier if they'd work :/
Chrepp
 
Posts: 4
Joined: Thu Apr 11, 2013 8:31 am

Re: Language change disables action script objects

Postby maschoff » Wed Jun 05, 2013 10:39 pm

Well, I asked our support team and this certainly does not happen with our commercial version (EMM), which is based on OpenEMM.

Can you use the demo account at demo.openemm.org and try to reproduce this issue? (We refresh the database nightly, so you should finish your test before midnight GMT).
OpenEMM Maintainer
maschoff
Site Admin
 
Posts: 2144
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany

Re: Language change disables action script objects

Postby jschlosser_7bc » Fri Jun 07, 2013 8:51 am

Applying bugfixes from http://sourceforge.net/projects/openemm ... /Bugfixes/ did resolve this issue with our installation of OpenEMM 2013. You probably should give it a try.
jschlosser_7bc
 
Posts: 2
Joined: Fri Jun 07, 2013 8:36 am


Return to Bugs, bug fixes & releases

Who is online

Users browsing this forum: No registered users and 1 guest

cron