doc/stdlib.txt
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Fri, 24 Aug 2018 17:19:02 +0200
branch3.26
changeset 12349 7e670235174f
parent 5767 1d811df051c2
permissions -rw-r--r--
Fix possible double import of cubes For a new-style cube, if we import "cubicweb_<name>" and then import "cubes.<name>", the cube will be imported twice. cubes.<name> and then cubicweb_name is ok though... When using pyramid, we try to find which cube define a "includeme" by importing them with the name "cubes.<name>", so we (possibly ?) double import all new-style cube. This case may also occur in tests with PyramidCWTest. Touching the import loader to fix this scares me, so let's fix this by testing "cubicweb_<name>" *before* "cubes.name" (for old style cubes, importing cubicweb_<name> raise ImportError).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2432
986718a355fa [stdlib] list of cubes included in the cubes standard library
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     1
addressbook
986718a355fa [stdlib] list of cubes included in the cubes standard library
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     2
basket
986718a355fa [stdlib] list of cubes included in the cubes standard library
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     3
blog
986718a355fa [stdlib] list of cubes included in the cubes standard library
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     4
book
986718a355fa [stdlib] list of cubes included in the cubes standard library
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     5
calendar
986718a355fa [stdlib] list of cubes included in the cubes standard library
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     6
comment
986718a355fa [stdlib] list of cubes included in the cubes standard library
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     7
company
986718a355fa [stdlib] list of cubes included in the cubes standard library
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     8
email
986718a355fa [stdlib] list of cubes included in the cubes standard library
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     9
file
986718a355fa [stdlib] list of cubes included in the cubes standard library
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    10
folder
986718a355fa [stdlib] list of cubes included in the cubes standard library
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    11
i18ncontent
986718a355fa [stdlib] list of cubes included in the cubes standard library
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    12
keyword
986718a355fa [stdlib] list of cubes included in the cubes standard library
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    13
link
986718a355fa [stdlib] list of cubes included in the cubes standard library
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    14
mailinglist
986718a355fa [stdlib] list of cubes included in the cubes standard library
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    15
person
986718a355fa [stdlib] list of cubes included in the cubes standard library
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    16
tag
986718a355fa [stdlib] list of cubes included in the cubes standard library
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    17
timeseries
986718a355fa [stdlib] list of cubes included in the cubes standard library
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
    18
vcsfile