server/schemaserial.py
changeset 8986 f094b72d3a6c
parent 8945 ba9e3fbfa5a5
child 9255 46f41c3e1443
equal deleted inserted replaced
8985:be04a3e01ac9 8986:f094b72d3a6c
   200     # Get the type parameters for additional base types.
   200     # Get the type parameters for additional base types.
   201     try:
   201     try:
   202         extra_props = dict(session.execute('Any X, XTP WHERE X is CWAttribute, '
   202         extra_props = dict(session.execute('Any X, XTP WHERE X is CWAttribute, '
   203                                            'X extra_props XTP'))
   203                                            'X extra_props XTP'))
   204     except Exception:
   204     except Exception:
       
   205         session.critical('Previous CRITICAL notification about extra_props is not '
       
   206                          'a problem if you are migrating to cubicweb 3.17')
   205         extra_props = {} # not yet in the schema (introduced by 3.17 migration)
   207         extra_props = {} # not yet in the schema (introduced by 3.17 migration)
   206     for values in session.execute(
   208     for values in session.execute(
   207         'Any X,SE,RT,OE,CARD,ORD,DESC,IDX,FTIDX,I18N,DFLT WHERE X is CWAttribute,'
   209         'Any X,SE,RT,OE,CARD,ORD,DESC,IDX,FTIDX,I18N,DFLT WHERE X is CWAttribute,'
   208         'X relation_type RT, X cardinality CARD, X ordernum ORD, X indexed IDX,'
   210         'X relation_type RT, X cardinality CARD, X ordernum ORD, X indexed IDX,'
   209         'X description DESC, X internationalizable I18N, X defaultval DFLT,'
   211         'X description DESC, X internationalizable I18N, X defaultval DFLT,'