Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Unit type should only be discovered for featuremap content types #2177

@dsenalik

Description

@dsenalik

Tripal Version

4.x

Drupal Version

any

PostgreSQL Version

any

PHP Version

any

General Description

I messed up discover() for the ChadoUnitTypeDefault field.
It should only be discovered for the featuremap base table.
If it is discovered on other tables, for example pub, it causes errors.

Steps to reproduce

Check for new fields for publication.
You will be able to add
"Unit Type (pub_cvterm): A unit of measurement is a standardized quantity of a physical quality."

Error messages

ERROR: The pub_cvterm.record_id property type uses the store_id action type but is not associated with the base table of the field. Either change the base_table of this field or use store_pkey instead.  featuremap != pub

Screenshots

.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Group 1 - Tripal Content Types | Terms | FieldsAny issue relating to Tripal Content including types, terms, and fields.Priority - HighAny issue/PR which has a noticable impact on usability of the system + would often be encountered.bug - confirmedFor issues where a core developer has confirmed a bug exists.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions