فهرست منبع

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 سال پیش
والد
کامیت
bb813ff12b
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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',