• Tatuya Kamada's avatar
    BusinessTemplate: Fix a unindex/reindex catalog problem when upgraiding broken objects. · ff45fe0a
    Tatuya Kamada authored
     How it happened while upgrading PathTemplateItem:
       1. Try to remove the existing broken object and succeed removing
       2. However it is a broken object so self.unindexCatalog() is
          never called and the old catalog is remaining
       3. Add new object of PathTemplateItem and try to reindex the object
       4. Since old catalog is remaining, the catalog uid and object uid is
          different so catalogObjectList fails with FATAL error.
    
     The test is tests/BusinessTemplate.py#test_UpgradeBrokenObject.
    ff45fe0a
Name
Last commit
Last update
bt5 Loading commit data...
erp5 Loading commit data...
product Loading commit data...
slapos Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
CHANGES.erp5.util.txt Loading commit data...
MANIFEST.in Loading commit data...
README.erp5.util.txt Loading commit data...
setup.py Loading commit data...