Subscription error
Posted: Thu Jan 19, 2017 5:12 pm
Hi everyone,
The company I work for uses OpenEMM for a long time, and a strange mistake appeared few times ago. It is indeed currently not possible to subscribe to the newsletters. When submitted we get the error form as a result with the following error :
Besides, we also have an other error which occurs regularly : the mailing sometimes stops and we need to restart the server to fix the problem. Maybe there is a link between our problems.
Our actual configuration is :
- OpenEMM 2013
- Tomcat 6
- Java 6
Please, let me know if you need any additional information,
Thanks for your help.
The company I work for uses OpenEMM for a long time, and a strange mistake appeared few times ago. It is indeed currently not possible to subscribe to the newsletters. When submitted we get the error form as a result with the following error :
The error seems to come from one of our scripts to validate user inputs, but, as we didn't do any changes on this script recently, we are wondering why ...Error in line 3, column 29: Null reference $customerID.[]
Error in line 3, column 1: Invalid method $BindingEntry.setCustomerID().[]
Code: Select all
## Maillist 1
$BindingEntry.setMailinglistID(1)
$BindingEntry.setCustomerID($customerID)
#if($BindingEntry.getUserBindingFromDB(1) == true)
#if($BindingEntry.getUserStatus() == 5)
$BindingEntry.setUserStatus(1)
$BindingEntry.setUserRemark("Opt-in by User")
$BindingEntry.updateStatusInDB(1)
#end
#end
## Maillist 2
$BindingEntry.setMailinglistID(2)
$BindingEntry.setCustomerID($customerID)
#if($BindingEntry.getUserBindingFromDB(1) == true)
#if($BindingEntry.getUserStatus() == 5)
$BindingEntry.setUserStatus(1)
$BindingEntry.setUserRemark("Opt-in by User")
$BindingEntry.updateStatusInDB(1)
#end
#end
...
Our actual configuration is :
- OpenEMM 2013
- Tomcat 6
- Java 6
Please, let me know if you need any additional information,
Thanks for your help.