• Arnaud Fontaine's avatar
    ZODB Components: Fix startup of old Sites not having portal_components yet. · bda37e96
    Arnaud Fontaine authored
    In such case, it must obviously be considered that the ZODB Component Document
    was not found and thus fallback on filesystem Document.
    
    2018-11-21 17:05:01,919 WARNING ERP5Type.Dynamic Could not access Portal Type Object for type 'Category Tool'
    Traceback (most recent call last):
      File "product/ERP5Type/dynamic/lazy_class.py", line 3
    52, in loadClass
        class_definition = generatePortalTypeClass(site, portal_type)
      File "product/ERP5Type/dynamic/portal_type_class.py",
     line 198, in generatePortalTypeClass
        module = erp5.component.document.find_load_module(type_class)
      File "product/ERP5Type/dynamic/component_package.py",
     line 361, in find_load_module
        loader = self.find_module(fullname)
      File "product/ERP5Type/dynamic/component_package.py",
     line 155, in find_module
        component_tool = aq_base(site.portal_components)
    AttributeError: portal_components
    bda37e96
Name
Last commit
Last update
..
Accessor Loading commit data...
CachePlugins Loading commit data...
ConnectionPlugin Loading commit data...
Constraint Loading commit data...
Core Loading commit data...
Document Loading commit data...
Interactor Loading commit data...
Tool Loading commit data...
dtml Loading commit data...
dynamic Loading commit data...
help Loading commit data...
interfaces Loading commit data...
mixin Loading commit data...
patches Loading commit data...
tests Loading commit data...
BTreeData.py Loading commit data...
Base.py Loading commit data...
CHANGES.txt Loading commit data...
CSSPacker.py Loading commit data...
Cache.py Loading commit data...
Calendar.py Loading commit data...
CodingStyle.py Loading commit data...
ConflictFree.py Loading commit data...
ConsistencyMessage.py Loading commit data...
Context.py Loading commit data...
CopySupport.py Loading commit data...
DateUtils.py Loading commit data...
DiffUtils.py Loading commit data...
DivergenceMessage.py Loading commit data...
ERP5Type.py Loading commit data...
Error.py Loading commit data...
Errors.py Loading commit data...
ExtensibleTraversable.py Loading commit data...
Globals.py Loading commit data...
ImageUtil.py Loading commit data...
ImmediateReindexContextManager.py Loading commit data...
InitGenerator.py Loading commit data...
JSON.py Loading commit data...
JSONEncoder.py Loading commit data...
JSPacker.py Loading commit data...
Log.py Loading commit data...
MAINTAINERS.txt Loading commit data...
Message.py Loading commit data...
ObjectMessage.py Loading commit data...
Permissions.py Loading commit data...
PsycoWrapper.py Loading commit data...
Reminder_FilterSkinNameInTraverse.patch Loading commit data...
SSHConnection.py Loading commit data...
TransactionalVariable.py Loading commit data...
TranslationProviderBase.py Loading commit data...
UnrestrictedMethod.py Loading commit data...
Utils.py Loading commit data...
VERSION.txt Loading commit data...
WebDAVSupport.py Loading commit data...
Workflow.py Loading commit data...
XMLExportImport.py Loading commit data...
XMLMatrix.py Loading commit data...
XMLObject.py Loading commit data...
XMLUtils.py Loading commit data...
ZipFile.py Loading commit data...
ZopePatch.py Loading commit data...
__init__.py Loading commit data...
component.xml Loading commit data...
id_as_reference.py Loading commit data...
refresh.txt Loading commit data...
tool.png Loading commit data...