Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ludovic Kiefer
erp5
Commits
50bcc2cf
Commit
50bcc2cf
authored
May 21, 2013
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Base_callDialogMethod should not fail if a request key is not a string
parent
79f99a14
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml
...lateItem/portal_skins/erp5_core/Base_callDialogMethod.xml
+1
-1
product/ERP5/bootstrap/erp5_core/bt/revision
product/ERP5/bootstrap/erp5_core/bt/revision
+1
-1
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml
View file @
50bcc2cf
...
@@ -269,7 +269,7 @@ if (not(can_redirect) or len(url_params_string) > 2000):\n
...
@@ -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
# XXX unless we are in Folder_modifyWorkflowStatus which validates again !\n
if dialog_method != \'Folder_modifyWorkflowStatus\':\n
if dialog_method != \'Folder_modifyWorkflowStatus\':\n
for key in list(request.keys()):\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
request.form.pop(key, None)\n
\n
\n
# If we cannot redirect, then call the form directly.\n
# If we cannot redirect, then call the form directly.\n
...
...
product/ERP5/bootstrap/erp5_core/bt/revision
View file @
50bcc2cf
41083
41084
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment