Commit e6b2e989 authored by Vincent Pelletier's avatar Vincent Pelletier

Add 2 dummy files to prevent listbox from getting 404 error when trying to...

Add 2 dummy files to prevent listbox from getting 404 error when trying to recover images which doesn't exist in xhtml style (because not needed).
Remove modified error message rendering script : should not have been commited before performance improvement has been tested.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10061 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7524d031
......@@ -4,14 +4,24 @@
<pickle>
<tuple>
<tuple>
<string>Products.PageTemplates.ZopePageTemplate</string>
<string>ZopePageTemplate</string>
<string>Products.PythonScripts.PythonScript</string>
<string>PythonScript</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Python_magic</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
......@@ -32,6 +42,18 @@
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
......@@ -44,6 +66,23 @@
</object>
</value>
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>return None\n
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_filepath</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
......@@ -51,75 +90,57 @@
</value>
</item>
<item>
<key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[
<html>\n
<head>\n
<title tal:content="template/title">Error</title>\n
</head>\n
<body>\n
<div tal:condition="options/error_message"\n
tal:content="structure options/error_message" />\n
<div tal:condition="not: options/error_message">\n
<h2 i18n:translate="">Site Error</h2>\n
<p i18n:translate="">An error was encountered while publishing this resource.</p>\n
<p>\n
<strong i18n:translate="">\n
Error Type:\n
<span tal:replace="options/error_type" i18n:name="error_type" />\n
</strong>\n
<br />\n
<strong i18n:translate="">\n
Error Value:\n
<span tal:replace="options/error_value" i18n:name="error_value" />\n
</strong>\n
<br />\n
</p>\n
<hr noshade="noshade" />\n
<p i18n:translate="">Troubleshooting Suggestions</p>\n
<div tal:condition="python: options[\'error_type\'] in (\'KeyError\', \'NameError\')">\n
<ul>\n
<li i18n:translate="">This resource may be trying to reference a nonexistent object or variable\n
<strong>\n
<span tal:replace="options/error_value"\n
i18n:name="error_value" />\n
</strong>.\n
</li>\n
<li i18n:translate="">The URL may be incorrect.</li>\n
<li i18n:translate="">The parameters passed to this resource may be incorrect.</li>\n
<li i18n:translate="">A resource that this resource relies on may be encountering an error.</li>\n
</ul>\n
</div>\n
<p i18n:translate="">For more detailed information about the error, please refer to the HTML source for this page.</p>\n
<p i18n:translate="">If the error persists please contact the site maintainer. Thank you for your patience.</p>\n
</div>\n
<div tal:condition="options/error_log_url | nothing">\n
<hr noshade="noshade" />\n
<a tal:attributes="href options/error_log_url"\n
i18n:translate="">Show Error Log Entry</a>\n
</div>\n
</body>\n
</html>\n
]]></string> </value>
<key> <string>_params</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
<key> <string>errors</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>func_code</string> </key>
<value>
<object>
<klass>
<global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>None</string>
</tuple>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>expand</string> </key>
<value> <int>0</int> </value>
<key> <string>func_defaults</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>standard_error_message</string> </value>
<value> <string>Left.png</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PythonScripts.PythonScript</string>
<string>PythonScript</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Python_magic</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>return None\n
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_filepath</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>errors</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>func_code</string> </key>
<value>
<object>
<klass>
<global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>None</string>
</tuple>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>func_defaults</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>spacer.png</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
191
\ No newline at end of file
193
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment