[jira] Created: (OFBIZ-2823) large content field in commevent gives FTL macro error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-2823) large content field in commevent gives FTL macro error

Nicolas Malin (Jira)
large content field in commevent gives FTL macro error
------------------------------------------------------

                 Key: OFBIZ-2823
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2823
             Project: OFBiz
          Issue Type: Bug
          Components: ALL COMPONENTS
    Affects Versions: SVN trunk
            Reporter: Hans Bakker
            Assignee: Jacopo Cappellato
            Priority: Minor


when a large email comes in with a large content containing html the content field is not displayed and gives the following error in the log:
2009-08-11 13:25:17,285 (http-0.0.0.0-8443-2) [     RequestHandler.java:716:INFO ] Rendering View [ViewCommunicationEvent], sessionId=DF79413186CF5E972F8F746768EC0807.jvm1
2009-08-11 13:25:17,420 (http-0.0.0.0-8443-2) [      ScreenFactory.java:129:INFO ] Got 21 screens in 0.021s from: file:/home/hans/ofbiz/svn/applications/party/widget/partymgr/CommunicationEventScreens.xml
2009-08-11 13:25:17,502 (http-0.0.0.0-8443-2) [      ScreenFactory.java:129:INFO ] Got 13 screens in 0.014s from: file:/home/hans/ofbiz/svn/specialpurpose/myportal/widget/CommonScreens.xml
2009-08-11 13:25:18,461 (http-0.0.0.0-8443-2) [      ScreenFactory.java:129:INFO ] Got 1 screens in 0.721s from: file:/home/hans/ofbiz/svn/applications/commonext/widget/CommonScreens.xml
2009-08-11 13:25:18,554 (http-0.0.0.0-8443-2) [      ScreenFactory.java:129:INFO ] Got 22 screens in 0.016s from: file:/home/hans/ofbiz/svn/framework/common/widget/CommonScreens.xml
2009-08-11 13:25:18,955 (http-0.0.0.0-8443-2) [  MacroFormRenderer.java:132:ERROR]
---- exception report ----------------------------------------------------------
Error rendering screen thru ftl
Exception: freemarker.core.ParseException
Message: Encountered ":" at line 1, column 3032 in Tue Aug 11 13:25:18 ICT 2009.
Was expecting:
    "=" ...
   
---- stack trace ---------------------------------------------------------------
freemarker.core.ParseException: Encountered ":" at line 1, column 3032 in Tue Aug 11 13:25:18 ICT 2009.
Was expecting:
    "=" ...
   
freemarker.core.FMParser.generateParseException(FMParser.java:4697)
freemarker.core.FMParser.jj_consume_token(FMParser.java:4568)
freemarker.core.FMParser.NamedArgs(FMParser.java:2045)
freemarker.core.FMParser.UnifiedMacroTransform(FMParser.java:1904)
freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2399)
freemarker.core.FMParser.Content(FMParser.java:2618)
freemarker.core.FMParser.OptionalBlock(FMParser.java:2786)
freemarker.core.FMParser.Root(FMParser.java:2958)
freemarker.template.Template.<init>(Template.java:149)
freemarker.template.Template.<init>(Template.java:172)
org.ofbiz.widget.form.MacroFormRenderer.executeMacro(MacroFormRenderer.java:120)
org.ofbiz.widget.form.MacroFormRenderer.executeMacro(MacroFormRenderer.java:136)
org.ofbiz.widget.form.MacroFormRenderer.renderDisplayField(MacroFormRenderer.java:305)
org.ofbiz.widget.form.ModelFormField$DisplayField.renderFieldString(ModelFormField.java:2066)
org.ofbiz.widget.form.ModelFormField.renderFieldString(ModelFormField.java:592)
org.ofbiz.widget.form.ModelForm.renderSingleFormString(ModelForm.java:1028)
org.ofbiz.widget.form.ModelForm.renderFormString(ModelForm.java:811)



To reproduce:

create a new email  communicationevent (myportal -> mycomms -> new email, go to web tools and replace the 'content' filed with the info below. Then go to communications and display the email: the content field is not displayed and produces the error in the log.

The content of the communicationEvent content field as an example:
Dear Hans, It was good seeing you at the Dutch Business Networking Event in Chiang Mai recently. I hope you are well. Just wanted to renew contact with you and invite you to join our super dynamic chamber. We have a very special package for the people with small companies in the North: Associate Membership from now until 31 December 2010 for 7,000 Baht + VAT (this represents a 30% discount off our normal rate and a 70% discount off the rate for Ordinary membership). If there is interest for events organised in Chiang Mai, we can organise it. For example we have recently done a very successful seminar with 888 tips on how Foreigners and Thai managers can work together more effectively. We'll be happy to bring this to you if there is enough participation. As for our regular program, please be invited to our first event, a Welcome Back Networking event where we expect more than 100 participants. In order to facilitate your planning, please find herewith the list of our major events until the end of the year. Now is a good moment to note all these dates and events in your diary: 13 August, 18.30 - 21.00 hrs: Welcome back cocktail sponsored by Air Berlin at the Old German Beerhouse, Sukhumvit Soi 11 (details attached) 15 August, all day: Embassy trip to Kanchanaburi. For more information, contact Tim Sparla at [hidden email] 27 August, 18.30 hrs: Dinner talk by Marc de Vries: Crisis management, How Vigilant Semiconductors went from super growth to almost bust to... Venue: Banyan Tree Hotel 3 September, 9.00 - 14.00 hrs: Visit to the Heineken Brewery 7-8 September: Embassy/NTCC mission to Vientiane 17 September: Dinner talk by Frank Clovyn: behind the scenes of a 5-star hotel. Landmark Hotel 1 October: Annual Award Dinner Gala dinner at the Grand Hyatt Erawan Hotel; keynote speaker: Finance Minister Khun Korn 8 October, 9.00 - 14.00 hrs: Visit to the new chocolate and bakery ingredients factory of Gallothai/Puratos 21 October, 18.30 hrs: Dinner talk with Jean-Pierre Verbiest, economist at the Asian Development Bank, with an outlook on the Thai and regional economy. Venue to be determined 17 November: Dinner talk: tbd 19 November: NTCC Golf Tournament 24-25 November: Embassy/NTCC mission to Cambodia Early December: Christmas networking cocktail at the Neilson Hayes Library with an exhibition by a Dutch and a Belgian artist In addition to all these events, we will have breakfast seminars and luncheon meetings and networking events in collaboration with other chambers (eg: Compensation survey, francophone networking .). You see, we'll keep you busy. Looking forward to your participation to many of our events. Bert Bert Cesar Executive Director Netherlands - Thai Chamber of Commerce B.B. Building, 19th Floor, Room 1909, 54 Asoke Road, Sukhumvit 21, Klongtoey Nue, Wattana, Bangkok 10110, THAILAND Tel: +66 2 260 7501 Fax: +66 2 260 7502 [hidden email] <http://www.ntccthailand.org/> www.ntccthailand.org/ <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="State"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="Street"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="address"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="country-region" downloadurl="http://www.5iantlavalamp.com/"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PostalCode"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City" downloadurl="<a href="http://www.5iamas-microsoft-com:office:smarttags">http://www.5iamas-microsoft-com:office:smarttags"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceType" downloadurl="http://www.5iantlavalamp.com/"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceName" downloadurl="http://www.5iantlavalamp.com/"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place" downloadurl="http://www.5iantlavalamp.com/"/> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle18 {mso-style-type:personal; font-family:Arial; color:navy;} span.EmailStyle19 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle20 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle21 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle22 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle23 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle24 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle25 {mso-style-type:personal-reply; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=EN-US link=blue vlink=purple> <div class=Section1> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Dear Hans,<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>It was good seeing you at the Dutch Business Networking Event in Chiang Mai recently. I hope you are well. Just wanted to renew contact with you and invite you to join our super dynamic chamber. We have a very special package for the people with small companies in the North: Associate Membership from now until 31 December 2010 for 7,000 Baht + VAT (this represents a 30% discount off our normal rate and a 70% discount off the rate for Ordinary membership). If there is interest for events organised in Chiang Mai, we can organise it. For example we have recently done a very successful seminar with 888 tips on how Foreigners and Thai managers can work together more effectively. We&#8217;ll be happy to bring this to you if there is enough participation.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>As for our regular program, please be invited to our first event, a Welcome Back Networking event where we expect more than 100 participants. In order to facilitate your planning, please find herewith the list of our major events until the end of the year. Now is a good moment to note all these dates and events in your diary:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>13 August, 18.30 &#8211; 21.00 hrs:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Welcome back cocktail sponsored by Air <st1:place w:st="on"><st1:State w:st="on">Berlin</st1:State></st1:place> at the Old German Beerhouse, Sukhumvit Soi 11 (details attached)<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>15 August, all day:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Embassy trip to Kanchanaburi. For more information, contact Tim Sparla at </span></font><font size=2 color=blue face=Arial><span lang=EN-GB style='font-size:10.0pt; font-family:Arial;color:blue'><a href="mailto:[hidden email]">[hidden email]</a></span></font><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt; font-family:Arial;color:navy'><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>27 August, 18.30 hrs:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Dinner talk by Marc de Vries: Crisis management, How Vigilant Semiconductors went from super growth to almost bust to...<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Venue: Banyan Tree Hotel<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>3 September, 9.00 &#8211; 14.00 hrs:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Visit to the Heineken Brewery<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>7-8 September:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Embassy/NTCC mission to <st1:place w:st="on"><st1:City w:st="on">Vientiane</st1:City></st1:place><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>17 September:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Dinner talk by Frank Clovyn: behind the scenes of a 5-star hotel. Landmark Hotel<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><b><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy;font-weight:bold'>1 October: Annual Award Dinner<o:p></o:p></span></font></b></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Gala dinner at the Grand Hyatt Erawan Hotel; keynote speaker: Finance Minister Khun Korn<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>8 October, 9.00 &#8211; 14.00 hrs:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Visit to the new chocolate and bakery ingredients factory of Gallothai/Puratos<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>21 October, 18.30 hrs:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Dinner talk with Jean-Pierre Verbiest, economist at the Asian Development Bank, with an outlook on the Thai and regional economy. Venue to be determined<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>17 November:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Dinner talk: tbd<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>19 November:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>NTCC Golf Tournament<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>24-25 November: <o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Embassy/NTCC mission to <st1:place w:st="on"><st1:country-region w:st="on">Cambodia</st1:country-region></st1:place><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Early December:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Christmas networking cocktail at the Neilson Hayes Library with an exhibition by a Dutch and a Belgian artist<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>In addition to all these events, we will have breakfast seminars and luncheon meetings and networking events in collaboration with other chambers (eg: Compensation survey, francophone networking &#8230;).<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>You see, we&#8217;ll keep you busy.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Looking forward to your participation to many of our events.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Bert<o:p></o:p></span></font></p> <p class=MsoNormal><font size=3 face=Arial><span lang=EN-GB style='font-size: 12.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=3 face=Arial><span lang=EN-GB style='font-size: 12.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=3 face=Arial><span lang=EN-GB style='font-size: 12.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal style='mso-margin-top-alt:5.0pt;margin-right:0in;margin-bottom: 5.0pt;margin-left:0in'><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Bert Cesar<br> Executive Director<br> <st1:place w:st="on"><st1:country-region w:st="on">Netherlands</st1:country-region></st1:place> - Thai Chamber of Commerce<br> <st1:place w:st="on"><st1:PlaceName w:st="on">B.B.</st1:PlaceName> <st1:PlaceType w:st="on">Building</st1:PlaceType></st1:place>, 19th Floor, Room 1909,<br> <st1:Street w:st="on"><st1:address w:st="on">54 Asoke Road</st1:address></st1:Street>, Sukhumvit 21,<br> Klongtoey Nue, Wattana,<br> <st1:place w:st="on"><st1:City w:st="on">Bangkok</st1:City> <st1:PostalCode w:st="on">10110</st1:PostalCode>, <st1:country-region w:st="on">THAILAND</st1:country-region></st1:place><br> Tel: +66 2 260 7501<br> Fax: +66 2 260 7502<br> <font color=blue><span style='color:blue'><a href="mailto:[hidden email]">[hidden email]</a><br> <a href="http://www.ntccthailand.org/"><font color=purple><span style='color:purple'>www.ntccthailand.org/</span></font></a><o:p></o:p></span></font></span></font></p> <p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p> </div> </body> </html>

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-2823) large content field in commevent gives FTL macro error

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacopo Cappellato closed OFBIZ-2823.
------------------------------------

    Resolution: Fixed

Thank you Hans,  it is fixed in r. 803013


> large content field in commevent gives FTL macro error
> ------------------------------------------------------
>
>                 Key: OFBIZ-2823
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2823
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>            Reporter: Hans Bakker
>            Assignee: Jacopo Cappellato
>            Priority: Minor
>
> when a large email comes in with a large content containing html the content field is not displayed and gives the following error in the log:
> 2009-08-11 13:25:17,285 (http-0.0.0.0-8443-2) [     RequestHandler.java:716:INFO ] Rendering View [ViewCommunicationEvent], sessionId=DF79413186CF5E972F8F746768EC0807.jvm1
> 2009-08-11 13:25:17,420 (http-0.0.0.0-8443-2) [      ScreenFactory.java:129:INFO ] Got 21 screens in 0.021s from: file:/home/hans/ofbiz/svn/applications/party/widget/partymgr/CommunicationEventScreens.xml
> 2009-08-11 13:25:17,502 (http-0.0.0.0-8443-2) [      ScreenFactory.java:129:INFO ] Got 13 screens in 0.014s from: file:/home/hans/ofbiz/svn/specialpurpose/myportal/widget/CommonScreens.xml
> 2009-08-11 13:25:18,461 (http-0.0.0.0-8443-2) [      ScreenFactory.java:129:INFO ] Got 1 screens in 0.721s from: file:/home/hans/ofbiz/svn/applications/commonext/widget/CommonScreens.xml
> 2009-08-11 13:25:18,554 (http-0.0.0.0-8443-2) [      ScreenFactory.java:129:INFO ] Got 22 screens in 0.016s from: file:/home/hans/ofbiz/svn/framework/common/widget/CommonScreens.xml
> 2009-08-11 13:25:18,955 (http-0.0.0.0-8443-2) [  MacroFormRenderer.java:132:ERROR]
> ---- exception report ----------------------------------------------------------
> Error rendering screen thru ftl
> Exception: freemarker.core.ParseException
> Message: Encountered ":" at line 1, column 3032 in Tue Aug 11 13:25:18 ICT 2009.
> Was expecting:
>     "=" ...
>    
> ---- stack trace ---------------------------------------------------------------
> freemarker.core.ParseException: Encountered ":" at line 1, column 3032 in Tue Aug 11 13:25:18 ICT 2009.
> Was expecting:
>     "=" ...
>    
> freemarker.core.FMParser.generateParseException(FMParser.java:4697)
> freemarker.core.FMParser.jj_consume_token(FMParser.java:4568)
> freemarker.core.FMParser.NamedArgs(FMParser.java:2045)
> freemarker.core.FMParser.UnifiedMacroTransform(FMParser.java:1904)
> freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2399)
> freemarker.core.FMParser.Content(FMParser.java:2618)
> freemarker.core.FMParser.OptionalBlock(FMParser.java:2786)
> freemarker.core.FMParser.Root(FMParser.java:2958)
> freemarker.template.Template.<init>(Template.java:149)
> freemarker.template.Template.<init>(Template.java:172)
> org.ofbiz.widget.form.MacroFormRenderer.executeMacro(MacroFormRenderer.java:120)
> org.ofbiz.widget.form.MacroFormRenderer.executeMacro(MacroFormRenderer.java:136)
> org.ofbiz.widget.form.MacroFormRenderer.renderDisplayField(MacroFormRenderer.java:305)
> org.ofbiz.widget.form.ModelFormField$DisplayField.renderFieldString(ModelFormField.java:2066)
> org.ofbiz.widget.form.ModelFormField.renderFieldString(ModelFormField.java:592)
> org.ofbiz.widget.form.ModelForm.renderSingleFormString(ModelForm.java:1028)
> org.ofbiz.widget.form.ModelForm.renderFormString(ModelForm.java:811)
> To reproduce:
> create a new email  communicationevent (myportal -> mycomms -> new email, go to web tools and replace the 'content' filed with the info below. Then go to communications and display the email: the content field is not displayed and produces the error in the log.
> The content of the communicationEvent content field as an example:
> Dear Hans, It was good seeing you at the Dutch Business Networking Event in Chiang Mai recently. I hope you are well. Just wanted to renew contact with you and invite you to join our super dynamic chamber. We have a very special package for the people with small companies in the North: Associate Membership from now until 31 December 2010 for 7,000 Baht + VAT (this represents a 30% discount off our normal rate and a 70% discount off the rate for Ordinary membership). If there is interest for events organised in Chiang Mai, we can organise it. For example we have recently done a very successful seminar with 888 tips on how Foreigners and Thai managers can work together more effectively. We'll be happy to bring this to you if there is enough participation. As for our regular program, please be invited to our first event, a Welcome Back Networking event where we expect more than 100 participants. In order to facilitate your planning, please find herewith the list of our major events until the end of the year. Now is a good moment to note all these dates and events in your diary: 13 August, 18.30 - 21.00 hrs: Welcome back cocktail sponsored by Air Berlin at the Old German Beerhouse, Sukhumvit Soi 11 (details attached) 15 August, all day: Embassy trip to Kanchanaburi. For more information, contact Tim Sparla at [hidden email] 27 August, 18.30 hrs: Dinner talk by Marc de Vries: Crisis management, How Vigilant Semiconductors went from super growth to almost bust to... Venue: Banyan Tree Hotel 3 September, 9.00 - 14.00 hrs: Visit to the Heineken Brewery 7-8 September: Embassy/NTCC mission to Vientiane 17 September: Dinner talk by Frank Clovyn: behind the scenes of a 5-star hotel. Landmark Hotel 1 October: Annual Award Dinner Gala dinner at the Grand Hyatt Erawan Hotel; keynote speaker: Finance Minister Khun Korn 8 October, 9.00 - 14.00 hrs: Visit to the new chocolate and bakery ingredients factory of Gallothai/Puratos 21 October, 18.30 hrs: Dinner talk with Jean-Pierre Verbiest, economist at the Asian Development Bank, with an outlook on the Thai and regional economy. Venue to be determined 17 November: Dinner talk: tbd 19 November: NTCC Golf Tournament 24-25 November: Embassy/NTCC mission to Cambodia Early December: Christmas networking cocktail at the Neilson Hayes Library with an exhibition by a Dutch and a Belgian artist In addition to all these events, we will have breakfast seminars and luncheon meetings and networking events in collaboration with other chambers (eg: Compensation survey, francophone networking .). You see, we'll keep you busy. Looking forward to your participation to many of our events. Bert Bert Cesar Executive Director Netherlands - Thai Chamber of Commerce B.B. Building, 19th Floor, Room 1909, 54 Asoke Road, Sukhumvit 21, Klongtoey Nue, Wattana, Bangkok 10110, THAILAND Tel: +66 2 260 7501 Fax: +66 2 260 7502 [hidden email] <http://www.ntccthailand.org/> www.ntccthailand.org/ <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="State"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="Street"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="address"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="country-region" downloadurl="http://www.5iantlavalamp.com/"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PostalCode"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City" downloadurl="<a href="http://www.5iamas-microsoft-com:office:smarttags">http://www.5iamas-microsoft-com:office:smarttags"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceType" downloadurl="http://www.5iantlavalamp.com/"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceName" downloadurl="http://www.5iantlavalamp.com/"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place" downloadurl="http://www.5iantlavalamp.com/"/> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle18 {mso-style-type:personal; font-family:Arial; color:navy;} span.EmailStyle19 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle20 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle21 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle22 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle23 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle24 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle25 {mso-style-type:personal-reply; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=EN-US link=blue vlink=purple> <div class=Section1> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Dear Hans,<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>It was good seeing you at the Dutch Business Networking Event in Chiang Mai recently. I hope you are well. Just wanted to renew contact with you and invite you to join our super dynamic chamber. We have a very special package for the people with small companies in the North: Associate Membership from now until 31 December 2010 for 7,000 Baht + VAT (this represents a 30% discount off our normal rate and a 70% discount off the rate for Ordinary membership). If there is interest for events organised in Chiang Mai, we can organise it. For example we have recently done a very successful seminar with 888 tips on how Foreigners and Thai managers can work together more effectively. We&#8217;ll be happy to bring this to you if there is enough participation.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>As for our regular program, please be invited to our first event, a Welcome Back Networking event where we expect more than 100 participants. In order to facilitate your planning, please find herewith the list of our major events until the end of the year. Now is a good moment to note all these dates and events in your diary:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>13 August, 18.30 &#8211; 21.00 hrs:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Welcome back cocktail sponsored by Air <st1:place w:st="on"><st1:State w:st="on">Berlin</st1:State></st1:place> at the Old German Beerhouse, Sukhumvit Soi 11 (details attached)<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>15 August, all day:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Embassy trip to Kanchanaburi. For more information, contact Tim Sparla at </span></font><font size=2 color=blue face=Arial><span lang=EN-GB style='font-size:10.0pt; font-family:Arial;color:blue'><a href="mailto:[hidden email]">[hidden email]</a></span></font><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt; font-family:Arial;color:navy'><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>27 August, 18.30 hrs:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Dinner talk by Marc de Vries: Crisis management, How Vigilant Semiconductors went from super growth to almost bust to...<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Venue: Banyan Tree Hotel<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>3 September, 9.00 &#8211; 14.00 hrs:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Visit to the Heineken Brewery<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>7-8 September:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Embassy/NTCC mission to <st1:place w:st="on"><st1:City w:st="on">Vientiane</st1:City></st1:place><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>17 September:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Dinner talk by Frank Clovyn: behind the scenes of a 5-star hotel. Landmark Hotel<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><b><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy;font-weight:bold'>1 October: Annual Award Dinner<o:p></o:p></span></font></b></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Gala dinner at the Grand Hyatt Erawan Hotel; keynote speaker: Finance Minister Khun Korn<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>8 October, 9.00 &#8211; 14.00 hrs:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Visit to the new chocolate and bakery ingredients factory of Gallothai/Puratos<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>21 October, 18.30 hrs:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Dinner talk with Jean-Pierre Verbiest, economist at the Asian Development Bank, with an outlook on the Thai and regional economy. Venue to be determined<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>17 November:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Dinner talk: tbd<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>19 November:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>NTCC Golf Tournament<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>24-25 November: <o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Embassy/NTCC mission to <st1:place w:st="on"><st1:country-region w:st="on">Cambodia</st1:country-region></st1:place><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Early December:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Christmas networking cocktail at the Neilson Hayes Library with an exhibition by a Dutch and a Belgian artist<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>In addition to all these events, we will have breakfast seminars and luncheon meetings and networking events in collaboration with other chambers (eg: Compensation survey, francophone networking &#8230;).<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>You see, we&#8217;ll keep you busy.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Looking forward to your participation to many of our events.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Bert<o:p></o:p></span></font></p> <p class=MsoNormal><font size=3 face=Arial><span lang=EN-GB style='font-size: 12.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=3 face=Arial><span lang=EN-GB style='font-size: 12.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=3 face=Arial><span lang=EN-GB style='font-size: 12.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal style='mso-margin-top-alt:5.0pt;margin-right:0in;margin-bottom: 5.0pt;margin-left:0in'><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Bert Cesar<br> Executive Director<br> <st1:place w:st="on"><st1:country-region w:st="on">Netherlands</st1:country-region></st1:place> - Thai Chamber of Commerce<br> <st1:place w:st="on"><st1:PlaceName w:st="on">B.B.</st1:PlaceName> <st1:PlaceType w:st="on">Building</st1:PlaceType></st1:place>, 19th Floor, Room 1909,<br> <st1:Street w:st="on"><st1:address w:st="on">54 Asoke Road</st1:address></st1:Street>, Sukhumvit 21,<br> Klongtoey Nue, Wattana,<br> <st1:place w:st="on"><st1:City w:st="on">Bangkok</st1:City> <st1:PostalCode w:st="on">10110</st1:PostalCode>, <st1:country-region w:st="on">THAILAND</st1:country-region></st1:place><br> Tel: +66 2 260 7501<br> Fax: +66 2 260 7502<br> <font color=blue><span style='color:blue'><a href="mailto:[hidden email]">[hidden email]</a><br> <a href="http://www.ntccthailand.org/"><font color=purple><span style='color:purple'>www.ntccthailand.org/</span></font></a><o:p></o:p></span></font></span></font></p> <p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p> </div> </body> </html>

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2823) large content field in commevent gives FTL macro error

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741738#action_12741738 ]

Hans Bakker commented on OFBIZ-2823:
------------------------------------

I did some more investigation.

If the content field contains the string "just" including the quotes. the field is not displayed.

And the following error is in the log:
2009-08-11 14:40:12,064 (http-0.0.0.0-8443-6) [     RequestHandler.java:716:INFO ] Rendering View [ViewCommunicationEvent], sessionId=05A209FF907EE711A3764D40E5F8EDD8.jvm1
2009-08-11 14:40:12,165 (http-0.0.0.0-8443-6) [      ScreenFactory.java:129:INFO ] Got 21 screens in 0.018s from: file:/home/hans/ofbiz/svn/applications/party/widget/partymgr/CommunicationEventScreens.xml
2009-08-11 14:40:12,180 (http-0.0.0.0-8443-6) [      ScreenFactory.java:129:INFO ] Got 6 screens in 0.012s from: file:/home/hans/ofbiz/svn/applications/party/widget/partymgr/CommonScreens.xml
2009-08-11 14:40:12,234 (http-0.0.0.0-8443-6) [      ScreenFactory.java:129:INFO ] Got 1 screens in 0.011s from: file:/home/hans/ofbiz/svn/applications/commonext/widget/CommonScreens.xml
2009-08-11 14:40:12,629 (http-0.0.0.0-8443-6) [  MacroFormRenderer.java:132:ERROR]
---- exception report ----------------------------------------------------------
Error rendering screen thru ftl
Exception: freemarker.core.ParseException
Message: Encountered "\"\"" at line 1, column 67 in Tue Aug 11 14:40:12 ICT 2009.
Was expecting:
    "=" ...
   
---- stack trace ---------------------------------------------------------------
freemarker.core.ParseException: Encountered "\"\"" at line 1, column 67 in Tue Aug 11 14:40:12 ICT 2009.
Was expecting:
    "=" ...
   
freemarker.core.FMParser.generateParseException(FMParser.java:4697)
freemarker.core.FMParser.jj_consume_token(FMParser.java:4568)
freemarker.core.FMParser.NamedArgs(FMParser.java:2045)
freemarker.core.FMParser.UnifiedMacroTransform(FMParser.java:1904)
freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2399)
freemarker.core.FMParser.Content(FMParser.java:2618)
freemarker.core.FMParser.OptionalBlock(FMParser.java:2786)
freemarker.core.FMParser.Root(FMParser.java:2958)
freemarker.template.Template.<init>(Template.java:149)
freemarker.template.Template.<init>(Template.java:172)
org.ofbiz.widget.form.MacroFormRenderer.executeMacro(MacroFormRenderer.java:120)
org.ofbiz.widget.form.MacroFormRenderer.executeMacro(MacroFormRenderer.java:136)


> large content field in commevent gives FTL macro error
> ------------------------------------------------------
>
>                 Key: OFBIZ-2823
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2823
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>            Reporter: Hans Bakker
>            Assignee: Jacopo Cappellato
>            Priority: Minor
>
> when a large email comes in with a large content containing html the content field is not displayed and gives the following error in the log:
> 2009-08-11 13:25:17,285 (http-0.0.0.0-8443-2) [     RequestHandler.java:716:INFO ] Rendering View [ViewCommunicationEvent], sessionId=DF79413186CF5E972F8F746768EC0807.jvm1
> 2009-08-11 13:25:17,420 (http-0.0.0.0-8443-2) [      ScreenFactory.java:129:INFO ] Got 21 screens in 0.021s from: file:/home/hans/ofbiz/svn/applications/party/widget/partymgr/CommunicationEventScreens.xml
> 2009-08-11 13:25:17,502 (http-0.0.0.0-8443-2) [      ScreenFactory.java:129:INFO ] Got 13 screens in 0.014s from: file:/home/hans/ofbiz/svn/specialpurpose/myportal/widget/CommonScreens.xml
> 2009-08-11 13:25:18,461 (http-0.0.0.0-8443-2) [      ScreenFactory.java:129:INFO ] Got 1 screens in 0.721s from: file:/home/hans/ofbiz/svn/applications/commonext/widget/CommonScreens.xml
> 2009-08-11 13:25:18,554 (http-0.0.0.0-8443-2) [      ScreenFactory.java:129:INFO ] Got 22 screens in 0.016s from: file:/home/hans/ofbiz/svn/framework/common/widget/CommonScreens.xml
> 2009-08-11 13:25:18,955 (http-0.0.0.0-8443-2) [  MacroFormRenderer.java:132:ERROR]
> ---- exception report ----------------------------------------------------------
> Error rendering screen thru ftl
> Exception: freemarker.core.ParseException
> Message: Encountered ":" at line 1, column 3032 in Tue Aug 11 13:25:18 ICT 2009.
> Was expecting:
>     "=" ...
>    
> ---- stack trace ---------------------------------------------------------------
> freemarker.core.ParseException: Encountered ":" at line 1, column 3032 in Tue Aug 11 13:25:18 ICT 2009.
> Was expecting:
>     "=" ...
>    
> freemarker.core.FMParser.generateParseException(FMParser.java:4697)
> freemarker.core.FMParser.jj_consume_token(FMParser.java:4568)
> freemarker.core.FMParser.NamedArgs(FMParser.java:2045)
> freemarker.core.FMParser.UnifiedMacroTransform(FMParser.java:1904)
> freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2399)
> freemarker.core.FMParser.Content(FMParser.java:2618)
> freemarker.core.FMParser.OptionalBlock(FMParser.java:2786)
> freemarker.core.FMParser.Root(FMParser.java:2958)
> freemarker.template.Template.<init>(Template.java:149)
> freemarker.template.Template.<init>(Template.java:172)
> org.ofbiz.widget.form.MacroFormRenderer.executeMacro(MacroFormRenderer.java:120)
> org.ofbiz.widget.form.MacroFormRenderer.executeMacro(MacroFormRenderer.java:136)
> org.ofbiz.widget.form.MacroFormRenderer.renderDisplayField(MacroFormRenderer.java:305)
> org.ofbiz.widget.form.ModelFormField$DisplayField.renderFieldString(ModelFormField.java:2066)
> org.ofbiz.widget.form.ModelFormField.renderFieldString(ModelFormField.java:592)
> org.ofbiz.widget.form.ModelForm.renderSingleFormString(ModelForm.java:1028)
> org.ofbiz.widget.form.ModelForm.renderFormString(ModelForm.java:811)
> To reproduce:
> create a new email  communicationevent (myportal -> mycomms -> new email, go to web tools and replace the 'content' filed with the info below. Then go to communications and display the email: the content field is not displayed and produces the error in the log.
> The content of the communicationEvent content field as an example:
> Dear Hans, It was good seeing you at the Dutch Business Networking Event in Chiang Mai recently. I hope you are well. Just wanted to renew contact with you and invite you to join our super dynamic chamber. We have a very special package for the people with small companies in the North: Associate Membership from now until 31 December 2010 for 7,000 Baht + VAT (this represents a 30% discount off our normal rate and a 70% discount off the rate for Ordinary membership). If there is interest for events organised in Chiang Mai, we can organise it. For example we have recently done a very successful seminar with 888 tips on how Foreigners and Thai managers can work together more effectively. We'll be happy to bring this to you if there is enough participation. As for our regular program, please be invited to our first event, a Welcome Back Networking event where we expect more than 100 participants. In order to facilitate your planning, please find herewith the list of our major events until the end of the year. Now is a good moment to note all these dates and events in your diary: 13 August, 18.30 - 21.00 hrs: Welcome back cocktail sponsored by Air Berlin at the Old German Beerhouse, Sukhumvit Soi 11 (details attached) 15 August, all day: Embassy trip to Kanchanaburi. For more information, contact Tim Sparla at [hidden email] 27 August, 18.30 hrs: Dinner talk by Marc de Vries: Crisis management, How Vigilant Semiconductors went from super growth to almost bust to... Venue: Banyan Tree Hotel 3 September, 9.00 - 14.00 hrs: Visit to the Heineken Brewery 7-8 September: Embassy/NTCC mission to Vientiane 17 September: Dinner talk by Frank Clovyn: behind the scenes of a 5-star hotel. Landmark Hotel 1 October: Annual Award Dinner Gala dinner at the Grand Hyatt Erawan Hotel; keynote speaker: Finance Minister Khun Korn 8 October, 9.00 - 14.00 hrs: Visit to the new chocolate and bakery ingredients factory of Gallothai/Puratos 21 October, 18.30 hrs: Dinner talk with Jean-Pierre Verbiest, economist at the Asian Development Bank, with an outlook on the Thai and regional economy. Venue to be determined 17 November: Dinner talk: tbd 19 November: NTCC Golf Tournament 24-25 November: Embassy/NTCC mission to Cambodia Early December: Christmas networking cocktail at the Neilson Hayes Library with an exhibition by a Dutch and a Belgian artist In addition to all these events, we will have breakfast seminars and luncheon meetings and networking events in collaboration with other chambers (eg: Compensation survey, francophone networking .). You see, we'll keep you busy. Looking forward to your participation to many of our events. Bert Bert Cesar Executive Director Netherlands - Thai Chamber of Commerce B.B. Building, 19th Floor, Room 1909, 54 Asoke Road, Sukhumvit 21, Klongtoey Nue, Wattana, Bangkok 10110, THAILAND Tel: +66 2 260 7501 Fax: +66 2 260 7502 [hidden email] <http://www.ntccthailand.org/> www.ntccthailand.org/ <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="State"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="Street"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="address"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="country-region" downloadurl="http://www.5iantlavalamp.com/"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PostalCode"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City" downloadurl="<a href="http://www.5iamas-microsoft-com:office:smarttags">http://www.5iamas-microsoft-com:office:smarttags"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceType" downloadurl="http://www.5iantlavalamp.com/"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceName" downloadurl="http://www.5iantlavalamp.com/"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place" downloadurl="http://www.5iantlavalamp.com/"/> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle18 {mso-style-type:personal; font-family:Arial; color:navy;} span.EmailStyle19 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle20 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle21 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle22 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle23 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle24 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle25 {mso-style-type:personal-reply; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=EN-US link=blue vlink=purple> <div class=Section1> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Dear Hans,<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>It was good seeing you at the Dutch Business Networking Event in Chiang Mai recently. I hope you are well. Just wanted to renew contact with you and invite you to join our super dynamic chamber. We have a very special package for the people with small companies in the North: Associate Membership from now until 31 December 2010 for 7,000 Baht + VAT (this represents a 30% discount off our normal rate and a 70% discount off the rate for Ordinary membership). If there is interest for events organised in Chiang Mai, we can organise it. For example we have recently done a very successful seminar with 888 tips on how Foreigners and Thai managers can work together more effectively. We&#8217;ll be happy to bring this to you if there is enough participation.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>As for our regular program, please be invited to our first event, a Welcome Back Networking event where we expect more than 100 participants. In order to facilitate your planning, please find herewith the list of our major events until the end of the year. Now is a good moment to note all these dates and events in your diary:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>13 August, 18.30 &#8211; 21.00 hrs:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Welcome back cocktail sponsored by Air <st1:place w:st="on"><st1:State w:st="on">Berlin</st1:State></st1:place> at the Old German Beerhouse, Sukhumvit Soi 11 (details attached)<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>15 August, all day:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Embassy trip to Kanchanaburi. For more information, contact Tim Sparla at </span></font><font size=2 color=blue face=Arial><span lang=EN-GB style='font-size:10.0pt; font-family:Arial;color:blue'><a href="mailto:[hidden email]">[hidden email]</a></span></font><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt; font-family:Arial;color:navy'><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>27 August, 18.30 hrs:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Dinner talk by Marc de Vries: Crisis management, How Vigilant Semiconductors went from super growth to almost bust to...<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Venue: Banyan Tree Hotel<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>3 September, 9.00 &#8211; 14.00 hrs:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Visit to the Heineken Brewery<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>7-8 September:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Embassy/NTCC mission to <st1:place w:st="on"><st1:City w:st="on">Vientiane</st1:City></st1:place><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>17 September:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Dinner talk by Frank Clovyn: behind the scenes of a 5-star hotel. Landmark Hotel<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><b><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy;font-weight:bold'>1 October: Annual Award Dinner<o:p></o:p></span></font></b></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Gala dinner at the Grand Hyatt Erawan Hotel; keynote speaker: Finance Minister Khun Korn<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>8 October, 9.00 &#8211; 14.00 hrs:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Visit to the new chocolate and bakery ingredients factory of Gallothai/Puratos<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>21 October, 18.30 hrs:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Dinner talk with Jean-Pierre Verbiest, economist at the Asian Development Bank, with an outlook on the Thai and regional economy. Venue to be determined<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>17 November:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Dinner talk: tbd<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>19 November:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>NTCC Golf Tournament<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>24-25 November: <o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Embassy/NTCC mission to <st1:place w:st="on"><st1:country-region w:st="on">Cambodia</st1:country-region></st1:place><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Early December:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Christmas networking cocktail at the Neilson Hayes Library with an exhibition by a Dutch and a Belgian artist<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>In addition to all these events, we will have breakfast seminars and luncheon meetings and networking events in collaboration with other chambers (eg: Compensation survey, francophone networking &#8230;).<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>You see, we&#8217;ll keep you busy.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Looking forward to your participation to many of our events.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Bert<o:p></o:p></span></font></p> <p class=MsoNormal><font size=3 face=Arial><span lang=EN-GB style='font-size: 12.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=3 face=Arial><span lang=EN-GB style='font-size: 12.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=3 face=Arial><span lang=EN-GB style='font-size: 12.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal style='mso-margin-top-alt:5.0pt;margin-right:0in;margin-bottom: 5.0pt;margin-left:0in'><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Bert Cesar<br> Executive Director<br> <st1:place w:st="on"><st1:country-region w:st="on">Netherlands</st1:country-region></st1:place> - Thai Chamber of Commerce<br> <st1:place w:st="on"><st1:PlaceName w:st="on">B.B.</st1:PlaceName> <st1:PlaceType w:st="on">Building</st1:PlaceType></st1:place>, 19th Floor, Room 1909,<br> <st1:Street w:st="on"><st1:address w:st="on">54 Asoke Road</st1:address></st1:Street>, Sukhumvit 21,<br> Klongtoey Nue, Wattana,<br> <st1:place w:st="on"><st1:City w:st="on">Bangkok</st1:City> <st1:PostalCode w:st="on">10110</st1:PostalCode>, <st1:country-region w:st="on">THAILAND</st1:country-region></st1:place><br> Tel: +66 2 260 7501<br> Fax: +66 2 260 7502<br> <font color=blue><span style='color:blue'><a href="mailto:[hidden email]">[hidden email]</a><br> <a href="http://www.ntccthailand.org/"><font color=purple><span style='color:purple'>www.ntccthailand.org/</span></font></a><o:p></o:p></span></font></span></font></p> <p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p> </div> </body> </html>

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2823) large content field in commevent gives FTL macro error

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741744#action_12741744 ]

Jacopo Cappellato commented on OFBIZ-2823:
------------------------------------------

Hi Hans,

this should already be fixed by 803013, or are you saying that that commit didn't fix the problem?

Jacopo

> large content field in commevent gives FTL macro error
> ------------------------------------------------------
>
>                 Key: OFBIZ-2823
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2823
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>            Reporter: Hans Bakker
>            Assignee: Jacopo Cappellato
>            Priority: Minor
>
> when a large email comes in with a large content containing html the content field is not displayed and gives the following error in the log:
> 2009-08-11 13:25:17,285 (http-0.0.0.0-8443-2) [     RequestHandler.java:716:INFO ] Rendering View [ViewCommunicationEvent], sessionId=DF79413186CF5E972F8F746768EC0807.jvm1
> 2009-08-11 13:25:17,420 (http-0.0.0.0-8443-2) [      ScreenFactory.java:129:INFO ] Got 21 screens in 0.021s from: file:/home/hans/ofbiz/svn/applications/party/widget/partymgr/CommunicationEventScreens.xml
> 2009-08-11 13:25:17,502 (http-0.0.0.0-8443-2) [      ScreenFactory.java:129:INFO ] Got 13 screens in 0.014s from: file:/home/hans/ofbiz/svn/specialpurpose/myportal/widget/CommonScreens.xml
> 2009-08-11 13:25:18,461 (http-0.0.0.0-8443-2) [      ScreenFactory.java:129:INFO ] Got 1 screens in 0.721s from: file:/home/hans/ofbiz/svn/applications/commonext/widget/CommonScreens.xml
> 2009-08-11 13:25:18,554 (http-0.0.0.0-8443-2) [      ScreenFactory.java:129:INFO ] Got 22 screens in 0.016s from: file:/home/hans/ofbiz/svn/framework/common/widget/CommonScreens.xml
> 2009-08-11 13:25:18,955 (http-0.0.0.0-8443-2) [  MacroFormRenderer.java:132:ERROR]
> ---- exception report ----------------------------------------------------------
> Error rendering screen thru ftl
> Exception: freemarker.core.ParseException
> Message: Encountered ":" at line 1, column 3032 in Tue Aug 11 13:25:18 ICT 2009.
> Was expecting:
>     "=" ...
>    
> ---- stack trace ---------------------------------------------------------------
> freemarker.core.ParseException: Encountered ":" at line 1, column 3032 in Tue Aug 11 13:25:18 ICT 2009.
> Was expecting:
>     "=" ...
>    
> freemarker.core.FMParser.generateParseException(FMParser.java:4697)
> freemarker.core.FMParser.jj_consume_token(FMParser.java:4568)
> freemarker.core.FMParser.NamedArgs(FMParser.java:2045)
> freemarker.core.FMParser.UnifiedMacroTransform(FMParser.java:1904)
> freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2399)
> freemarker.core.FMParser.Content(FMParser.java:2618)
> freemarker.core.FMParser.OptionalBlock(FMParser.java:2786)
> freemarker.core.FMParser.Root(FMParser.java:2958)
> freemarker.template.Template.<init>(Template.java:149)
> freemarker.template.Template.<init>(Template.java:172)
> org.ofbiz.widget.form.MacroFormRenderer.executeMacro(MacroFormRenderer.java:120)
> org.ofbiz.widget.form.MacroFormRenderer.executeMacro(MacroFormRenderer.java:136)
> org.ofbiz.widget.form.MacroFormRenderer.renderDisplayField(MacroFormRenderer.java:305)
> org.ofbiz.widget.form.ModelFormField$DisplayField.renderFieldString(ModelFormField.java:2066)
> org.ofbiz.widget.form.ModelFormField.renderFieldString(ModelFormField.java:592)
> org.ofbiz.widget.form.ModelForm.renderSingleFormString(ModelForm.java:1028)
> org.ofbiz.widget.form.ModelForm.renderFormString(ModelForm.java:811)
> To reproduce:
> create a new email  communicationevent (myportal -> mycomms -> new email, go to web tools and replace the 'content' filed with the info below. Then go to communications and display the email: the content field is not displayed and produces the error in the log.
> The content of the communicationEvent content field as an example:
> Dear Hans, It was good seeing you at the Dutch Business Networking Event in Chiang Mai recently. I hope you are well. Just wanted to renew contact with you and invite you to join our super dynamic chamber. We have a very special package for the people with small companies in the North: Associate Membership from now until 31 December 2010 for 7,000 Baht + VAT (this represents a 30% discount off our normal rate and a 70% discount off the rate for Ordinary membership). If there is interest for events organised in Chiang Mai, we can organise it. For example we have recently done a very successful seminar with 888 tips on how Foreigners and Thai managers can work together more effectively. We'll be happy to bring this to you if there is enough participation. As for our regular program, please be invited to our first event, a Welcome Back Networking event where we expect more than 100 participants. In order to facilitate your planning, please find herewith the list of our major events until the end of the year. Now is a good moment to note all these dates and events in your diary: 13 August, 18.30 - 21.00 hrs: Welcome back cocktail sponsored by Air Berlin at the Old German Beerhouse, Sukhumvit Soi 11 (details attached) 15 August, all day: Embassy trip to Kanchanaburi. For more information, contact Tim Sparla at [hidden email] 27 August, 18.30 hrs: Dinner talk by Marc de Vries: Crisis management, How Vigilant Semiconductors went from super growth to almost bust to... Venue: Banyan Tree Hotel 3 September, 9.00 - 14.00 hrs: Visit to the Heineken Brewery 7-8 September: Embassy/NTCC mission to Vientiane 17 September: Dinner talk by Frank Clovyn: behind the scenes of a 5-star hotel. Landmark Hotel 1 October: Annual Award Dinner Gala dinner at the Grand Hyatt Erawan Hotel; keynote speaker: Finance Minister Khun Korn 8 October, 9.00 - 14.00 hrs: Visit to the new chocolate and bakery ingredients factory of Gallothai/Puratos 21 October, 18.30 hrs: Dinner talk with Jean-Pierre Verbiest, economist at the Asian Development Bank, with an outlook on the Thai and regional economy. Venue to be determined 17 November: Dinner talk: tbd 19 November: NTCC Golf Tournament 24-25 November: Embassy/NTCC mission to Cambodia Early December: Christmas networking cocktail at the Neilson Hayes Library with an exhibition by a Dutch and a Belgian artist In addition to all these events, we will have breakfast seminars and luncheon meetings and networking events in collaboration with other chambers (eg: Compensation survey, francophone networking .). You see, we'll keep you busy. Looking forward to your participation to many of our events. Bert Bert Cesar Executive Director Netherlands - Thai Chamber of Commerce B.B. Building, 19th Floor, Room 1909, 54 Asoke Road, Sukhumvit 21, Klongtoey Nue, Wattana, Bangkok 10110, THAILAND Tel: +66 2 260 7501 Fax: +66 2 260 7502 [hidden email] <http://www.ntccthailand.org/> www.ntccthailand.org/ <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="State"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="Street"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="address"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="country-region" downloadurl="http://www.5iantlavalamp.com/"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PostalCode"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City" downloadurl="<a href="http://www.5iamas-microsoft-com:office:smarttags">http://www.5iamas-microsoft-com:office:smarttags"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceType" downloadurl="http://www.5iantlavalamp.com/"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceName" downloadurl="http://www.5iantlavalamp.com/"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place" downloadurl="http://www.5iantlavalamp.com/"/> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle18 {mso-style-type:personal; font-family:Arial; color:navy;} span.EmailStyle19 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle20 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle21 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle22 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle23 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle24 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle25 {mso-style-type:personal-reply; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=EN-US link=blue vlink=purple> <div class=Section1> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Dear Hans,<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>It was good seeing you at the Dutch Business Networking Event in Chiang Mai recently. I hope you are well. Just wanted to renew contact with you and invite you to join our super dynamic chamber. We have a very special package for the people with small companies in the North: Associate Membership from now until 31 December 2010 for 7,000 Baht + VAT (this represents a 30% discount off our normal rate and a 70% discount off the rate for Ordinary membership). If there is interest for events organised in Chiang Mai, we can organise it. For example we have recently done a very successful seminar with 888 tips on how Foreigners and Thai managers can work together more effectively. We&#8217;ll be happy to bring this to you if there is enough participation.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>As for our regular program, please be invited to our first event, a Welcome Back Networking event where we expect more than 100 participants. In order to facilitate your planning, please find herewith the list of our major events until the end of the year. Now is a good moment to note all these dates and events in your diary:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>13 August, 18.30 &#8211; 21.00 hrs:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Welcome back cocktail sponsored by Air <st1:place w:st="on"><st1:State w:st="on">Berlin</st1:State></st1:place> at the Old German Beerhouse, Sukhumvit Soi 11 (details attached)<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>15 August, all day:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Embassy trip to Kanchanaburi. For more information, contact Tim Sparla at </span></font><font size=2 color=blue face=Arial><span lang=EN-GB style='font-size:10.0pt; font-family:Arial;color:blue'><a href="mailto:[hidden email]">[hidden email]</a></span></font><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt; font-family:Arial;color:navy'><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>27 August, 18.30 hrs:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Dinner talk by Marc de Vries: Crisis management, How Vigilant Semiconductors went from super growth to almost bust to...<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Venue: Banyan Tree Hotel<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>3 September, 9.00 &#8211; 14.00 hrs:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Visit to the Heineken Brewery<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>7-8 September:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Embassy/NTCC mission to <st1:place w:st="on"><st1:City w:st="on">Vientiane</st1:City></st1:place><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>17 September:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Dinner talk by Frank Clovyn: behind the scenes of a 5-star hotel. Landmark Hotel<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><b><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy;font-weight:bold'>1 October: Annual Award Dinner<o:p></o:p></span></font></b></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Gala dinner at the Grand Hyatt Erawan Hotel; keynote speaker: Finance Minister Khun Korn<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>8 October, 9.00 &#8211; 14.00 hrs:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Visit to the new chocolate and bakery ingredients factory of Gallothai/Puratos<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>21 October, 18.30 hrs:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Dinner talk with Jean-Pierre Verbiest, economist at the Asian Development Bank, with an outlook on the Thai and regional economy. Venue to be determined<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>17 November:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Dinner talk: tbd<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>19 November:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>NTCC Golf Tournament<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>24-25 November: <o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Embassy/NTCC mission to <st1:place w:st="on"><st1:country-region w:st="on">Cambodia</st1:country-region></st1:place><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Early December:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Christmas networking cocktail at the Neilson Hayes Library with an exhibition by a Dutch and a Belgian artist<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>In addition to all these events, we will have breakfast seminars and luncheon meetings and networking events in collaboration with other chambers (eg: Compensation survey, francophone networking &#8230;).<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>You see, we&#8217;ll keep you busy.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Looking forward to your participation to many of our events.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Bert<o:p></o:p></span></font></p> <p class=MsoNormal><font size=3 face=Arial><span lang=EN-GB style='font-size: 12.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=3 face=Arial><span lang=EN-GB style='font-size: 12.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=3 face=Arial><span lang=EN-GB style='font-size: 12.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal style='mso-margin-top-alt:5.0pt;margin-right:0in;margin-bottom: 5.0pt;margin-left:0in'><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Bert Cesar<br> Executive Director<br> <st1:place w:st="on"><st1:country-region w:st="on">Netherlands</st1:country-region></st1:place> - Thai Chamber of Commerce<br> <st1:place w:st="on"><st1:PlaceName w:st="on">B.B.</st1:PlaceName> <st1:PlaceType w:st="on">Building</st1:PlaceType></st1:place>, 19th Floor, Room 1909,<br> <st1:Street w:st="on"><st1:address w:st="on">54 Asoke Road</st1:address></st1:Street>, Sukhumvit 21,<br> Klongtoey Nue, Wattana,<br> <st1:place w:st="on"><st1:City w:st="on">Bangkok</st1:City> <st1:PostalCode w:st="on">10110</st1:PostalCode>, <st1:country-region w:st="on">THAILAND</st1:country-region></st1:place><br> Tel: +66 2 260 7501<br> Fax: +66 2 260 7502<br> <font color=blue><span style='color:blue'><a href="mailto:[hidden email]">[hidden email]</a><br> <a href="http://www.ntccthailand.org/"><font color=purple><span style='color:purple'>www.ntccthailand.org/</span></font></a><o:p></o:p></span></font></span></font></p> <p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p> </div> </body> </html>

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2823) large content field in commevent gives FTL macro error

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741751#action_12741751 ]

Hans Bakker commented on OFBIZ-2823:
------------------------------------

thank for the quick response...also the last comment is working now.

> large content field in commevent gives FTL macro error
> ------------------------------------------------------
>
>                 Key: OFBIZ-2823
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2823
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>            Reporter: Hans Bakker
>            Assignee: Jacopo Cappellato
>            Priority: Minor
>
> when a large email comes in with a large content containing html the content field is not displayed and gives the following error in the log:
> 2009-08-11 13:25:17,285 (http-0.0.0.0-8443-2) [     RequestHandler.java:716:INFO ] Rendering View [ViewCommunicationEvent], sessionId=DF79413186CF5E972F8F746768EC0807.jvm1
> 2009-08-11 13:25:17,420 (http-0.0.0.0-8443-2) [      ScreenFactory.java:129:INFO ] Got 21 screens in 0.021s from: file:/home/hans/ofbiz/svn/applications/party/widget/partymgr/CommunicationEventScreens.xml
> 2009-08-11 13:25:17,502 (http-0.0.0.0-8443-2) [      ScreenFactory.java:129:INFO ] Got 13 screens in 0.014s from: file:/home/hans/ofbiz/svn/specialpurpose/myportal/widget/CommonScreens.xml
> 2009-08-11 13:25:18,461 (http-0.0.0.0-8443-2) [      ScreenFactory.java:129:INFO ] Got 1 screens in 0.721s from: file:/home/hans/ofbiz/svn/applications/commonext/widget/CommonScreens.xml
> 2009-08-11 13:25:18,554 (http-0.0.0.0-8443-2) [      ScreenFactory.java:129:INFO ] Got 22 screens in 0.016s from: file:/home/hans/ofbiz/svn/framework/common/widget/CommonScreens.xml
> 2009-08-11 13:25:18,955 (http-0.0.0.0-8443-2) [  MacroFormRenderer.java:132:ERROR]
> ---- exception report ----------------------------------------------------------
> Error rendering screen thru ftl
> Exception: freemarker.core.ParseException
> Message: Encountered ":" at line 1, column 3032 in Tue Aug 11 13:25:18 ICT 2009.
> Was expecting:
>     "=" ...
>    
> ---- stack trace ---------------------------------------------------------------
> freemarker.core.ParseException: Encountered ":" at line 1, column 3032 in Tue Aug 11 13:25:18 ICT 2009.
> Was expecting:
>     "=" ...
>    
> freemarker.core.FMParser.generateParseException(FMParser.java:4697)
> freemarker.core.FMParser.jj_consume_token(FMParser.java:4568)
> freemarker.core.FMParser.NamedArgs(FMParser.java:2045)
> freemarker.core.FMParser.UnifiedMacroTransform(FMParser.java:1904)
> freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2399)
> freemarker.core.FMParser.Content(FMParser.java:2618)
> freemarker.core.FMParser.OptionalBlock(FMParser.java:2786)
> freemarker.core.FMParser.Root(FMParser.java:2958)
> freemarker.template.Template.<init>(Template.java:149)
> freemarker.template.Template.<init>(Template.java:172)
> org.ofbiz.widget.form.MacroFormRenderer.executeMacro(MacroFormRenderer.java:120)
> org.ofbiz.widget.form.MacroFormRenderer.executeMacro(MacroFormRenderer.java:136)
> org.ofbiz.widget.form.MacroFormRenderer.renderDisplayField(MacroFormRenderer.java:305)
> org.ofbiz.widget.form.ModelFormField$DisplayField.renderFieldString(ModelFormField.java:2066)
> org.ofbiz.widget.form.ModelFormField.renderFieldString(ModelFormField.java:592)
> org.ofbiz.widget.form.ModelForm.renderSingleFormString(ModelForm.java:1028)
> org.ofbiz.widget.form.ModelForm.renderFormString(ModelForm.java:811)
> To reproduce:
> create a new email  communicationevent (myportal -> mycomms -> new email, go to web tools and replace the 'content' filed with the info below. Then go to communications and display the email: the content field is not displayed and produces the error in the log.
> The content of the communicationEvent content field as an example:
> Dear Hans, It was good seeing you at the Dutch Business Networking Event in Chiang Mai recently. I hope you are well. Just wanted to renew contact with you and invite you to join our super dynamic chamber. We have a very special package for the people with small companies in the North: Associate Membership from now until 31 December 2010 for 7,000 Baht + VAT (this represents a 30% discount off our normal rate and a 70% discount off the rate for Ordinary membership). If there is interest for events organised in Chiang Mai, we can organise it. For example we have recently done a very successful seminar with 888 tips on how Foreigners and Thai managers can work together more effectively. We'll be happy to bring this to you if there is enough participation. As for our regular program, please be invited to our first event, a Welcome Back Networking event where we expect more than 100 participants. In order to facilitate your planning, please find herewith the list of our major events until the end of the year. Now is a good moment to note all these dates and events in your diary: 13 August, 18.30 - 21.00 hrs: Welcome back cocktail sponsored by Air Berlin at the Old German Beerhouse, Sukhumvit Soi 11 (details attached) 15 August, all day: Embassy trip to Kanchanaburi. For more information, contact Tim Sparla at [hidden email] 27 August, 18.30 hrs: Dinner talk by Marc de Vries: Crisis management, How Vigilant Semiconductors went from super growth to almost bust to... Venue: Banyan Tree Hotel 3 September, 9.00 - 14.00 hrs: Visit to the Heineken Brewery 7-8 September: Embassy/NTCC mission to Vientiane 17 September: Dinner talk by Frank Clovyn: behind the scenes of a 5-star hotel. Landmark Hotel 1 October: Annual Award Dinner Gala dinner at the Grand Hyatt Erawan Hotel; keynote speaker: Finance Minister Khun Korn 8 October, 9.00 - 14.00 hrs: Visit to the new chocolate and bakery ingredients factory of Gallothai/Puratos 21 October, 18.30 hrs: Dinner talk with Jean-Pierre Verbiest, economist at the Asian Development Bank, with an outlook on the Thai and regional economy. Venue to be determined 17 November: Dinner talk: tbd 19 November: NTCC Golf Tournament 24-25 November: Embassy/NTCC mission to Cambodia Early December: Christmas networking cocktail at the Neilson Hayes Library with an exhibition by a Dutch and a Belgian artist In addition to all these events, we will have breakfast seminars and luncheon meetings and networking events in collaboration with other chambers (eg: Compensation survey, francophone networking .). You see, we'll keep you busy. Looking forward to your participation to many of our events. Bert Bert Cesar Executive Director Netherlands - Thai Chamber of Commerce B.B. Building, 19th Floor, Room 1909, 54 Asoke Road, Sukhumvit 21, Klongtoey Nue, Wattana, Bangkok 10110, THAILAND Tel: +66 2 260 7501 Fax: +66 2 260 7502 [hidden email] <http://www.ntccthailand.org/> www.ntccthailand.org/ <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="State"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="Street"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="address"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="country-region" downloadurl="http://www.5iantlavalamp.com/"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PostalCode"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City" downloadurl="<a href="http://www.5iamas-microsoft-com:office:smarttags">http://www.5iamas-microsoft-com:office:smarttags"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceType" downloadurl="http://www.5iantlavalamp.com/"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceName" downloadurl="http://www.5iantlavalamp.com/"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place" downloadurl="http://www.5iantlavalamp.com/"/> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle18 {mso-style-type:personal; font-family:Arial; color:navy;} span.EmailStyle19 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle20 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle21 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle22 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle23 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle24 {mso-style-type:personal; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} span.EmailStyle25 {mso-style-type:personal-reply; font-family:Arial; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=EN-US link=blue vlink=purple> <div class=Section1> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Dear Hans,<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>It was good seeing you at the Dutch Business Networking Event in Chiang Mai recently. I hope you are well. Just wanted to renew contact with you and invite you to join our super dynamic chamber. We have a very special package for the people with small companies in the North: Associate Membership from now until 31 December 2010 for 7,000 Baht + VAT (this represents a 30% discount off our normal rate and a 70% discount off the rate for Ordinary membership). If there is interest for events organised in Chiang Mai, we can organise it. For example we have recently done a very successful seminar with 888 tips on how Foreigners and Thai managers can work together more effectively. We&#8217;ll be happy to bring this to you if there is enough participation.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>As for our regular program, please be invited to our first event, a Welcome Back Networking event where we expect more than 100 participants. In order to facilitate your planning, please find herewith the list of our major events until the end of the year. Now is a good moment to note all these dates and events in your diary:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>13 August, 18.30 &#8211; 21.00 hrs:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Welcome back cocktail sponsored by Air <st1:place w:st="on"><st1:State w:st="on">Berlin</st1:State></st1:place> at the Old German Beerhouse, Sukhumvit Soi 11 (details attached)<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>15 August, all day:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Embassy trip to Kanchanaburi. For more information, contact Tim Sparla at </span></font><font size=2 color=blue face=Arial><span lang=EN-GB style='font-size:10.0pt; font-family:Arial;color:blue'><a href="mailto:[hidden email]">[hidden email]</a></span></font><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt; font-family:Arial;color:navy'><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>27 August, 18.30 hrs:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Dinner talk by Marc de Vries: Crisis management, How Vigilant Semiconductors went from super growth to almost bust to...<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Venue: Banyan Tree Hotel<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>3 September, 9.00 &#8211; 14.00 hrs:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Visit to the Heineken Brewery<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>7-8 September:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Embassy/NTCC mission to <st1:place w:st="on"><st1:City w:st="on">Vientiane</st1:City></st1:place><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>17 September:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Dinner talk by Frank Clovyn: behind the scenes of a 5-star hotel. Landmark Hotel<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><b><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy;font-weight:bold'>1 October: Annual Award Dinner<o:p></o:p></span></font></b></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Gala dinner at the Grand Hyatt Erawan Hotel; keynote speaker: Finance Minister Khun Korn<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>8 October, 9.00 &#8211; 14.00 hrs:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Visit to the new chocolate and bakery ingredients factory of Gallothai/Puratos<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>21 October, 18.30 hrs:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Dinner talk with Jean-Pierre Verbiest, economist at the Asian Development Bank, with an outlook on the Thai and regional economy. Venue to be determined<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>17 November:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Dinner talk: tbd<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>19 November:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>NTCC Golf Tournament<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>24-25 November: <o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Embassy/NTCC mission to <st1:place w:st="on"><st1:country-region w:st="on">Cambodia</st1:country-region></st1:place><o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Early December:<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Christmas networking cocktail at the Neilson Hayes Library with an exhibition by a Dutch and a Belgian artist<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>In addition to all these events, we will have breakfast seminars and luncheon meetings and networking events in collaboration with other chambers (eg: Compensation survey, francophone networking &#8230;).<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>You see, we&#8217;ll keep you busy.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Looking forward to your participation to many of our events.<o:p></o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:11.0pt;font-family:Arial;color:navy'>Bert<o:p></o:p></span></font></p> <p class=MsoNormal><font size=3 face=Arial><span lang=EN-GB style='font-size: 12.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=3 face=Arial><span lang=EN-GB style='font-size: 12.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal><font size=3 face=Arial><span lang=EN-GB style='font-size: 12.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoNormal style='mso-margin-top-alt:5.0pt;margin-right:0in;margin-bottom: 5.0pt;margin-left:0in'><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Bert Cesar<br> Executive Director<br> <st1:place w:st="on"><st1:country-region w:st="on">Netherlands</st1:country-region></st1:place> - Thai Chamber of Commerce<br> <st1:place w:st="on"><st1:PlaceName w:st="on">B.B.</st1:PlaceName> <st1:PlaceType w:st="on">Building</st1:PlaceType></st1:place>, 19th Floor, Room 1909,<br> <st1:Street w:st="on"><st1:address w:st="on">54 Asoke Road</st1:address></st1:Street>, Sukhumvit 21,<br> Klongtoey Nue, Wattana,<br> <st1:place w:st="on"><st1:City w:st="on">Bangkok</st1:City> <st1:PostalCode w:st="on">10110</st1:PostalCode>, <st1:country-region w:st="on">THAILAND</st1:country-region></st1:place><br> Tel: +66 2 260 7501<br> Fax: +66 2 260 7502<br> <font color=blue><span style='color:blue'><a href="mailto:[hidden email]">[hidden email]</a><br> <a href="http://www.ntccthailand.org/"><font color=purple><span style='color:purple'>www.ntccthailand.org/</span></font></a><o:p></o:p></span></font></span></font></p> <p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p> </div> </body> </html>

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.