From b533b8929156c4ef0db9184c3eee64bda0ef6d87 Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Sat, 17 Jul 2004 08:33:51 +0000
Subject: [PATCH] Bugfix in compatibility

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1232 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/PropertySheet/Predicate.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/product/ERP5/PropertySheet/Predicate.py b/product/ERP5/PropertySheet/Predicate.py
index 54165d53fc..5ac2e77c7c 100755
--- a/product/ERP5/PropertySheet/Predicate.py
+++ b/product/ERP5/PropertySheet/Predicate.py
@@ -40,12 +40,12 @@ class Predicate:
 
     _properties = (               
         {   'id'          : 'criterion_property',
-            'description' : 'The properties to test identity on',
+            'description' : 'The properties to test identity or range on',
             'type'        : 'tokens',
             'default'     : (),
             'mode'        : 'w' },
         {   'id'          : 'membership_criterion_base_category',
-            'storage_id'  : 'predicate_property',       # Compatibility with legacy implementation
+            'storage_id'  : 'domain_base_category_list',       # Compatibility with legacy implementation
             'description' : 'The base categories to test',
             'type'        : 'tokens',
             'default'     : (),
@@ -73,20 +73,20 @@ class Predicate:
         {   'id'          : 'predicate_property',
             'description' : 'The properties to use for the predicate',
             'type'        : 'string',
-            'mode'        : 'r' },               
+            'mode'        : 'w' }, # Make sure previous code still works, so w mode               
         {   'id'          : 'predicate_operator',
             'description' : 'The operator to use for the predicate',
             'type'        : 'string',
-            'mode'        : 'r' },
+            'mode'        : 'w' }, # Make sure previous code still works, so w mode
         {   'id'          : 'predicate_value',
             'description' : 'The value to use for the predicate' \
                             'this value can be multiple',
             'type'        : 'lines',
-            'mode'        : 'r' },
+            'mode'        : 'w' }, # Make sure previous code still works, so w mode
         {   'id'          : 'predicate_type',
             'description' : 'The type of the value',
             'type'        : 'string',
-            'mode'        : 'r' },
+            'mode'        : 'w' }, # Make sure previous code still works, so w mode
         )
 
 
-- 
2.30.9