[Testbot] Plone 5.0 - Python 2.7 - Build # 1931 - Still failing! - 6 failure(s)

jenkins at plone.org jenkins at plone.org
Wed Mar 12 04:27:20 UTC 2014


-------------------------------------------------------------------------------
Plone 5.0 - Python 2.7 - Build # 1931 - Still Failing!
-------------------------------------------------------------------------------

http://jenkins.plone.org/job/plone-5.0-python-2.7/1931/


-------------------------------------------------------------------------------
CHANGES
-------------------------------------------------------------------------------

Repository: Products.Archetypes
Branch: refs/heads/master
Date: 2014-03-11T21:37:58-05:00
Author: Nathan Van Gheem (vangheem) <vangheem at gmail.com>
Commit: https://github.com/plone/Products.Archetypes/commit/52578711229978ec6d0538c8859b3d357ae6b657

handle query params possibly in action for go_back

Files changed:
M Products/Archetypes/skins/archetypes/go_back.cpy

diff --git a/Products/Archetypes/skins/archetypes/go_back.cpy b/Products/Archetypes/skins/archetypes/go_back.cpy
index 27bdcee..dec7285 100644
--- a/Products/Archetypes/skins/archetypes/go_back.cpy
+++ b/Products/Archetypes/skins/archetypes/go_back.cpy
@@ -27,7 +27,7 @@ if context.isTemporary():
     redirect_to = context.getFolderWhenPortalFactory().absolute_url()
     message=_(u'message_add_new_item_cancelled',
         default='Add New Item operation was cancelled.')
-elif last_referer == '%s/edit' % context.absolute_url(): # coming from the edit page
+elif '%s/edit' % context.absolute_url() in last_referer: # coming from the edit page
     # XXX: This will only work if the edit view is named 'edit'
     redirect_to = '%s/view' % context.absolute_url()
     message=_(u'message_edit_item_cancelled',




-------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CHANGES.log
Type: application/octet-stream
Size: 1184 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140312/f562c478/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 249021 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140312/f562c478/attachment-0003.obj>


More information about the Testbot mailing list