NAL-i5K / tripal_chado_datasets

Provides an admin layer and forms for users to submit organisms and analysis into Chado
0 stars 0 forks source link

form submission errors for datasets/submit-a-dataset #40

Open bradfordcondon opened 5 years ago

bradfordcondon commented 5 years ago

Note, these are errors for a successful submission ie not validation errors.

Looks to me like its the mail function accessing indices that werent set in params ie that are used in a different mail call.

Notice: Use of undefined constant FROM_ADDRESS - assumed 'FROM_ADDRESS' in tripal_chado_datasets_request_form_submit() (line 1077 of /Users/chet/UTK/tripal/sites/all/modules/custom/tripal_chado_datasets/includes/tripal_chado_datasets_submission.form.inc).
Notice: Undefined index: cordinator_name in tripal_chado_datasets_mail() (line 21 of /Users/chet/UTK/tripal/sites/all/modules/custom/tripal_chado_datasets/includes/tripal_chado_datasets_mail.inc).
Notice: Undefined index: genus in tripal_chado_datasets_mail() (line 26 of /Users/chet/UTK/tripal/sites/all/modules/custom/tripal_chado_datasets/includes/tripal_chado_datasets_mail.inc).
Notice: Undefined index: species in tripal_chado_datasets_mail() (line 26 of /Users/chet/UTK/tripal/sites/all/modules/custom/tripal_chado_datasets/includes/tripal_chado_datasets_mail.inc).
Notice: Undefined index: common_name in tripal_chado_datasets_mail() (line 111 of /Users/chet/UTK/tripal/sites/all/modules/custom/tripal_chado_datasets/includes/tripal_chado_datasets_mail.inc).
Notice: Undefined index: assembly_data_source_url in tripal_chado_datasets_mail() (line 167 of /Users/chet/UTK/tripal/sites/all/modules/custom/tripal_chado_datasets/includes/tripal_chado_datasets_mail.inc).
bradfordcondon commented 5 years ago

note these are all in the mail module, again. Same problem as #2 the mail function expects lots of keys to exist that may or may not exist.