galaxy-dist commit 918a25ed14f5: Bug fix due to my last commit - Requests do not have supported_field_types, FormDefinitions do.
# HG changeset patch -- Bitbucket.org # Project galaxy-dist # URL http://bitbucket.org/galaxy/galaxy-dist/overview # User Greg Von Kuster <greg@bx.psu.edu> # Date 1290008781 18000 # Node ID 918a25ed14f5427f70970b0c436159fc58fd111e # Parent 7bded9108bd8297ea609e9ec06bbe516b5f0b83a Bug fix due to my last commit - Requests do not have supported_field_types, FormDefinitions do. --- a/lib/galaxy/web/controllers/forms.py +++ b/lib/galaxy/web/controllers/forms.py @@ -601,7 +601,7 @@ class Forms( BaseController ): for ft in trans.model.Sample.supported_field_types: self.fieldtype.add_option( ft.__name__, ft.__name__ ) else: - for ft in trans.model.Request.supported_field_types: + for ft in trans.model.FormDefinition.supported_field_types: self.fieldtype.add_option( ft.__name__, ft__name__ ) self.required = SelectField('field_required_'+str(index), display='radio') self.required.add_option('Required', 'required') @@ -641,7 +641,7 @@ class Forms( BaseController ): else: self.fieldtype.add_option( ft.__name__, ft.__name__ ) else: - for ft in trans.model.Request.supported_field_types: + for ft in trans.model.FormDefinition.supported_field_types: if ft.__name__ == field[ 'type' ]: self.fieldtype.add_option( ft.__name__, ft.__name__, selected=True ) if ft == 'SelectField':
participants (1)
-
commits-noreply@bitbucket.org