#2 — Doesn’t install with plone 3.1

2 doesnt install with plone 3 1 Blog
State Tested and confirmed closed
Release: 0.8
Area Bugs
Issue type Bug
Severity Medium
Submitted by (anonymous)
Submitted on 2008-05-16
Responsible Lukasz Lakomy
Target release: 0.8

Return to tracker

— Install. py 2008-05-08 09:03:17.000000000 -0300
+++ /home/walter/reporter_brasil/products/FlashVideo/Extensions/Install. py 2008-05-16 12:07:20.000000000 -0300
@@ -32,23 +32,26 @@
out = StringIO()

portal_setup = getToolByName(portal, ‘portal_setup’, None)

+ if hasattr(portal_setup, ‘runAllImportStepsFromProfile’):

print >> out, “Installation using Generic Setup”

#Plone > out, “Ordinary installation”

installPloneTypes(portal, out, PROJECTNAME)

install_subskin(portal, out, GLOBALS)

print >> out, “Installation completed.”

@@ -72,8 +75,8 @@
if t not in actions:

– print >> out, “View actions in listings updated”

+ print >> out, “View actions in listings updated”

def installFSS(portal, out = None):

Install FileSystemStorage if exists

@@ -83,11 +86,11 @@
portal = portal. getSite()

#This is necessary tests to work without FSS

portal_quickinstaller=getToolByName(portal, ‘portal_quickinstaller’, None)

if ‘FileSystemStorage’ in Products. objectIds():

if not portal_quickinstaller. isProductInstalled(‘FileSystemStorage’):

@@ -99,7 +102,7 @@
print >>out, ‘FileSystemStorage not installable.’

print >>out, ‘FileSystemStorage Product not added.’

def hideTypesInNavigation(portal, out):

Hide selected types from the navtree

@@ -113,7 +116,7 @@
types_not_to_list. append(t)

print >>out, ‘Types hidden from navigation: %s’%(“, “.join(hidden_list))

def removeDuplicateActionsInTypes(portal, out = None):

In Plone 3 xml configuraton adds duplicated ‘local_roles’ action.

@@ -133,11 +136,10 @@
actions_ >
for i in range(len(type_actions)):

print >>out, “Duplicate ‘local_roles’ action from ‘%s’ deleted”%(portal_type)

Rate article
Plone and Zope developer
Add a comment