ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_canAddDebitorWithoutJustRequiredData(): TOTAL OBJECT COUNT (initial): 210 -> 210
HTTP/1.1 201
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Location: http://localhost:44731/api/hs/office/debitors/6c0933a5-199b-44e7-bf5b-0915fbde0262
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 10 Aug 2026 16:31:29 GMT
Keep-Alive: timeout=60
Connection: keep-alive
{
"uuid": "6c0933a5-199b-44e7-bf5b-0915fbde0262",
"debitorRel": {
"uuid": "1cd338b1-b900-4970-8ecf-d629465c12c5",
"anchor": {
"uuid": "b8d03ede-7c1b-4f1b-88b4-14f39f9edb42",
"personType": "INCORPORATED_FIRM",
"tradeName": "Third OHG",
"salutation": null,
"title": null,
"givenName": null,
"familyName": null
},
"holder": {
"uuid": "b8d03ede-7c1b-4f1b-88b4-14f39f9edb42",
"personType": "INCORPORATED_FIRM",
"tradeName": "Third OHG",
"salutation": null,
"title": null,
"givenName": null,
"familyName": null
},
"type": "DEBITOR",
"mark": null,
"contact": {
"uuid": "68d38f2a-96db-4dda-a4e2-d92aaefced7b",
"caption": "fourth contact",
"postalAddress": {
"country": "Germany"
},
"emailAddresses": {
"main": "contact-admin@fourthcontact.example.com"
},
"phoneNumbers": {
"phone_office": "+49 123 1234567"
}
}
},
"debitorNumber": "D-1000396",
"debitorNumberSuffix": "96",
"partner": {
"uuid": "6e64c559-27b7-4a1d-8916-bcff87dab2b6",
"partnerNumber": "P-10003",
"partnerRel": {
"uuid": "59010751-306f-4f33-a5f4-15a79f8f0f32",
"anchor": {
"uuid": "dec68a50-b2c0-4351-a344-f986596b8acb",
"personType": "LEGAL_PERSON",
"tradeName": "Hostsharing eG",
"salutation": null,
"title": null,
"givenName": null,
"familyName": null
},
"holder": {
"uuid": "b8d03ede-7c1b-4f1b-88b4-14f39f9edb42",
"personType": "INCORPORATED_FIRM",
"tradeName": "Third OHG",
"salutation": null,
"title": null,
"givenName": null,
"familyName": null
},
"type": "PARTNER",
"mark": null,
"contact": {
"uuid": "75e70f65-f08d-4811-8d79-636ebe498e37",
"caption": "third contact",
"postalAddress": {
"country": "Germany"
},
"emailAddresses": {
"main": "contact-admin@thirdcontact.example.com"
},
"phoneNumbers": {
"phone_office": "+49 123 1234567"
}
}
},
"details": {
"uuid": "56538b4d-be1e-4e55-abd9-1b6177f46532",
"registrationOffice": "Hamburg",
"registrationNumber": "RegNo123456789",
"birthName": null,
"birthPlace": null,
"birthday": null,
"dateOfDeath": null
}
},
"billable": true,
"vatId": null,
"vatCountryCode": null,
"vatBusiness": false,
"vatReverseCharge": false,
"refundBankAccount": null,
"defaultPrefix": "for"
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
2026-08-10T16:31:30.137Z WARN 382 --- [ Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: 23503
2026-08-10T16:31:30.137Z ERROR 382 --- [ Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper : ERROR: update or delete on table "relation" violates foreign key constraint "debitor_debitorreluuid_fkey" on table "debitor"
Detail: Key (uuid)=(1cd338b1-b900-4970-8ecf-d629465c12c5) is still referenced from table "debitor".
DELETING leaked hs_office.relation#1cd338b1-b900-4970-8ecf-d629465c12c5 FAILED org.hibernate.exception.ConstraintViolationException: JDBC exception executing SQL [DELETE FROM hs_office.relation WHERE uuid=?] [ERROR: update or delete on table "relation" violates foreign key constraint "debitor_debitorreluuid_fkey" on table "debitor"
Detail: Key (uuid)=(1cd338b1-b900-4970-8ecf-d629465c12c5) is still referenced from table "debitor".] [n/a]
DELETING leaked hs_office.debitor#6c0933a5-199b-44e7-bf5b-0915fbde0262 SUCCEEDED
globalAdmin_canAddDebitorWithoutJustRequiredData(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_canNotAddDebitor_ifContactDoesNotExist(): TOTAL OBJECT COUNT (initial): 210 -> 210
HTTP/1.1 400
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 10 Aug 2026 16:31:31 GMT
Connection: close
{
"timestamp": "2026-08-10 04:31:31",
"path": "",
"statusCode": 400,
"statusPhrase": "Bad Request",
"message": "ERROR: [400] Unable to find debitorRel.contact.uuid: 00000000-0000-0000-0000-000000000000"
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_canNotAddDebitor_ifContactDoesNotExist(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_withoutAssumedRole_canAddDebitorWithBankAccount(): TOTAL OBJECT COUNT (initial): 210 -> 210
HTTP/1.1 201
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Location: http://localhost:44731/api/hs/office/debitors/943184af-c335-40c8-b27e-7bc9f133f06b
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 10 Aug 2026 16:31:32 GMT
Keep-Alive: timeout=60
Connection: keep-alive
{
"uuid": "943184af-c335-40c8-b27e-7bc9f133f06b",
"debitorRel": {
"uuid": "b3f44c44-2afd-45c2-8670-613bb81d807e",
"anchor": {
"uuid": "b8d03ede-7c1b-4f1b-88b4-14f39f9edb42",
"personType": "INCORPORATED_FIRM",
"tradeName": "Third OHG",
"salutation": null,
"title": null,
"givenName": null,
"familyName": null
},
"holder": {
"uuid": "51e1eada-c81f-40c0-9e0c-007cb423e399",
"personType": "LEGAL_PERSON",
"tradeName": "Fourth eG",
"salutation": null,
"title": null,
"givenName": null,
"familyName": null
},
"type": "DEBITOR",
"mark": null,
"contact": {
"uuid": "68d38f2a-96db-4dda-a4e2-d92aaefced7b",
"caption": "fourth contact",
"postalAddress": {
"country": "Germany"
},
"emailAddresses": {
"main": "contact-admin@fourthcontact.example.com"
},
"phoneNumbers": {
"phone_office": "+49 123 1234567"
}
}
},
"debitorNumber": "D-1000398",
"debitorNumberSuffix": "98",
"partner": {
"uuid": "6e64c559-27b7-4a1d-8916-bcff87dab2b6",
"partnerNumber": "P-10003",
"partnerRel": {
"uuid": "59010751-306f-4f33-a5f4-15a79f8f0f32",
"anchor": {
"uuid": "dec68a50-b2c0-4351-a344-f986596b8acb",
"personType": "LEGAL_PERSON",
"tradeName": "Hostsharing eG",
"salutation": null,
"title": null,
"givenName": null,
"familyName": null
},
"holder": {
"uuid": "b8d03ede-7c1b-4f1b-88b4-14f39f9edb42",
"personType": "INCORPORATED_FIRM",
"tradeName": "Third OHG",
"salutation": null,
"title": null,
"givenName": null,
"familyName": null
},
"type": "PARTNER",
"mark": null,
"contact": {
"uuid": "75e70f65-f08d-4811-8d79-636ebe498e37",
"caption": "third contact",
"postalAddress": {
"country": "Germany"
},
"emailAddresses": {
"main": "contact-admin@thirdcontact.example.com"
},
"phoneNumbers": {
"phone_office": "+49 123 1234567"
}
}
},
"details": {
"uuid": "56538b4d-be1e-4e55-abd9-1b6177f46532",
"registrationOffice": "Hamburg",
"registrationNumber": "RegNo123456789",
"birthName": null,
"birthPlace": null,
"birthday": null,
"dateOfDeath": null
}
},
"billable": true,
"vatId": "VAT123456",
"vatCountryCode": "DE",
"vatBusiness": true,
"vatReverseCharge": false,
"refundBankAccount": {
"uuid": "423d7099-f7db-407c-9a48-b3e6c4b7b4c5",
"holder": "Fourth eG",
"iban": "DE02200505501015871393",
"bic": "HASPDEHH"
},
"defaultPrefix": "for"
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
2026-08-10T16:31:32.925Z WARN 382 --- [ Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: 23503
2026-08-10T16:31:32.925Z ERROR 382 --- [ Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper : ERROR: update or delete on table "relation" violates foreign key constraint "debitor_debitorreluuid_fkey" on table "debitor"
Detail: Key (uuid)=(b3f44c44-2afd-45c2-8670-613bb81d807e) is still referenced from table "debitor".
DELETING leaked hs_office.relation#b3f44c44-2afd-45c2-8670-613bb81d807e FAILED org.hibernate.exception.ConstraintViolationException: JDBC exception executing SQL [DELETE FROM hs_office.relation WHERE uuid=?] [ERROR: update or delete on table "relation" violates foreign key constraint "debitor_debitorreluuid_fkey" on table "debitor"
Detail: Key (uuid)=(b3f44c44-2afd-45c2-8670-613bb81d807e) is still referenced from table "debitor".] [n/a]
DELETING leaked hs_office.debitor#943184af-c335-40c8-b27e-7bc9f133f06b SUCCEEDED
globalAdmin_withoutAssumedRole_canAddDebitorWithBankAccount(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_canNotAddDebitor_ifDebitorRelDoesNotExist(): TOTAL OBJECT COUNT (initial): 210 -> 210
HTTP/1.1 400
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 10 Aug 2026 16:31:34 GMT
Connection: close
{
"timestamp": "2026-08-10 04:31:34",
"path": "",
"statusCode": 400,
"statusPhrase": "Bad Request",
"message": "ERROR: [400] Unable to find debitorRel.uuid: 00000000-0000-0000-0000-000000000000"
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_canNotAddDebitor_ifDebitorRelDoesNotExist(): TOTAL OBJECT COUNT (after): 210 -> 210