Hi. I’m trying to test out CMDBuild with READY2USE using the docker images from here: Docker.
The 2 containers build fine, I can log in and edit entries in the demo dump. However, using both demo.dump.xz and empty.dump.xz I cannot create a new entry. For example, if I try to create a new customer, I get the following error:
org.cmdbuild.dao.DaoException: error executing insert for entry = CardImpl{id=null, code=TEST, type=Customer}, caused by: org.springframework.dao.DataIntegrityViolationException: StatementCallback; ERROR: null value in column "Description" violates not-null constraint
Detail: Failing row contains (100277, "Customer", TEST, null, null, null, 2023-12-01 22:39:12.744406+00, null, null, null, null, Tester, null, null, null, null, null, null, null, null, null).; nested exception is org.postgresql.util.PSQLException: ERROR: null value in column "Description" violates not-null constraint
Detail: Failing row contains (100277, "Customer", TEST, null, null, null, 2023-12-01 22:39:12.744406+00, null, null, null, null, Tester, null, null, null, null, null, null, null, null, null)., caused by: org.postgresql.util.PSQLException: ERROR: null value in column "Description" violates not-null constraint
Detail: Failing row contains (100277, "Customer", TEST, null, null, null, 2023-12-01 22:39:12.744406+00, null, null, null, null, Tester, null, null, null, null, null, null, null, null, null).
The logs on the DB container show:
2023-12-01 22:39:12.744 UTC [105] ERROR: null value in column "Description" violates not-null constraint
2023-12-01 22:39:12.744 UTC [105] DETAIL: Failing row contains (100277, "Customer", TEST, null, null, null, 2023-12-01 22:39:12.744406+00, null, null, null, null, Tester, null, null, null, null, null, null, null, null, null).
2023-12-01 22:39:12.744 UTC [105] STATEMENT: INSERT INTO "Customer" ("Code", "Description", "CompanyTitle", "Address", "Postcode", "City", "Region", "Country", "Phone", "Fax", "Email", "Website", "IdTenant") VALUES ('TEST', NULL, 'Tester', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL) RETURNING "Id"
It looks like I need to add a value for “Description”, but that is not visible in the UI.
Are you able to assist? Many thanks in advance.