Language change disables action script objects

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

Moderator: moderator

Chrepp
Posts: 4
Joined: Thu Apr 11, 2013 8:31 am

Language change disables action script objects

Post by 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?

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

Re: Language change disables action script objects

Post by maschoff » Fri Apr 12, 2013 11:39 am

We will try to reproduce this problem to check if it is a bug.
OpenEMM Maintainer

Chrepp
Posts: 4
Joined: Thu Apr 11, 2013 8:31 am

Re: Language change disables action script objects

Post by 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 :/

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

Re: Language change disables action script objects

Post by 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

jschlosser_7bc
Posts: 2
Joined: Fri Jun 07, 2013 8:36 am

Re: Language change disables action script objects

Post by 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.

Post Reply