Last question:
Everything should be happen in jira?
reports, comments, tests?
Do we have to expect some reaction like acceptance or rejection of
particular bug/report?
Regards,
Stefan
Florent Guillaume wrote:
A unit test would be nice yes.
But at least if you've identified a place where the code has to be
fixed it's a good first step. We'll review your patch before applying
it in any case.
All unit tests have to pass after the patch is installed of course.
But we do all these checks.
Florent
On 26 May 2009, at 16:18, Stefan Dimov wrote:
Hi,
Do you have any standard procedure for providing of patches?
Like restrictions for some tests passing or some other validation of
the code.
We are afraid of entering new bugs, when fixing some bug.
Regards,
Stefan
Florent Guillaume wrote:
This bug is already known and tracked by
http://jira.nuxeo.org/browse/NXP-3598
We haven't had time to work on it yet, patches are welcome.
Florent
On 26 May 2009, at 15:00, Stefan Dimov wrote:
Hi,
It seems like this is a bug. This exception is raising when the
program tries to cast from String[] to String or from String to
String[].
If you take a look at the source of NotificationEventListener at
line 114 it reads "recipients" property from context and casts to
String[].
Simple search in the nuxeo source code can you show you that there
are some places which fill the event context properties with a
single String value for recipients, instead
of String[]. For example - Jbpm service is filling String[] as
value for this property, but EmailNotificationSenderActionsBean is
filling String as value.
If you are trying to send email from web interface it should rise
such an exception.
Regards,
Stefan
Hi nuxeo people,
I have configured the file mail-service.xml (only change the
attribute mail.smtp.host="localhost"). Postfix is installed, listen
on port 25 and works fine with the command system mail, but I get
the following error in server.log :
2009-05-26 12:07:07,494 ERROR
[org.nuxeo.ecm.platform.ec.notification.NotificationEventListener]
Error during Notification processing for event emailDocumentSend
java.lang.ClassCastException: java.lang.String cannot be cast to
[Ljava.lang.String;
at
org.nuxeo.ecm.platform.ec.notification.NotificationEventListener.handleNotifications(NotificationEventListener.java:114)
at
org.nuxeo.ecm.platform.ec.notification.NotificationEventListener.handleEvent(NotificationEventListener.java:79)
at
org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$Job.run(AsyncEventExecutor.java:109)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Can you help me ?
Thanks in advance
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm