[schema] do not fulltext index workflow entities'description stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 04 Mar 2010 17:58:31 +0100
branchstable
changeset 4805 2d0aa2b7da02
parent 4801 d3ea940e2b0c
child 4806 4f12f59b1a13
[schema] do not fulltext index workflow entities'description
schemas/workflow.py
--- a/schemas/workflow.py	Thu Mar 04 17:49:31 2010 +0100
+++ b/schemas/workflow.py	Thu Mar 04 17:58:31 2010 +0100
@@ -19,7 +19,7 @@
 
     name = String(required=True, indexed=True, internationalizable=True,
                   maxsize=256)
-    description = RichString(fulltextindexed=True, default_format='text/rest',
+    description = RichString(default_format='text/rest',
                              description=_('semantic description of this workflow'))
 
     workflow_of = SubjectRelation('CWEType', cardinality='+*',
@@ -53,7 +53,7 @@
                   maxsize=256,
                   constraints=[RQLUniqueConstraint('S name N, S state_of WF, Y state_of WF, Y name N', 'Y',
                                                    _('workflow already have a state of that name'))])
-    description = RichString(fulltextindexed=True, default_format='text/rest',
+    description = RichString(default_format='text/rest',
                              description=_('semantic description of this state'))
 
     # XXX should be on BaseTransition w/ AND/OR selectors when we will
@@ -77,8 +77,7 @@
                   constraints=[RQLUniqueConstraint('S name N, S transition_of WF, Y transition_of WF, Y name N', 'Y',
                                                    _('workflow already have a transition of that name'))])
     type = String(vocabulary=(_('normal'), _('auto')), default='normal')
-    description = RichString(fulltextindexed=True,
-                         description=_('semantic description of this transition'))
+    description = RichString(description=_('semantic description of this transition'))
     condition = SubjectRelation('RQLExpression', cardinality='*?', composite='subject',
                                 description=_('a RQL expression which should return some results, '
                                               'else the transition won\'t be available. '