• Jérome Perrin's avatar
    ZSQLCatalog: use _getProperty to skip security checks · 16aa6134
    Jérome Perrin authored
    During indexation we don't apply security checks, so this should be a
    little bit faster.
    
    With this change _getProperty becomes a more "official" API, so some
    small changes had to be made to classes which do not inherits from
    Products.ERP5Type.Base.Base, so that they also implements _getProperty:
     - for ERP5Site we simply use getProperty
     - for the test class from testERP5Catalog, the change is a bit more
    important, because this class never defined getProperty, so during that
    test we were just acquiring a getProperty from portal.
    16aa6134
SQLCatalog.py 90.7 KB