Getting error on creating project

Created on 20 April 2023, almost 2 years ago

Problem/Motivation

Getting below error while creating new Project entity with 2 digit Shortcode.

Drupal\Core\Database\IntegrityConstraintViolationException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'shortcode' cannot be null: INSERT INTO "burndown_project_field_data" ("id", "vid", "type", "langcode", "status", "user_id", "name", "shortcode", "board_type", "estimate_type", "ticket_id", "created", "changed", "revision_translation_affected", "default_langcode") VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9, :db_insert_placeholder_10, :db_insert_placeholder_11, :db_insert_placeholder_12, :db_insert_placeholder_13, :db_insert_placeholder_14); Array ( [:db_insert_placeholder_0] => 3 [:db_insert_placeholder_1] => 3 [:db_insert_placeholder_2] => project [:db_insert_placeholder_3] => en [:db_insert_placeholder_4] => 1 [:db_insert_placeholder_5] => 2 [:db_insert_placeholder_6] => test [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => kanban [:db_insert_placeholder_9] => geometric [:db_insert_placeholder_10] => 0 [:db_insert_placeholder_11] => 1681973355 [:db_insert_placeholder_12] => 1681973355 [:db_insert_placeholder_13] => 1 [:db_insert_placeholder_14] => 1 ) in Drupal\mysql\Driver\Database\mysql\ExceptionHandler->handleExecutionException() (line 50 of /var/www/html/web/core/modules/mysql/src/Driver/Database/mysql/ExceptionHandler.php).

Steps to reproduce

  1. Create new Project with 2 digit Shortcode (i.e. 12) at /burndown/project/add/project
🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India Binoli Lalani Gujarat

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

Comments & Activities

Production build 0.71.5 2024