I get a WSOD when I trying to create a content type where the base table is cvterm. This seems to be caused by a missing function to generate the options for a cvterm content type.
PHP Fatal error: Call to undefined function tripal_chado_field_storage_bundle_mapping_form_add_cvterm() in /var/www/sites/all/modules/tripal/tripal_chado/includes/tripal_chado.field_storage.inc on line 1218
i searched for similar function names, im guessing it was stubbed and never defined?
It was defined a long time ago. I had to go back to before 7.x-3.0 to find it.
I started work on branch 813-cvterm_entitytype
@spficklin I seem to be missing something...
I can now fully submit the create content type form for a cvterm-based type. However, when running the job, I get:
2019-01-03 06:38:21: Calling: tripal_create_bundle(Array)
WD tripal_entities: Failed to create content type: Cannot create content type. Missing the "data_table" for this bundle.. [error]
ERROR (TRIPAL_ENTITIES): Failed to create content type: Cannot create content type. Missing the "data_table" for this bundle..
[site http://default] [TRIPAL ERROR] [TRIPAL_ENTITIES] Failed to create content type: Cannot create content type. Missing the "data_table" for this bundle..
Failed to create content type: <em class="placeholder">Cannot create content type. Missing the "data_table" for this bundle.</em>.
[site http://default] [TRIPAL ERROR] [TRIPAL_JOB] Failed to create content type: Cannot create content type. Missing the "data_table" for this bundle..
Failed to create content type: Cannot create content type. Missing the "data_table" for this bundle..
I set the data table here: https://github.com/tripal/tripal/blob/813-cvterm_entitytype/tripal_chado/includes/tripal_chado.field_storage.inc#L1897-L1899
PS. The full changes so far are here: https://github.com/tripal/tripal/compare/813-cvterm_entitytype
Got it! PR to follow
@laceysanderson I'm not sure who this got lost, but I'm glad you brought it back. I think the PR fixes this so I'm closing.