diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml
index 22c2b445a82b5abe551e0a12a78d76696cca0e7e..edfe2cb15cb37c70469822fad3a42ae83774e2f9 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml
@@ -269,7 +269,7 @@ if (not(can_redirect) or len(url_params_string) > 2000):\n
     # XXX unless we are in Folder_modifyWorkflowStatus which validates again !\n
     if dialog_method != \'Folder_modifyWorkflowStatus\':\n
       for key in list(request.keys()):\n
-        if key.startswith(\'field\') or key.startswith(\'subfield\'):\n
+        if str(key).startswith(\'field\') or str(key).startswith(\'subfield\'):\n
           request.form.pop(key, None)\n
 \n
   # If we cannot redirect, then call the form directly.\n
diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision
index ecc39f2eb9ceb464dca5efcd25e9ef4e898ec9a6..5af6565d315f9ece04c81b6f1b55dc77090c5e9e 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/revision
+++ b/product/ERP5/bootstrap/erp5_core/bt/revision
@@ -1 +1 @@
-41083
\ No newline at end of file
+41084
\ No newline at end of file