Machine name not set when using sub queue as an entity reference

Created on 15 May 2019, over 5 years ago
Updated 6 December 2024, about 1 month ago

When attaching a sub queue to a node using an entity reference form. Existing sub queues can be attached no problem however creating a sub queue inline results in

'General error: 1364 Field 'name' doesn't have a default value'

Looks like the inline entity form isn't setting the machine name of the sub queue.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom scotthooker

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States jcandan

    This is an issue also reported in πŸ’¬ Entityqueue entity fails to import Active , which uses Default Content.

    I am also getting this error when attempting to import and entity_subqueue via Default Content β†’ :

    In ExceptionHandler.php line 45:
    
    SQLSTATE[HY000]: General error: 1364 Field 'name' doesn't have a default value: INSERT INTO "entity_subqueue" ("revision_id", "queue", "uuid", "langcode") VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3); Array 
    (
          [:db_insert_placeholder_0] =>
          [:db_insert_placeholder_1] => my_entity_subqueue
          [:db_insert_placeholder_2] => c3655edc-a41b-42bd-bf82-5cbc92268c67
          [:db_insert_placeholder_3] => en
      )
    
    In StatementWrapperIterator.php line 113:
    
    SQLSTATE[HY000]: General error: 1364 Field 'name' doesn't have a default value
    
Production build 0.71.5 2024