• Thomas Gambier's avatar
    fix key in VirtualFolderMixin · 63183b06
    Thomas Gambier authored
    old key was simply "id" so when a container is a VirtualFolder (like Web
    Site), container._getOb("id") can return any object with id "id"
    including an object outside the container.
        
    Change the key to contain PhysicalPath of the container to get only
    objects inside the container.
        
    This actually fixes installation of some business templates with Web
    Site inside.
    
    /reviewed-on !867
    63183b06
test.erp5.testShaDir.py 8.85 KB