[Erp5-report] r44666 luke - in /erp5/trunk/bt5/vifib_base: PropertySheetTemplateItem/ Prope...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Mar 28 14:49:47 CEST 2011


Author: luke
Date: Mon Mar 28 14:49:47 2011
New Revision: 44666

URL: http://svn.erp5.org?rev=44666&view=rev
Log:
- Property Sheet migrated to ZODB

Added:
    erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/
    erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstance/
    erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstance.xml
    erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstance/connection_xml_property.xml
    erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstance/ssl_certificate_property.xml
    erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstance/ssl_key_property.xml
    erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/
    erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint.xml
    erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/destination_reference_property_existence_constraint.xml
    erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/property_existence_constraint.xml
    erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/reference_property_existence_constraint.xml
    erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/ssl_certificate_constraint.xml
    erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/ssl_key_constraint.xml
    erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/text_content_existence_constraint.xml
    erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/
    erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint.xml
    erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/sale_packing_list_line_aggregate_computer_partition_constraint.xml
    erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/sale_packing_list_line_aggregate_hosting_subscription_constraint.xml
    erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/sale_packing_list_line_aggregate_software_instance_constraint.xml
    erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/sale_packing_list_line_aggregate_software_release_constraint.xml
Removed:
    erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/SoftwareInstance.py
    erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/SoftwareInstanceConstraint.py
    erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/VifibSalePackingListLineConstraint.py
Modified:
    erp5/trunk/bt5/vifib_base/bt/revision

Removed: erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/SoftwareInstance.py
URL: http://svn.erp5.org/erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/SoftwareInstance.py?rev=44665&view=auto
==============================================================================
--- erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/SoftwareInstance.py [utf8] (original)
+++ erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/SoftwareInstance.py (removed)
@@ -1,49 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2010 Nexedi SA and Contributors. All Rights Reserved.
-#               Lukasz Nowak <luke at nexedi.com>
-#
-# WARNING: This program as such is intended to be used by professional
-# programmers who take the whole responsibility of assessing all potential
-# consequences resulting from its eventual inadequacies and bugs
-# End users who are looking for a ready-to-use solution with commercial
-# guarantees and support are strongly adviced to contract a Free Software
-# Service Company
-#
-# This program is Free Software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-##############################################################################
-
-class SoftwareInstance:
-  """
-      SoftwareInstance properties for all ERP5 objects
-  """
-
-  _properties = (
-      {   'id'          : 'connection_xml',
-          'description' : 'XML representing connection parameters',
-          'type'        : 'text',
-          'mode'        : 'w' },
-      {   'id'          : 'ssl_key',
-          'description' : 'Raw representation of related SSL key',
-          'type'        : 'text',
-          'mode'        : 'w' },
-      {   'id'          : 'ssl_certificate',
-          'description' : 'Raw representation of related SSL certificate',
-          'type'        : 'text',
-          'mode'        : 'w' },
-  )
-
-

Removed: erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/SoftwareInstanceConstraint.py
URL: http://svn.erp5.org/erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/SoftwareInstanceConstraint.py?rev=44665&view=auto
==============================================================================
--- erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/SoftwareInstanceConstraint.py [utf8] (original)
+++ erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/SoftwareInstanceConstraint.py (removed)
@@ -1,79 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2010 Nexedi SA and Contributors. All Rights Reserved
-#                    Lukasz Nowak <luke at nexedi.com>
-#
-# WARNING: This program as such is intended to be used by professional
-# programmers who take the whole responsability of assessing all potential
-# consequences resulting from its eventual inadequacies and bugs
-# End users who are looking for a ready-to-use solution with commercial
-# garantees and support are strongly adviced to contract a Free Software
-# Service Company
-#
-# This program is Free Software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-#
-##############################################################################
-
-class SoftwareInstanceConstraint:
-  """Constraints for Software Instance"""
-  _constraints = (
-    { 'id'            : 'text_content_existence',
-      'description'   : 'Property text content must be defined',
-      'type'          : 'PropertyExistence',
-      'text_content'  : None,
-      "message_property_not_set" : 'XML must be set',
-      "message_no_such_property" : 'XML must be set'
-    },
-    { 'id'            : 'reference_property_existence',
-      'description'   : 'Property reference must be defined',
-      'type'          : 'PropertyExistence',
-      'reference'     : None,
-      "message_property_not_set" : 'Reference must be set',
-      "message_no_such_property" : 'Reference must be set'
-    },
-    { 'id'            : 'property_existence',
-      'description'   : 'Property source reference must be defined',
-      'type'          : 'PropertyExistence',
-      'source_reference'     : None,
-      "message_property_not_set" : 'Source Reference must be set',
-      "message_no_such_property" : 'Source Reference must be set'
-    },
-    { 'id'            : 'destination_reference_property_existence',
-      'description'   : 'Property destination reference must be defined',
-      'type'          : 'PropertyExistence',
-      'destination_reference'     : None,
-      "message_property_not_set" : 'Destination Reference must be set',
-      "message_no_such_property" : 'Destination Reference must be set'
-    },
-    { 'id'            : 'ssl_key',
-      'description'   : 'Property SSL Key must be defined',
-      'type'          : 'PropertyExistence',
-      'ssl_key'     : None,
-      "message_property_not_set" : 'SSL Key must be set',
-      "message_no_such_property" : 'SSL Key must be set'
-    },
-    { 'id'            : 'ssl_certificate',
-      'description'   : 'Property SSL Certificate must be defined',
-      'type'          : 'PropertyExistence',
-      'ssl_certificate'     : None,
-      "message_property_not_set" : 'SSL Certificate must be set',
-      "message_no_such_property" : 'SSL Certificate must be set'
-    },
-    { 'id'            : 'text_content_validation',
-      'description'   : 'Property text content must be valid against Softwa'\
-                        're Instance XSD',
-      'type'          : 'SoftwareInstanceXmlValidationConstraint',
-    },
-  )

Removed: erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/VifibSalePackingListLineConstraint.py
URL: http://svn.erp5.org/erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/VifibSalePackingListLineConstraint.py?rev=44665&view=auto
==============================================================================
--- erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/VifibSalePackingListLineConstraint.py [utf8] (original)
+++ erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/VifibSalePackingListLineConstraint.py (removed)
@@ -1,73 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2002-2010 Nexedi SA and Contributors. All Rights Reserved.
-#                    Lukasz Nowak <luke at nexedi.com>
-#
-# WARNING: This program as such is intended to be used by professional
-# programmers who take the whole responsibility of assessing all potential
-# consequences resulting from its eventual inadequacies and bugs
-# End users who are looking for a ready-to-use solution with commercial
-# guarantees and support are strongly adviced to contract a Free Software
-# Service Company
-#
-# This program is Free Software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-##############################################################################
-
-message = 'There should be exactly one ${portal_type} present in Items'
-class VifibSalePackingListLineConstraint:
-  """Constraints for Sale Packing List Line in Vifib"""
-  _constraints = (
-    { 'id'            : 'sale_packing_list_line_aggregate_computer_partition',
-      'condition'     : 'python: object.getResourceValue() is not None and object.getResource() in [object.portal_preferences.getPreferredInstanceSetupResource(), object.portal_preferences.getPreferredInstanceHostingResource(), object.portal_preferences.getPreferredInstanceCleanupResource()]',
-      'type'          : 'CategoryMembershipArity',
-      'min_arity'     : '1',
-      'max_arity'     : '1',
-      'portal_type'   : ('Computer Partition', 'Slave Partition'),
-      'base_category' : ('aggregate'),
-      'message_arity_with_portal_type_too_small': message,
-      'message_arity_with_portal_type_not_in_range': message,
-    },
-    { 'id'            : 'sale_packing_list_line_aggregate_hosting_subscription',
-      'condition'     : 'python: object.getResourceValue() is not None and object.getResource() in [object.portal_preferences.getPreferredInstanceSetupResource(), object.portal_preferences.getPreferredInstanceHostingResource(), object.portal_preferences.getPreferredInstanceCleanupResource()]',
-      'type'          : 'CategoryMembershipArity',
-      'min_arity'     : '1',
-      'max_arity'     : '1',
-      'portal_type'   : 'Hosting Subscription',
-      'base_category' : ('aggregate'),
-      'message_arity_with_portal_type_too_small': message,
-      'message_arity_with_portal_type_not_in_range': message,
-    },
-    { 'id'            : 'sale_packing_list_line_aggregate_software_instance',
-      'condition'     : 'python: object.getResourceValue() is not None and object.getResource() in [object.portal_preferences.getPreferredInstanceSetupResource(), object.portal_preferences.getPreferredInstanceHostingResource(), object.portal_preferences.getPreferredInstanceCleanupResource()]',
-      'type'          : 'CategoryMembershipArity',
-      'min_arity'     : '1',
-      'max_arity'     : '1',
-      'portal_type'   : 'Software Instance',
-      'base_category' : ('aggregate'),
-      'message_arity_with_portal_type_too_small': message,
-      'message_arity_with_portal_type_not_in_range': message,
-    },
-    { 'id'            : 'sale_packing_list_line_aggregate_software_release',
-      'condition'     : 'python: object.getResourceValue() is not None and object.getResource() in [object.portal_preferences.getPreferredInstanceSetupResource(), object.portal_preferences.getPreferredInstanceHostingResource(), object.portal_preferences.getPreferredInstanceCleanupResource()]',
-      'type'          : 'CategoryMembershipArity',
-      'min_arity'     : '1',
-      'max_arity'     : '1',
-      'portal_type'   : 'Software Release',
-      'base_category' : ('aggregate'),
-      'message_arity_with_portal_type_too_small': message,
-      'message_arity_with_portal_type_not_in_range': message,
-    },
-  )

Added: erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstance.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstance.xml?rev=44666&view=auto
==============================================================================
--- erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstance.xml (added)
+++ erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstance.xml [utf8] Mon Mar 28 14:49:47 2011
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Property Sheet" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_count</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_mt_index</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_tree</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>SoftwareInstance</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Property Sheet</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <global name="Length" module="BTrees.Length"/>
+    </pickle>
+    <pickle> <int>0</int> </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <global name="OOBTree" module="BTrees.OOBTree"/>
+    </pickle>
+    <pickle>
+      <none/>
+    </pickle>
+  </record>
+  <record id="4" aka="AAAAAAAAAAQ=">
+    <pickle>
+      <global name="OOBTree" module="BTrees.OOBTree"/>
+    </pickle>
+    <pickle>
+      <none/>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstance/connection_xml_property.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstance/connection_xml_property.xml?rev=44666&view=auto
==============================================================================
--- erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstance/connection_xml_property.xml (added)
+++ erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstance/connection_xml_property.xml [utf8] Mon Mar 28 14:49:47 2011
@@ -0,0 +1,53 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Standard Property" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_local_properties</string> </key>
+            <value>
+              <tuple>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>mode</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>string</string> </value>
+                  </item>
+                </dictionary>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>elementary_type/text</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>XML representing connection parameters</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>connection_xml_property</string> </value>
+        </item>
+        <item>
+            <key> <string>mode</string> </key>
+            <value> <string>w</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Standard Property</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstance/ssl_certificate_property.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstance/ssl_certificate_property.xml?rev=44666&view=auto
==============================================================================
--- erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstance/ssl_certificate_property.xml (added)
+++ erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstance/ssl_certificate_property.xml [utf8] Mon Mar 28 14:49:47 2011
@@ -0,0 +1,53 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Standard Property" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_local_properties</string> </key>
+            <value>
+              <tuple>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>mode</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>string</string> </value>
+                  </item>
+                </dictionary>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>elementary_type/text</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>Raw representation of related SSL certificate</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>ssl_certificate_property</string> </value>
+        </item>
+        <item>
+            <key> <string>mode</string> </key>
+            <value> <string>w</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Standard Property</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstance/ssl_key_property.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstance/ssl_key_property.xml?rev=44666&view=auto
==============================================================================
--- erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstance/ssl_key_property.xml (added)
+++ erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstance/ssl_key_property.xml [utf8] Mon Mar 28 14:49:47 2011
@@ -0,0 +1,53 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Standard Property" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_local_properties</string> </key>
+            <value>
+              <tuple>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>mode</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>string</string> </value>
+                  </item>
+                </dictionary>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>elementary_type/text</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>Raw representation of related SSL key</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>ssl_key_property</string> </value>
+        </item>
+        <item>
+            <key> <string>mode</string> </key>
+            <value> <string>w</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Standard Property</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint.xml?rev=44666&view=auto
==============================================================================
--- erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint.xml (added)
+++ erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint.xml [utf8] Mon Mar 28 14:49:47 2011
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Property Sheet" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_count</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_mt_index</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_tree</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>SoftwareInstanceConstraint</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Property Sheet</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <global name="Length" module="BTrees.Length"/>
+    </pickle>
+    <pickle> <int>0</int> </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <global name="OOBTree" module="BTrees.OOBTree"/>
+    </pickle>
+    <pickle>
+      <none/>
+    </pickle>
+  </record>
+  <record id="4" aka="AAAAAAAAAAQ=">
+    <pickle>
+      <global name="OOBTree" module="BTrees.OOBTree"/>
+    </pickle>
+    <pickle>
+      <none/>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/destination_reference_property_existence_constraint.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/destination_reference_property_existence_constraint.xml?rev=44666&view=auto
==============================================================================
--- erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/destination_reference_property_existence_constraint.xml (added)
+++ erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/destination_reference_property_existence_constraint.xml [utf8] Mon Mar 28 14:49:47 2011
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Property Existence Constraint" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>constraint_property</string> </key>
+            <value>
+              <tuple>
+                <string>destination_reference</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>Property destination reference must be defined</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>destination_reference_property_existence_constraint</string> </value>
+        </item>
+        <item>
+            <key> <string>message_no_such_property</string> </key>
+            <value> <string>Destination Reference must be set</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Property Existence Constraint</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/property_existence_constraint.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/property_existence_constraint.xml?rev=44666&view=auto
==============================================================================
--- erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/property_existence_constraint.xml (added)
+++ erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/property_existence_constraint.xml [utf8] Mon Mar 28 14:49:47 2011
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Property Existence Constraint" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>constraint_property</string> </key>
+            <value>
+              <tuple>
+                <string>source_reference</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>Property source reference must be defined</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>property_existence_constraint</string> </value>
+        </item>
+        <item>
+            <key> <string>message_no_such_property</string> </key>
+            <value> <string>Source Reference must be set</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Property Existence Constraint</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/reference_property_existence_constraint.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/reference_property_existence_constraint.xml?rev=44666&view=auto
==============================================================================
--- erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/reference_property_existence_constraint.xml (added)
+++ erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/reference_property_existence_constraint.xml [utf8] Mon Mar 28 14:49:47 2011
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Property Existence Constraint" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>constraint_property</string> </key>
+            <value>
+              <tuple>
+                <string>reference</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>Property reference must be defined</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>reference_property_existence_constraint</string> </value>
+        </item>
+        <item>
+            <key> <string>message_no_such_property</string> </key>
+            <value> <string>Reference must be set</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Property Existence Constraint</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/ssl_certificate_constraint.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/ssl_certificate_constraint.xml?rev=44666&view=auto
==============================================================================
--- erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/ssl_certificate_constraint.xml (added)
+++ erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/ssl_certificate_constraint.xml [utf8] Mon Mar 28 14:49:47 2011
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Property Existence Constraint" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>constraint_property</string> </key>
+            <value>
+              <tuple>
+                <string>ssl_certificate</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>Property SSL Certificate must be defined</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>ssl_certificate_constraint</string> </value>
+        </item>
+        <item>
+            <key> <string>message_no_such_property</string> </key>
+            <value> <string>SSL Certificate must be set</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Property Existence Constraint</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/ssl_key_constraint.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/ssl_key_constraint.xml?rev=44666&view=auto
==============================================================================
--- erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/ssl_key_constraint.xml (added)
+++ erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/ssl_key_constraint.xml [utf8] Mon Mar 28 14:49:47 2011
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Property Existence Constraint" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>constraint_property</string> </key>
+            <value>
+              <tuple>
+                <string>ssl_key</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>Property SSL Key must be defined</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>ssl_key_constraint</string> </value>
+        </item>
+        <item>
+            <key> <string>message_no_such_property</string> </key>
+            <value> <string>SSL Key must be set</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Property Existence Constraint</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/text_content_existence_constraint.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/text_content_existence_constraint.xml?rev=44666&view=auto
==============================================================================
--- erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/text_content_existence_constraint.xml (added)
+++ erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/SoftwareInstanceConstraint/text_content_existence_constraint.xml [utf8] Mon Mar 28 14:49:47 2011
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Property Existence Constraint" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>constraint_property</string> </key>
+            <value>
+              <tuple>
+                <string>text_content</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>Property text content must be defined</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>text_content_existence_constraint</string> </value>
+        </item>
+        <item>
+            <key> <string>message_no_such_property</string> </key>
+            <value> <string>XML must be set</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Property Existence Constraint</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint.xml?rev=44666&view=auto
==============================================================================
--- erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint.xml (added)
+++ erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint.xml [utf8] Mon Mar 28 14:49:47 2011
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Property Sheet" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_count</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_mt_index</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_tree</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>VifibSalePackingListLineConstraint</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Property Sheet</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <global name="Length" module="BTrees.Length"/>
+    </pickle>
+    <pickle> <int>0</int> </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <global name="OOBTree" module="BTrees.OOBTree"/>
+    </pickle>
+    <pickle>
+      <none/>
+    </pickle>
+  </record>
+  <record id="4" aka="AAAAAAAAAAQ=">
+    <pickle>
+      <global name="OOBTree" module="BTrees.OOBTree"/>
+    </pickle>
+    <pickle>
+      <none/>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/sale_packing_list_line_aggregate_computer_partition_constraint.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/sale_packing_list_line_aggregate_computer_partition_constraint.xml?rev=44666&view=auto
==============================================================================
--- erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/sale_packing_list_line_aggregate_computer_partition_constraint.xml (added)
+++ erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/sale_packing_list_line_aggregate_computer_partition_constraint.xml [utf8] Mon Mar 28 14:49:47 2011
@@ -0,0 +1,62 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Category Membership Arity Constraint" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>constraint_base_category</string> </key>
+            <value>
+              <tuple>
+                <string>aggregate</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>constraint_portal_type</string> </key>
+            <value> <string>python: (\'Computer Partition\', \'Slave Partition\')</string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>sale_packing_list_line_aggregate_computer_partition_constraint</string> </value>
+        </item>
+        <item>
+            <key> <string>max_arity</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>message_arity_with_portal_type_not_in_range</string> </key>
+            <value> <string>There should be exactly one ${portal_type} present in Items</string> </value>
+        </item>
+        <item>
+            <key> <string>message_arity_with_portal_type_too_small</string> </key>
+            <value> <string>There should be exactly one ${portal_type} present in Items</string> </value>
+        </item>
+        <item>
+            <key> <string>min_arity</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Category Membership Arity Constraint</string> </value>
+        </item>
+        <item>
+            <key> <string>test_tales_expression</string> </key>
+            <value> <string>python: object.getResourceValue() is not None and object.getResource() in [object.portal_preferences.getPreferredInstanceSetupResource(), object.portal_preferences.getPreferredInstanceHostingResource(), object.portal_preferences.getPreferredInstanceCleanupResource()]</string> </value>
+        </item>
+        <item>
+            <key> <string>use_acquisition</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/sale_packing_list_line_aggregate_hosting_subscription_constraint.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/sale_packing_list_line_aggregate_hosting_subscription_constraint.xml?rev=44666&view=auto
==============================================================================
--- erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/sale_packing_list_line_aggregate_hosting_subscription_constraint.xml (added)
+++ erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/sale_packing_list_line_aggregate_hosting_subscription_constraint.xml [utf8] Mon Mar 28 14:49:47 2011
@@ -0,0 +1,62 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Category Membership Arity Constraint" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>constraint_base_category</string> </key>
+            <value>
+              <tuple>
+                <string>aggregate</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>constraint_portal_type</string> </key>
+            <value> <string>python: \'Hosting Subscription\'</string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>sale_packing_list_line_aggregate_hosting_subscription_constraint</string> </value>
+        </item>
+        <item>
+            <key> <string>max_arity</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>message_arity_with_portal_type_not_in_range</string> </key>
+            <value> <string>There should be exactly one ${portal_type} present in Items</string> </value>
+        </item>
+        <item>
+            <key> <string>message_arity_with_portal_type_too_small</string> </key>
+            <value> <string>There should be exactly one ${portal_type} present in Items</string> </value>
+        </item>
+        <item>
+            <key> <string>min_arity</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Category Membership Arity Constraint</string> </value>
+        </item>
+        <item>
+            <key> <string>test_tales_expression</string> </key>
+            <value> <string>python: object.getResourceValue() is not None and object.getResource() in [object.portal_preferences.getPreferredInstanceSetupResource(), object.portal_preferences.getPreferredInstanceHostingResource(), object.portal_preferences.getPreferredInstanceCleanupResource()]</string> </value>
+        </item>
+        <item>
+            <key> <string>use_acquisition</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/sale_packing_list_line_aggregate_software_instance_constraint.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/sale_packing_list_line_aggregate_software_instance_constraint.xml?rev=44666&view=auto
==============================================================================
--- erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/sale_packing_list_line_aggregate_software_instance_constraint.xml (added)
+++ erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/sale_packing_list_line_aggregate_software_instance_constraint.xml [utf8] Mon Mar 28 14:49:47 2011
@@ -0,0 +1,62 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Category Membership Arity Constraint" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>constraint_base_category</string> </key>
+            <value>
+              <tuple>
+                <string>aggregate</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>constraint_portal_type</string> </key>
+            <value> <string>python: \'Software Instance\'</string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>sale_packing_list_line_aggregate_software_instance_constraint</string> </value>
+        </item>
+        <item>
+            <key> <string>max_arity</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>message_arity_with_portal_type_not_in_range</string> </key>
+            <value> <string>There should be exactly one ${portal_type} present in Items</string> </value>
+        </item>
+        <item>
+            <key> <string>message_arity_with_portal_type_too_small</string> </key>
+            <value> <string>There should be exactly one ${portal_type} present in Items</string> </value>
+        </item>
+        <item>
+            <key> <string>min_arity</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Category Membership Arity Constraint</string> </value>
+        </item>
+        <item>
+            <key> <string>test_tales_expression</string> </key>
+            <value> <string>python: object.getResourceValue() is not None and object.getResource() in [object.portal_preferences.getPreferredInstanceSetupResource(), object.portal_preferences.getPreferredInstanceHostingResource(), object.portal_preferences.getPreferredInstanceCleanupResource()]</string> </value>
+        </item>
+        <item>
+            <key> <string>use_acquisition</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/sale_packing_list_line_aggregate_software_release_constraint.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/sale_packing_list_line_aggregate_software_release_constraint.xml?rev=44666&view=auto
==============================================================================
--- erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/sale_packing_list_line_aggregate_software_release_constraint.xml (added)
+++ erp5/trunk/bt5/vifib_base/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/sale_packing_list_line_aggregate_software_release_constraint.xml [utf8] Mon Mar 28 14:49:47 2011
@@ -0,0 +1,62 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Category Membership Arity Constraint" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>constraint_base_category</string> </key>
+            <value>
+              <tuple>
+                <string>aggregate</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>constraint_portal_type</string> </key>
+            <value> <string>python: \'Software Release\'</string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>sale_packing_list_line_aggregate_software_release_constraint</string> </value>
+        </item>
+        <item>
+            <key> <string>max_arity</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>message_arity_with_portal_type_not_in_range</string> </key>
+            <value> <string>There should be exactly one ${portal_type} present in Items</string> </value>
+        </item>
+        <item>
+            <key> <string>message_arity_with_portal_type_too_small</string> </key>
+            <value> <string>There should be exactly one ${portal_type} present in Items</string> </value>
+        </item>
+        <item>
+            <key> <string>min_arity</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Category Membership Arity Constraint</string> </value>
+        </item>
+        <item>
+            <key> <string>test_tales_expression</string> </key>
+            <value> <string>python: object.getResourceValue() is not None and object.getResource() in [object.portal_preferences.getPreferredInstanceSetupResource(), object.portal_preferences.getPreferredInstanceHostingResource(), object.portal_preferences.getPreferredInstanceCleanupResource()]</string> </value>
+        </item>
+        <item>
+            <key> <string>use_acquisition</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/vifib_base/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/vifib_base/bt/revision?rev=44666&r1=44665&r2=44666&view=diff
==============================================================================
--- erp5/trunk/bt5/vifib_base/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/vifib_base/bt/revision [utf8] Mon Mar 28 14:49:47 2011
@@ -1 +1 @@
-219
\ No newline at end of file
+220
\ No newline at end of file



More information about the Erp5-report mailing list