Hello,
Using: Isomorphic SmartClient Framework (SC_SNAPSHOT- 2011-06-07/PowerEdition Deployment 2011-06-07).
When deleting a certain record, the following is sent to the server:
I have an operationBinding that should send an email, specified as follows :
But when this is executed, it gives the following error:
Somehow the velocity variable is not resolved, whilst in the criteria, as you can see, there IS a valid emailaddress present (obscured for this time, but I've got a valid email address here).
What am I missing?
Using: Isomorphic SmartClient Framework (SC_SNAPSHOT- 2011-06-07/PowerEdition Deployment 2011-06-07).
When deleting a certain record, the following is sent to the server:
Code:
=== 2011-07-01 16:45:55,659 [l0-7] DEBUG RPCManager - Request #1 (DSRequest) payload: { criteria:{ ... email:"test@test.nl", ... }, operationConfig:{ dataSource:"CourseEdition_students_Student", operationType:"remove" }, componentId:"isc_ListGrid_5", appID:"builtinApplication", operation:"CourseEdition_students_Student_remove", oldValues:{ ... } }
Code:
<operationBinding operationType="remove" requiresRole="ROLE_USER" requiresAuthentication="true"> <mail> <from>noreply@mydomain.nl</from> <to>$dsRequest.criteria.email</to> <templateFile>emailtemplates/student_unsubscribe.txt</templateFile> <subject>Uitgeschreven voor cursus</subject> </mail> </operationBinding>
Code:
javax.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 501 <$dsRequest.criteria.email>: recipient address must contain a domain
What am I missing?
Comment