Explorar o código

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 %!s(int64=11) %!d(string=hai) anos
pai
achega
bb813ff12b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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):
-  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 = (
       'user.name',