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 năm trước cách đây
mục cha
commit
bb813ff
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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',