Ticket #20311 (new Bug)

Opened 7 months ago

PluggableAuthService and PluginRegistry cause fatal error in windows when plone location is not in c:/Plone4

Reported by: yboussard Owned by:
Priority: major Milestone: 4.x
Component: General Version: 4.3
Keywords: Cc:

Description

in line 47 products.pluggableauthservice-1.10.0-py2.7.egg/Products/PluggableAuthService/utils.py

product_prefix = os.path.join( os.path.split(product_dir)[:-1] )

Or signature of os.path.join is os.path.join(path, *paths) . Code work if len(os.path.split(product_dir)[:-1]) == 1 but when it is > 1 this is fatal. Zope can't start.

Must be I think: product_prefix = os.path.join( *os.path.split(product_dir)[:-1] )

Same error in PluginRegistry.py line 42

Note: See TracTickets for help on using tickets.