Notification mail too short after migration to 0.21

[email protected] Thu, 13 Nov 2008 13:22:17 +0100
Newsgroups gmane.comp.java.scarab.user
Message-ID <OF8036AF0B.1A69CF94-ONC1257500.00418453-C1257500.0043F59F@tk-online.de>
Hello,

I migrated a scarab 0.20 instance to 0.21 on an new server. All went fine, 
migrating the DB schemas and "patching" the hostname in the tables have 
worked flawlessly.

When scarab sends change notifications, the mails look garbled like this 
(e.g. I have changed the ticket description):

---------------------------- start mail
MODULE: Test
ISSUE ID: TEST40 - "Test"

Recent activities in issue:
---------------------------- end mail

I have configured

system.mail.pseudohtml=false

because pseudohtml doesn't work with Lotus Notes. The Mail-Service uses 
UTF-8 (scarab.email.encoding=UTF-8).

I have the module configured to "have activity generate email" und have 
unchecked issue details. But also the issue link is missing. By the way: 
same problem when ich check "issue details". I have tested following 
configurations:

Scarab 0.21
Windows Server 2003
Apache Tomcat/6.0.18
JVM: 1.6.0_10-b33 (alternative tested 1.5.0_16)
Database: mysql-5.1.29-rc-win32 (alternative tested mysql-4.1.22-win32)


I have noticed some interesting messages in scarab's logfiles but it seems 
that they have nothing to do with the email generation:

scarab.log:

2008-11-13 12:51:00,129 [DefaultQuartzScheduler_Worker-0] INFO 
org.tigris.scarab - scarab.email.link.classname parameter exists, but has 
no value


services.log: many messages like this:

2008-11-13 13:03:11,532 [http-8080-2] ERROR 
org.apache.fulcrum.TurbineServices - java.beans.IntrospectionException: 
Method not found: isConditionsArray
2008-11-13 13:03:13,235 [http-8080-2] ERROR 
org.apache.fulcrum.TurbineServices - java.beans.IntrospectionException: 
Method not found: isNPasswordConfirm
2008-11-13 13:03:13,235 [http-8080-2] ERROR 
org.apache.fulcrum.TurbineServices - java.beans.IntrospectionException: 
Method not found: isNPasswordConfirm
2008-11-13 13:03:13,235 [http-8080-2] ERROR 
org.apache.fulcrum.TurbineServices - java.beans.IntrospectionException: 
Method not found: isNPassword
2008-11-13 13:03:13,235 [http-8080-2] ERROR 
org.apache.fulcrum.TurbineServices - java.beans.IntrospectionException: 
Method not found: isNPassword
2008-11-13 13:03:13,235 [http-8080-2] ERROR 
org.apache.fulcrum.TurbineServices - java.beans.IntrospectionException: 
Method not found: isConditionsArray
2008-11-13 13:03:13,235 [http-8080-2] ERROR 
org.apache.fulcrum.TurbineServices - java.beans.IntrospectionException: 
Method not found: isConditionsArray
2008-11-13 13:03:21,876 [http-8080-2] ERROR 
org.apache.fulcrum.TurbineServices - java.beans.IntrospectionException: 
Method not found: isNPasswordConfirm
2008-11-13 13:03:21,876 [http-8080-2] ERROR 
org.apache.fulcrum.TurbineServices - java.beans.IntrospectionException: 
Method not found: isNPasswordConfirm
2008-11-13 13:03:21,876 [http-8080-2] ERROR 
org.apache.fulcrum.TurbineServices - java.beans.IntrospectionException: 
Method not found: isNPassword
2008-11-13 13:03:21,876 [http-8080-2] ERROR 
org.apache.fulcrum.TurbineServices - java.beans.IntrospectionException: 
Method not found: isNPassword
2008-11-13 13:03:21,876 [http-8080-2] ERROR 
org.apache.fulcrum.TurbineServices - java.beans.IntrospectionException: 
Method not found: isConditionsArray
2008-11-13 13:03:21,876 [http-8080-2] ERROR 
org.apache.fulcrum.TurbineServices - java.beans.IntrospectionException: 
Method not found: isConditionsArray
2008-11-13 13:05:31,964 [http-8080-2] ERROR 
org.apache.fulcrum.TurbineServices - java.beans.IntrospectionException: 
Method not found: isNPasswordConfirm
2008-11-13 13:05:31,964 [http-8080-2] ERROR 
org.apache.fulcrum.TurbineServices - java.beans.IntrospectionException: 
Method not found: isNPasswordConfirm
2008-11-13 13:05:31,964 [http-8080-2] ERROR 
org.apache.fulcrum.TurbineServices - java.beans.IntrospectionException: 
Method not found: isNPassword
2008-11-13 13:05:31,964 [http-8080-2] ERROR 
org.apache.fulcrum.TurbineServices - java.beans.IntrospectionException: 
Method not found: isNPassword
2008-11-13 13:05:31,964 [http-8080-2] ERROR 
org.apache.fulcrum.TurbineServices - java.beans.IntrospectionException: 
Method not found: isConditionsArray
2008-11-13 13:05:31,964 [http-8080-2] ERROR 
org.apache.fulcrum.TurbineServices - java.beans.IntrospectionException: 
Method not found: isConditionsArray


velocity.log:

2008-11-13 12:36:59,425 [Thread-1] ERROR org.apache.velocity - VM 
#selected: error : too few arguments to macro. Wanted 1 got 0
2008-11-13 12:36:59,425 [Thread-1] ERROR org.apache.velocity - VM 
#selected: error : too few arguments to macro. Wanted 1 got 0
2008-11-13 12:36:59,425 [Thread-1] ERROR org.apache.velocity - VM 
#selected: error : too few arguments to macro. Wanted 1 got 0
2008-11-13 12:36:59,425 [Thread-1] ERROR org.apache.velocity - VM 
#textAreaMedium: error : too few arguments to macro. Wanted 2 got 0
2008-11-13 12:36:59,425 [Thread-1] ERROR org.apache.velocity - VM 
#textAreaMedium: error : too few arguments to macro. Wanted 2 got 0
2008-11-13 12:36:59,425 [Thread-1] ERROR org.apache.velocity - VM 
#selected: error : too few arguments to macro. Wanted 1 got 0
2008-11-13 12:36:59,487 [Thread-1] ERROR org.apache.velocity - VM 
#selectYear2: error : too few arguments to macro. Wanted 3 got 0
2008-11-13 12:36:59,534 [Thread-1] ERROR org.apache.velocity - VM 
#queryAttributesSection: error : too few arguments to macro. Wanted 3 got 
0
2008-11-13 12:36:59,565 [Thread-1] ERROR org.apache.velocity - VM 
#attributeWidget: error : too few arguments to macro. Wanted 1 got 0
2008-11-13 12:36:59,565 [Thread-1] ERROR org.apache.velocity - VM 
#attributeWidget: error : too few arguments to macro. Wanted 1 got 0
2008-11-13 12:36:59,565 [Thread-1] ERROR org.apache.velocity - VM 
#attrValueCommonSelect: error : too few arguments to macro. Wanted 5 got 0
2008-11-13 12:36:59,597 [Thread-1] ERROR org.apache.velocity - VM 
#paginateXModuleList: error : too few arguments to macro. Wanted 1 got 0
2008-11-13 12:36:59,597 [Thread-1] ERROR org.apache.velocity - VM 
#rmitSort: error : too few arguments to macro. Wanted 3 got 0
2008-11-13 12:36:59,597 [Thread-1] ERROR org.apache.velocity - VM 
#rmitSort: error : too few arguments to macro. Wanted 3 got 0
2008-11-13 12:36:59,597 [Thread-1] ERROR org.apache.velocity - VM 
#paginateXModuleList: error : too few arguments to macro. Wanted 1 got 0
2008-11-13 12:36:59,722 [Thread-1] ERROR org.apache.velocity - VM 
#selected: error : too few arguments to macro. Wanted 1 got 0
2008-11-13 12:36:59,722 [Thread-1] ERROR org.apache.velocity - VM 
#selected: error : too few arguments to macro. Wanted 1 got 0
2008-11-13 12:36:59,722 [Thread-1] ERROR org.apache.velocity - VM 
#selected: error : too few arguments to macro. Wanted 1 got 0
2008-11-13 12:36:59,722 [Thread-1] ERROR org.apache.velocity - VM 
#textAreaMedium: error : too few arguments to macro. Wanted 2 got 0
2008-11-13 12:36:59,722 [Thread-1] ERROR org.apache.velocity - VM 
#textAreaMedium: error : too few arguments to macro. Wanted 2 got 0
2008-11-13 12:36:59,722 [Thread-1] ERROR org.apache.velocity - VM 
#selected: error : too few arguments to macro. Wanted 1 got 0
2008-11-13 12:36:59,737 [Thread-1] ERROR org.apache.velocity - VM 
#selectYear2: error : too few arguments to macro. Wanted 3 got 0
2008-11-13 12:39:23,055 [http-8080-2] WARN  org.apache.velocity - Warning! 
The iterative  is an Iterator in the #foreach() loop at [0,0] in template 
screens/AdvancedQuery.vm. Because it's not resetable, if used in more than 
once, this may lead to unexpected results.
2008-11-13 12:39:23,258 [http-8080-2] WARN  org.apache.velocity - Warning! 
The iterative  is an Iterator in the #foreach() loop at [0,0] in template 
screens/AdvancedQuery.vm. Because it's not resetable, if used in more than 
once, this may lead to unexpected results.
2008-11-13 12:39:27,040 [http-8080-2] WARN  org.apache.velocity - Warning! 
The iterative  is an Iterator in the #foreach() loop at [0,0] in template 
screens/IssueList.vm. Because it's not resetable, if used in more than 
once, this may lead to unexpected results.
2008-11-13 12:39:32,899 [http-8080-2] ERROR org.apache.velocity - Error in 
evaluation of == expression. Both arguments must be of the same Class. 
Currently left = class java.lang.Integer, right = class java.lang.String. 
viewIssue/ViewIssueTab1.vm [line 49, column 59] (ASTEQNode)
2008-11-13 12:45:13,866 [http-8080-1] ERROR org.apache.velocity - Error in 
evaluation of == expression. Both arguments must be of the same Class. 
Currently left = class java.lang.Integer, right = class java.lang.String. 
viewIssue/ViewIssueTab1.vm [line 49, column 59] (ASTEQNode)
2008-11-13 12:45:24,163 [http-8080-1] WARN  org.apache.velocity - Warning! 
The iterative  is an Iterator in the #foreach() loop at [0,0] in template 
screens/IssueList.vm. Because it's not resetable, if used in more than 
once, this may lead to unexpected results.
2008-11-13 12:45:28,038 [http-8080-1] WARN  org.apache.velocity - Warning! 
The iterative  is an Iterator in the #foreach() loop at [0,0] in template 
screens/IssueList.vm. Because it's not resetable, if used in more than 
once, this may lead to unexpected results.
2008-11-13 12:45:31,929 [http-8080-1] ERROR org.apache.velocity - Error in 
evaluation of == expression. Both arguments must be of the same Class. 
Currently left = class java.lang.Integer, right = class java.lang.String. 
viewIssue/ViewIssueTab1.vm [line 49, column 59] (ASTEQNode)
2008-11-13 12:45:48,726 [http-8080-1] ERROR org.apache.velocity - Error in 
evaluation of == expression. Both arguments must be of the same Class. 
Currently left = class java.lang.Integer, right = class java.lang.String. 
viewIssue/ViewIssueTab1.vm [line 49, column 59] (ASTEQNode)
2008-11-13 12:46:27,165 [http-8080-1] ERROR org.apache.velocity - Error in 
evaluation of == expression. Both arguments must be of the same Class. 
Currently left = class java.lang.Integer, right = class java.lang.String. 
viewIssue/ViewIssueTab1.vm [line 49, column 59] (ASTEQNode)
2008-11-13 12:57:16,612 [http-8080-1] ERROR org.apache.velocity - Error in 
evaluation of == expression. Both arguments must be of the same Class. 
Currently left = class java.lang.Integer, right = class java.lang.String. 
viewIssue/ViewIssueTab1.vm [line 49, column 59] (ASTEQNode)
2008-11-13 12:57:40,488 [http-8080-1] ERROR org.apache.velocity - Error in 
evaluation of == expression. Both arguments must be of the same Class. 
Currently left = class java.lang.Integer, right = class java.lang.String. 
viewIssue/ViewIssueTab1.vm [line 49, column 59] (ASTEQNode)
2008-11-13 12:58:13,458 [http-8080-2] WARN  org.apache.velocity - Warning! 
The iterative  is an Iterator in the #foreach() loop at [0,0] in template 
screens/IssueList.vm. Because it's not resetable, if used in more than 
once, this may lead to unexpected results.
2008-11-13 12:58:15,364 [http-8080-2] ERROR org.apache.velocity - Error in 
evaluation of == expression. Both arguments must be of the same Class. 
Currently left = class java.lang.Integer, right = class java.lang.String. 
viewIssue/ViewIssueTab1.vm [line 49, column 59] (ASTEQNode)
2008-11-13 12:58:22,443 [http-8080-2] ERROR org.apache.velocity - Error in 
evaluation of == expression. Both arguments must be of the same Class. 
Currently left = class java.lang.Integer, right = class java.lang.String. 
viewIssue/ViewIssueTab1.vm [line 49, column 59] (ASTEQNode)
2008-11-13 12:58:46,366 [http-8080-2] ERROR org.apache.velocity - Error in 
evaluation of == expression. Both arguments must be of the same Class. 
Currently left = class java.lang.Integer, right = class java.lang.String. 
viewIssue/ViewIssueTab1.vm [line 49, column 59] (ASTEQNode)


B.T.W: I have installed a new clean Scarab 0.21 on Sun with Oracle, and 
there are no problems like this, so it may have something to do with the 
DB migration? Any suggestions?

regards,

Jörg Florin
Techniker Krankenkasse
Hauptverwaltung
IT-Systeme (ITS.4 - Systemframeworks)
Bramfelder Straße 140, D-22305 Hamburg
 
Tel: +49 (40) 69 09 - 25 75
Fax: +49 (40) 69 09 - 8 25 75
E-Mail: [email protected]
TK-Website: www.tk-online.de