[Testbot] Plone 4.3 - Python 2.6 - Build # 1939 - Regression! - 1 failure(s)
jenkins at plone.org
jenkins at plone.org
Wed Apr 2 18:04:28 UTC 2014
-------------------------------------------------------------------------------
Plone 4.3 - Python 2.6 - Build # 1939 - Failure!
-------------------------------------------------------------------------------
http://jenkins.plone.org/job/plone-4.3-python-2.6/1939/
-------------------------------------------------------------------------------
CHANGES
-------------------------------------------------------------------------------
Repository: plone.app.contenttypes
Branch: refs/heads/master
Date: 2014-04-02T19:29:19+02:00
Author: Philip Bauer (pbauer) <bauer at starzel.de>
Commit: https://github.com/plone/plone.app.contenttypes/commit/ebd788c3c7389392b5d1453c7bbb410adac661ee
also handle spaces when trying to install a type-profile
Files changed:
M plone/app/contenttypes/migration/utils.py
diff --git a/plone/app/contenttypes/migration/utils.py b/plone/app/contenttypes/migration/utils.py
index ae7f5cb..16ebb7f 100644
--- a/plone/app/contenttypes/migration/utils.py
+++ b/plone/app/contenttypes/migration/utils.py
@@ -166,7 +166,7 @@ def installTypeIfNeeded(type_name):
if IDexterityFTI.providedBy(fti):
return
ps = getToolByName(portal, 'portal_setup')
- profile_name = type_name.lower().replace('_', '')
+ profile_name = type_name.lower().replace('_', '').replace(' ', '')
try:
ps.runAllImportStepsFromProfile(
'profile-plone.app.contenttypes:%s' % profile_name
-------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CHANGES.log
Type: application/octet-stream
Size: 994 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140402/ecbd414b/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 162238 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140402/ecbd414b/attachment-0003.obj>
More information about the Testbot
mailing list