<?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> <string encoding="base64">O/INCg==</string> </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>from Products.Formulator.Errors import ValidationError, FormValidationError\n
\n
request=context.REQUEST\n
\n
try:\n
  # Validate the form\n
  context.Organisation_view.validate_all_to_request(request)\n
  context.edit(id=request.my_id\n
             , title=request.my_title\n
             , corporate_name = request.my_corporate_name\n
      , description = request.my_description)\n
except FormValidationError, validation_errors:\n
  # Pack errors into the request\n
  field_errors = context.Organisation_view.ErrorFields(validation_errors)\n
  request.set(\'field_errors\', field_errors)\n
  return context.Organisation_view(request)\n
else:\n
  redirect_url = \'%s/Organisation_view?%s\' % ( context.absolute_url()\n
                                  , \'portal_status_message=Data+Updated.\'\n
                                  )\n
\n
request[ \'RESPONSE\' ].redirect( redirect_url )\n
</string> </value>
        </item>
        <item>
            <key> <string>_code</string> </key>
            <value> <string encoding="base64">YwAAAAAAAAAAAQAAAEAAAABzDQAAAGQBAIQAAFoAAGQAAFMoAgAAAE5jAAAAAAoAAAAOAAAAQwAA
AHMpAQAAZAEAawAAbAEAfQEAbAIAfQIAAXQDAHQEAGQCAIMCAH0FAHlsAHQDAHQDAHQEAGQDAIMC
AGQEAIMCAHwFAIMBAAF0AwB0BABkBQCDAgBkBgB0AwB8BQBkBwCDAgBkCAB0AwB8BQBkCQCDAgBk
CgB0AwB8BQBkCwCDAgBkDAB0AwB8BQBkDQCDAgCDAAQBV25cAAR8AgBqCgBvUAABAX0GAAF0AwB0
AwB0BABkAwCDAgBkDgCDAgB8BgCDAQB9BwB0AwB8BQBkDwCDAgBkEAB8BwCDAgABdAMAdAQAZAMA
gwIAfAUAgwEAU24eAAFYZBEAdAMAdAQAZBIAgwIAgwAAZBMAZgIAFn0IAHQDAHQJAHwFAGQUAIMC
AGQVAIMCAHwIAIMBAAFkAABTKBYAAABOKAIAAABzDwAAAFZhbGlkYXRpb25FcnJvcnMTAAAARm9y
bVZhbGlkYXRpb25FcnJvcnMHAAAAUkVRVUVTVHMRAAAAT3JnYW5pc2F0aW9uX3ZpZXdzFwAAAHZh
bGlkYXRlX2FsbF90b19yZXF1ZXN0cwQAAABlZGl0cwIAAABpZHMFAAAAbXlfaWRzBQAAAHRpdGxl
cwgAAABteV90aXRsZXMOAAAAY29ycG9yYXRlX25hbWVzEQAAAG15X2NvcnBvcmF0ZV9uYW1lcwsA
AABkZXNjcmlwdGlvbnMOAAAAbXlfZGVzY3JpcHRpb25zCwAAAEVycm9yRmllbGRzcwMAAABzZXRz
DAAAAGZpZWxkX2Vycm9yc3MXAAAAJXMvT3JnYW5pc2F0aW9uX3ZpZXc/JXNzDAAAAGFic29sdXRl
X3VybHMjAAAAcG9ydGFsX3N0YXR1c19tZXNzYWdlPURhdGErVXBkYXRlZC5zCAAAAFJFU1BPTlNF
cwgAAAByZWRpcmVjdCgKAAAAcxoAAABQcm9kdWN0cy5Gb3JtdWxhdG9yLkVycm9yc3MPAAAAVmFs
aWRhdGlvbkVycm9ycxMAAABGb3JtVmFsaWRhdGlvbkVycm9ycwkAAABfZ2V0YXR0cl9zBwAAAGNv
bnRleHRzBwAAAHJlcXVlc3RzEQAAAHZhbGlkYXRpb25fZXJyb3JzcwwAAABmaWVsZF9lcnJvcnNz
DAAAAHJlZGlyZWN0X3VybHMJAAAAX2dldGl0ZW1fKAoAAABzGgAAAFByb2R1Y3RzLkZvcm11bGF0
b3IuRXJyb3Jzcw8AAABWYWxpZGF0aW9uRXJyb3JzEwAAAEZvcm1WYWxpZGF0aW9uRXJyb3JzCQAA
AF9nZXRhdHRyX3MHAAAAY29udGV4dHMHAAAAcmVxdWVzdHMRAAAAdmFsaWRhdGlvbl9lcnJvcnNz
DAAAAGZpZWxkX2Vycm9yc3MMAAAAcmVkaXJlY3RfdXJscwkAAABfZ2V0aXRlbV8oAAAAACgAAAAA
cw8AAABTY3JpcHQgKFB5dGhvbilzEQAAAE9yZ2FuaXNhdGlvbl9lZGl0AQAAAHMaAAAAEwIPAgkC
GQEeAQ8BDwERARACIQETARgCIgQoAQAAAHMRAAAAT3JnYW5pc2F0aW9uX2VkaXQoAQAAAHMRAAAA
T3JnYW5pc2F0aW9uX2VkaXQoAAAAACgAAAAAcw8AAABTY3JpcHQgKFB5dGhvbilzCAAAADxtb2R1
bGU+AQAAAHMAAAAA</string> </value>
        </item>
        <item>
            <key> <string>_dav_writelocks</string> </key>
            <value>
              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
            </value>
        </item>
        <item>
            <key> <string>_filepath</string> </key>
            <value> <string>Script (Python):/nexedi/portal_skins/erp5_core/Organisation_edit</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>Products.Formulator.Errors</string>
                            <string>ValidationError</string>
                            <string>FormValidationError</string>
                            <string>_getattr_</string>
<string>context</string>
                            <string>request</string>
                            <string>validation_errors</string>
                            <string>field_errors</string>
                            <string>redirect_url</string>
                            <string>_getitem_</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>Organisation_edit</string> </value>
        </item>
        <item>
            <key> <string>warnings</string> </key>
            <value>
              <tuple/>
            </value>
        </item>
      </dictionary>
    </pickle>
  </record>
  <record id="2" aka="AAAAAAAAAAI=">
    <pickle>
      <tuple>
        <tuple>
          <string>Persistence</string>
          <string>PersistentMapping</string>
        </tuple>
        <none/>
      </tuple>
    </pickle>
    <pickle>
      <dictionary>
        <item>
            <key> <string>_container</string> </key>
            <value>
              <dictionary/>
            </value>
        </item>
      </dictionary>
    </pickle>
  </record>
</ZopeData>
