ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_canNotPostNewPartner_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:06:02 GMT
Connection: close
{
"timestamp": "2026-08-10 03:06:02",
"path": "",
"statusCode": 400,
"statusPhrase": "Bad Request",
"message": "ERROR: [400] Unable to find net.hostsharing.hsadminng.hs.office.contact.HsOfficeContactRealEntity with id 00000000-0000-0000-0000-000000000000"
}
executing cleanupAllNew: HsOfficePartnerRbacEntity
executing cleanupAllNew: HsOfficeRelationRealEntity
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_canNotPostNewPartner_ifContactDoesNotExist(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_canNotPostNewPartner_ifPersonDoesNotExist(): 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:06:03 GMT
Connection: close
{
"timestamp": "2026-08-10 03:06:03",
"path": "",
"statusCode": 400,
"statusPhrase": "Bad Request",
"message": "ERROR: [400] Unable to find net.hostsharing.hsadminng.hs.office.person.HsOfficePersonRealEntity with id 00000000-0000-0000-0000-000000000000"
}
executing cleanupAllNew: HsOfficePartnerRbacEntity
executing cleanupAllNew: HsOfficeRelationRealEntity
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_canNotPostNewPartner_ifPersonDoesNotExist(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_withoutAssumedRole_canPostNewPartner(): TOTAL OBJECT COUNT (initial): 210 -> 210
{
"uuid": "a2d92ed1-7cc2-47d8-91cd-bd02704e5123",
"partnerNumber": "P-20002",
"partnerRel": {
"uuid": "c8d96b8b-9fbf-4c35-8691-8778b80203a4",
"anchor": {
"uuid": "5ef7d2f4-0e87-4139-afab-fb996912b626",
"personType": "LEGAL_PERSON",
"tradeName": "Hostsharing eG",
"salutation": null,
"title": null,
"givenName": null,
"familyName": null
},
"holder": {
"uuid": "49d7e19b-96a7-47fc-b9e1-6af0eb0337f3",
"personType": "NATURAL_PERSON",
"tradeName": null,
"salutation": null,
"title": null,
"givenName": "Paul",
"familyName": "Winkler"
},
"type": "PARTNER",
"mark": null,
"contact": {
"uuid": "0bf741c6-3115-4f29-a47c-ac4b825f7cf3",
"caption": "fourth contact",
"postalAddress": {
"country": "Germany"
},
"emailAddresses": {
"main": "contact-admin@fourthcontact.example.com"
},
"phoneNumbers": {
"phone_office": "+49 123 1234567"
}
}
},
"details": {
"uuid": "5d2b43d5-a94f-4a4c-a631-6ee4f377d462",
"registrationOffice": "Temp Registergericht Aurich",
"registrationNumber": "111111",
"birthName": null,
"birthPlace": null,
"birthday": null,
"dateOfDeath": null
}
}
executing cleanupAllNew: HsOfficePartnerRbacEntity
executing cleanupAllNew: HsOfficeRelationRealEntity
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
2026-08-10T15:06:04.894Z WARN 380 --- [ Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: 23503
2026-08-10T15:06:04.894Z ERROR 380 --- [ Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper : ERROR: update or delete on table "relation" violates foreign key constraint "partner_partnerreluuid_fkey" on table "partner"
Detail: Key (uuid)=(c8d96b8b-9fbf-4c35-8691-8778b80203a4) is still referenced from table "partner".
DELETING leaked hs_office.relation#c8d96b8b-9fbf-4c35-8691-8778b80203a4 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 "partner_partnerreluuid_fkey" on table "partner"
Detail: Key (uuid)=(c8d96b8b-9fbf-4c35-8691-8778b80203a4) is still referenced from table "partner".] [n/a]
2026-08-10T15:06:04.896Z WARN 380 --- [ Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: 23503
2026-08-10T15:06:04.896Z ERROR 380 --- [ Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper : ERROR: update or delete on table "partner_details" violates foreign key constraint "partner_detailsuuid_fkey" on table "partner"
Detail: Key (uuid)=(5d2b43d5-a94f-4a4c-a631-6ee4f377d462) is still referenced from table "partner".
DELETING leaked hs_office.partner_details#5d2b43d5-a94f-4a4c-a631-6ee4f377d462 FAILED org.hibernate.exception.ConstraintViolationException: JDBC exception executing SQL [DELETE FROM hs_office.partner_details WHERE uuid=?] [ERROR: update or delete on table "partner_details" violates foreign key constraint "partner_detailsuuid_fkey" on table "partner"
Detail: Key (uuid)=(5d2b43d5-a94f-4a4c-a631-6ee4f377d462) is still referenced from table "partner".] [n/a]
DELETING leaked hs_office.partner#a2d92ed1-7cc2-47d8-91cd-bd02704e5123 SUCCEEDED
globalAdmin_withoutAssumedRole_canPostNewPartner(): TOTAL OBJECT COUNT (after): 210 -> 210