Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294268

Field instance: entity_type field has 32 characters lenght limit

$
0
0

32 symbols is not enougth for entity_type in field instance configuration

In field module schema we have 32 characters length restriction and 128 in field_sql_storage module. I understand field_name field name length restriction (because of table name length limit) but here is no reason to do it for entity_type.

Proposed resolution

Make entity_type field (in field_config_instance table) lenght = 128 characters. Like in field_sql_storage module.

User interface changes

None.

API changes

None.

Data model changes

$schema['field_config_instance']['entity_type']['length'] will be changed from 32 to 128


Viewing all articles
Browse latest Browse all 294268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>