cubicweb/web/wdoc/standard_usage_en.rst
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Fri, 28 Apr 2017 09:49:37 +0200
changeset 12183 af5d0a3c3f1a
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[req] fix find() generating non-rewritable rql on non final relations When filtering on a relation, find() was generating rql like 'Any X WHERE X is ETYPE, X relation EID' which work without being rewritten (it should probably not), but when applying some rewrite (eg. permissions) it raise in rqlrewrite code. def _use_orig_term(self, snippet_varname, term): ... > self.rewritten[key] = term.name E AttributeError: 'Constant' object has no attribute 'name' Generate valid rql instead 'Any X WHERE X is ETYPE, X relation Y, Y eid EID'.

First of all, you can use this site as any web site by clicking on the
different links. The Logo on the top left of this page will lead you
to a start page from which you will be able to navigate to all the
data hosted on this site.

The bookmarks box on the left hand side provides some useful
shortcuts.

Most text is indexed and you can search all the content by typing
words in the search box.