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:37195/api/hs/office/debitors/c185e235-ec6b-4a7a-b553-bc0df04728b3
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 15:05:38 GMT
Keep-Alive: timeout=60
Connection: keep-alive
{
"uuid": "c185e235-ec6b-4a7a-b553-bc0df04728b3",
"debitorRel": {
"uuid": "01475282-139a-4176-a676-ab2ea4377e51",
"anchor": {
"uuid": "e3ac44d5-488b-472e-9aa5-3fa76a3322cd",
"personType": "INCORPORATED_FIRM",
"tradeName": "Third OHG",
"salutation": null,
"title": null,
"givenName": null,
"familyName": null
},
"holder": {
"uuid": "e3ac44d5-488b-472e-9aa5-3fa76a3322cd",
"personType": "INCORPORATED_FIRM",
"tradeName": "Third OHG",
"salutation": null,
"title": null,
"givenName": null,
"familyName": null
},
"type": "DEBITOR",
"mark": null,
"contact": {
"uuid": "fb20a4af-4179-4ca3-a535-e3d0d1255290",
"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": "4a11aeab-817e-422f-a2f6-7dfb1b34a8e2",
"partnerNumber": "P-10003",
"partnerRel": {
"uuid": "ad18598e-f5bf-4b37-ac59-1bc437665361",
"anchor": {
"uuid": "fe35fd05-1333-4976-bf54-a56e4400148a",
"personType": "LEGAL_PERSON",
"tradeName": "Hostsharing eG",
"salutation": null,
"title": null,
"givenName": null,
"familyName": null
},
"holder": {
"uuid": "e3ac44d5-488b-472e-9aa5-3fa76a3322cd",
"personType": "INCORPORATED_FIRM",
"tradeName": "Third OHG",
"salutation": null,
"title": null,
"givenName": null,
"familyName": null
},
"type": "PARTNER",
"mark": null,
"contact": {
"uuid": "05baa815-8b92-4ea4-b8fa-03f10a8d36cf",
"caption": "third contact",
"postalAddress": {
"country": "Germany"
},
"emailAddresses": {
"main": "contact-admin@thirdcontact.example.com"
},
"phoneNumbers": {
"phone_office": "+49 123 1234567"
}
}
},
"details": {
"uuid": "e674cb59-53a6-44b1-822a-8d9c51c0e1ef",
"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-10T15:05:38.405Z WARN 371 --- [ Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: 23503
2026-08-10T15:05:38.405Z ERROR 371 --- [ 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)=(01475282-139a-4176-a676-ab2ea4377e51) is still referenced from table "debitor".
DELETING leaked hs_office.relation#01475282-139a-4176-a676-ab2ea4377e51 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)=(01475282-139a-4176-a676-ab2ea4377e51) is still referenced from table "debitor".] [n/a]
DELETING leaked hs_office.debitor#c185e235-ec6b-4a7a-b553-bc0df04728b3 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 15:05:39 GMT
Connection: close
{
"timestamp": "2026-08-10 03:05:39",
"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:37195/api/hs/office/debitors/1b51a29b-a499-4924-9f6a-468da95eb819
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 15:05:40 GMT
Keep-Alive: timeout=60
Connection: keep-alive
{
"uuid": "1b51a29b-a499-4924-9f6a-468da95eb819",
"debitorRel": {
"uuid": "e328eae4-d617-4725-8d0d-46b6b3fdbb11",
"anchor": {
"uuid": "e3ac44d5-488b-472e-9aa5-3fa76a3322cd",
"personType": "INCORPORATED_FIRM",
"tradeName": "Third OHG",
"salutation": null,
"title": null,
"givenName": null,
"familyName": null
},
"holder": {
"uuid": "9100db5a-8c6a-4e35-8f32-d53c00c5adf2",
"personType": "LEGAL_PERSON",
"tradeName": "Fourth eG",
"salutation": null,
"title": null,
"givenName": null,
"familyName": null
},
"type": "DEBITOR",
"mark": null,
"contact": {
"uuid": "fb20a4af-4179-4ca3-a535-e3d0d1255290",
"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": "4a11aeab-817e-422f-a2f6-7dfb1b34a8e2",
"partnerNumber": "P-10003",
"partnerRel": {
"uuid": "ad18598e-f5bf-4b37-ac59-1bc437665361",
"anchor": {
"uuid": "fe35fd05-1333-4976-bf54-a56e4400148a",
"personType": "LEGAL_PERSON",
"tradeName": "Hostsharing eG",
"salutation": null,
"title": null,
"givenName": null,
"familyName": null
},
"holder": {
"uuid": "e3ac44d5-488b-472e-9aa5-3fa76a3322cd",
"personType": "INCORPORATED_FIRM",
"tradeName": "Third OHG",
"salutation": null,
"title": null,
"givenName": null,
"familyName": null
},
"type": "PARTNER",
"mark": null,
"contact": {
"uuid": "05baa815-8b92-4ea4-b8fa-03f10a8d36cf",
"caption": "third contact",
"postalAddress": {
"country": "Germany"
},
"emailAddresses": {
"main": "contact-admin@thirdcontact.example.com"
},
"phoneNumbers": {
"phone_office": "+49 123 1234567"
}
}
},
"details": {
"uuid": "e674cb59-53a6-44b1-822a-8d9c51c0e1ef",
"registrationOffice": "Hamburg",
"registrationNumber": "RegNo123456789",
"birthName": null,
"birthPlace": null,
"birthday": null,
"dateOfDeath": null
}
},
"billable": true,
"vatId": "VAT123456",
"vatCountryCode": "DE",
"vatBusiness": true,
"vatReverseCharge": false,
"refundBankAccount": {
"uuid": "254ed054-8987-4388-81e1-dae6aaad752c",
"holder": "Fourth eG",
"iban": "DE02200505501015871393",
"bic": "HASPDEHH"
},
"defaultPrefix": "for"
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
2026-08-10T15:05:41.087Z WARN 371 --- [ Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: 23503
2026-08-10T15:05:41.088Z ERROR 371 --- [ 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)=(e328eae4-d617-4725-8d0d-46b6b3fdbb11) is still referenced from table "debitor".
DELETING leaked hs_office.relation#e328eae4-d617-4725-8d0d-46b6b3fdbb11 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)=(e328eae4-d617-4725-8d0d-46b6b3fdbb11) is still referenced from table "debitor".] [n/a]
DELETING leaked hs_office.debitor#1b51a29b-a499-4924-9f6a-468da95eb819 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 15:05:42 GMT
Connection: close
{
"timestamp": "2026-08-10 03:05:42",
"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