[Erp5-report] r27884 - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateItem/p...
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Jul 3 06:51:02 CEST 2009
Author: kazuhiko
Date: Fri Jul 3 06:51:01 2009
New Revision: 27884
URL: http://svn.erp5.org?rev=27884&view=rev
Log:
use StringField instead of TextAreaField for BusinessTemplate_viewObjectsDiff/diffview, otherwise the value is not escaped.
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_viewObjectsDiff/diffview.xml
erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_viewObjectsDiff/diffview.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_viewObjectsDiff/diffview.xml?rev=27884&r1=27883&r2=27884&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_viewObjectsDiff/diffview.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_viewObjectsDiff/diffview.xml [utf8] Fri Jul 3 06:51:01 2009
@@ -3,7 +3,7 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
- <global name="TextAreaField" module="Products.Formulator.StandardFields"/>
+ <global name="StringField" module="Products.Formulator.StandardFields"/>
<tuple/>
</tuple>
</pickle>
@@ -22,20 +22,12 @@
<value> <string>The input failed the external validator.</string> </value>
</item>
<item>
- <key> <string>line_too_long</string> </key>
- <value> <string>A line was too long.</string> </value>
- </item>
- <item>
<key> <string>required_not_found</string> </key>
<value> <string>Input is required but no input given.</string> </value>
</item>
<item>
<key> <string>too_long</string> </key>
- <value> <string>You entered too many characters.</string> </value>
- </item>
- <item>
- <key> <string>too_many_lines</string> </key>
- <value> <string>You entered too many lines.</string> </value>
+ <value> <string>Too much input was given.</string> </value>
</item>
</dictionary>
</value>
@@ -61,6 +53,14 @@
<value> <string></string> </value>
</item>
<item>
+ <key> <string>display_maxwidth</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>display_width</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
@@ -77,10 +77,6 @@
<value> <string></string> </value>
</item>
<item>
- <key> <string>height</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
@@ -89,14 +85,6 @@
<value> <string></string> </value>
</item>
<item>
- <key> <string>max_linelength</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>max_lines</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
@@ -105,15 +93,15 @@
<value> <string></string> </value>
</item>
<item>
+ <key> <string>truncate</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
<key> <string>unicode</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>width</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
@@ -142,6 +130,14 @@
<value> <string></string> </value>
</item>
<item>
+ <key> <string>display_maxwidth</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>display_width</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
@@ -158,10 +154,6 @@
<value> <string></string> </value>
</item>
<item>
- <key> <string>height</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
@@ -170,14 +162,6 @@
<value> <string></string> </value>
</item>
<item>
- <key> <string>max_linelength</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>max_lines</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
@@ -186,15 +170,15 @@
<value> <string></string> </value>
</item>
<item>
+ <key> <string>truncate</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
<key> <string>unicode</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>width</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
@@ -221,6 +205,14 @@
<value> <string></string> </value>
</item>
<item>
+ <key> <string>display_maxwidth</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>display_width</string> </key>
+ <value> <int>20</int> </value>
+ </item>
+ <item>
<key> <string>editable</string> </key>
<value> <int>0</int> </value>
</item>
@@ -237,23 +229,11 @@
<value> <string></string> </value>
</item>
<item>
- <key> <string>height</string> </key>
- <value> <int>30</int> </value>
- </item>
- <item>
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>max_length</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>max_linelength</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>max_lines</string> </key>
<value> <string></string> </value>
</item>
<item>
@@ -265,16 +245,16 @@
<value> <string>Diff</string> </value>
</item>
<item>
+ <key> <string>truncate</string> </key>
+ <value> <int>0</int> </value>
+ </item>
+ <item>
<key> <string>unicode</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <int>0</int> </value>
- </item>
- <item>
- <key> <string>width</string> </key>
- <value> <int>150</int> </value>
</item>
</dictionary>
</value>
@@ -285,18 +265,15 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
- <tuple>
- <string>Products.Formulator.TALESField</string>
- <string>TALESMethod</string>
- </tuple>
- <none/>
+ <global name="TALESMethod" module="Products.Formulator.TALESField"/>
+ <tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
- <value> <string>python: here.diffObject(request)</string> </value>
+ <value> <string>python:here.diffObject(request)</string> </value>
</item>
</dictionary>
</pickle>
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=27884&r1=27883&r2=27884&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] Fri Jul 3 06:51:01 2009
@@ -1,1 +1,1 @@
-1246
+1247
More information about the Erp5-report
mailing list