• Julien Muchembled's avatar
    Stop getting preferred archive for some SQL queries when there's no archive tool · 8808bedb
    Julien Muchembled authored
    With complex security scripts to calculate user groups,
    calling getPreferredArchive() from DA.__call__ still causes
    "maximum recursion depth exceeded" errors when caches are empty.
    
    In order to address the issue, we must review erp5_archive. Instead of that,
    this commit first checks whether the archive tool is installed, which is anyway
    faster that getting a preference. An expected failing test is also added.
    8808bedb
Name
Last commit
Last update
..
Constraint Loading commit data...
Document Loading commit data...
PropertySheet Loading commit data...
Tool Loading commit data...
dtml Loading commit data...
help Loading commit data...
tests Loading commit data...
CatalogTool.py Loading commit data...
MAINTAINERS.txt Loading commit data...
Permissions.py Loading commit data...
VERSION.txt Loading commit data...
__init__.py Loading commit data...
refresh.txt Loading commit data...
tool.png Loading commit data...