Browse Source

HUE-1734 [oozie] Re-run workflow popup is HTML escaped

Bumping the max length of the name and the value of the parameters
Romain Rigaux 11 years ago
parent
commit
bb813ff12b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      apps/oozie/src/oozie/forms.py

+ 2 - 2
apps/oozie/src/oozie/forms.py

@@ -38,8 +38,8 @@ LOG = logging.getLogger(__name__)
 
 
 
 
 class ParameterForm(forms.Form):
 class ParameterForm(forms.Form):
-  name = forms.CharField(max_length=40, widget=forms.widgets.HiddenInput())
-  value = forms.CharField(max_length=1024, required=False)
+  name = forms.CharField(max_length=1024, widget=forms.widgets.HiddenInput())
+  value = forms.CharField(max_length=4096, required=False)
 
 
   NON_PARAMETERS = (
   NON_PARAMETERS = (
       'user.name',
       'user.name',