ContextBasedTestWithCleanup.retrieveInitialTestData
partnerAdminCanNotPatchThePartnerPersonToAnInvisiblePerson(): TOTAL OBJECT COUNT (initial): 210 -> 210
toCleanup(class net.hostsharing.hsadminng.hs.office.relation.HsOfficeRelationRealEntity, d1122acd-4a74-4131-acd5-2fb56d80525e
{
"timestamp": "2026-08-10 04:31:39",
"path": "",
"statusCode": 404,
"statusPhrase": "Not Found",
"message": "ERROR: [404] cannot find Person by holder.uuid: 0a39cc13-9454-4d4c-83c0-fc3bfa4eee96"
}
executing cleanupAllNew: HsOfficePartnerRbacEntity
executing cleanupAllNew: HsOfficeRelationRealEntity
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
DELETING temporary HsOfficeRelationRealEntity#d1122acd-4a74-4131-acd5-2fb56d80525e deleted 1 rows
2026-08-10T16:31:39.419Z WARN 368 --- [ Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: 23503
2026-08-10T16:31:39.419Z ERROR 368 --- [ 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)=(9f6d2059-ccc4-4bcc-a8ec-d0bf4eaa5f8b) is still referenced from table "partner".
DELETING leaked hs_office.relation#9f6d2059-ccc4-4bcc-a8ec-d0bf4eaa5f8b 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)=(9f6d2059-ccc4-4bcc-a8ec-d0bf4eaa5f8b) is still referenced from table "partner".] [n/a]
2026-08-10T16:31:39.422Z WARN 368 --- [ Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: 23503
2026-08-10T16:31:39.423Z ERROR 368 --- [ 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)=(5dda15da-8033-4bcb-a462-3813364f23b5) is still referenced from table "partner".
DELETING leaked hs_office.partner_details#5dda15da-8033-4bcb-a462-3813364f23b5 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)=(5dda15da-8033-4bcb-a462-3813364f23b5) is still referenced from table "partner".] [n/a]
DELETING leaked hs_office.partner#8b20fc6f-e6ae-4724-a6ca-def8d4d5aefc SUCCEEDED
partnerAdminCanNotPatchThePartnerPersonToAnInvisiblePerson(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
patchingThePartnerPersonCreatesExPartnerRel(): TOTAL OBJECT COUNT (initial): 210 -> 210
{
"uuid": "98a314c3-9672-4f42-996b-852cc8a6d6be",
"partnerNumber": "P-20011",
"partnerRel": {
"uuid": "4dacb55d-0aee-4e6a-ae3f-23086fb8b89a",
"anchor": {
"uuid": "69c868e1-4950-40e0-aacf-85704d6e2c59",
"personType": "LEGAL_PERSON",
"tradeName": "Hostsharing eG",
"salutation": null,
"title": null,
"givenName": null,
"familyName": null
},
"holder": {
"uuid": "c96f9f19-97ce-43d6-a74e-073dac84e7cc",
"personType": "NATURAL_PERSON",
"tradeName": null,
"salutation": null,
"title": null,
"givenName": "Paul",
"familyName": "Winkler"
},
"type": "PARTNER",
"mark": null,
"contact": {
"uuid": "2a2c91a0-ee65-496c-b37d-1dc118e88d69",
"caption": "fourth contact",
"postalAddress": {
"country": "Germany"
},
"emailAddresses": {
"main": "contact-admin@fourthcontact.example.com"
},
"phoneNumbers": {
"phone_office": "+49 123 1234567"
}
}
},
"details": {
"uuid": "be0346a4-be43-4b26-80a5-57c1a089ea0d",
"registrationOffice": "Temp Registergericht Leer",
"registrationNumber": "333333",
"birthName": null,
"birthPlace": null,
"birthday": null,
"dateOfDeath": null
}
}
executing cleanupAllNew: HsOfficePartnerRbacEntity
executing cleanupAllNew: HsOfficeRelationRealEntity
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
2026-08-10T16:31:40.913Z WARN 368 --- [ Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: 23503
2026-08-10T16:31:40.914Z ERROR 368 --- [ 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)=(4dacb55d-0aee-4e6a-ae3f-23086fb8b89a) is still referenced from table "partner".
DELETING leaked hs_office.relation#4dacb55d-0aee-4e6a-ae3f-23086fb8b89a 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)=(4dacb55d-0aee-4e6a-ae3f-23086fb8b89a) is still referenced from table "partner".] [n/a]
2026-08-10T16:31:40.916Z WARN 368 --- [ Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: 23503
2026-08-10T16:31:40.916Z ERROR 368 --- [ 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)=(be0346a4-be43-4b26-80a5-57c1a089ea0d) is still referenced from table "partner".
DELETING leaked hs_office.partner_details#be0346a4-be43-4b26-80a5-57c1a089ea0d 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)=(be0346a4-be43-4b26-80a5-57c1a089ea0d) is still referenced from table "partner".] [n/a]
DELETING leaked hs_office.partner#98a314c3-9672-4f42-996b-852cc8a6d6be SUCCEEDED
DELETING leaked hs_office.relation#c2c57a65-7335-4c52-8b28-af014deb53eb SUCCEEDED
patchingThePartnerPersonCreatesExPartnerRel(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_withoutAssumedRole_canPatchAllPropertiesOfArbitraryPartner(): TOTAL OBJECT COUNT (initial): 210 -> 210
{
"uuid": "73aaebac-fd0d-410e-a654-180b9ada33ed",
"partnerNumber": "P-20011",
"partnerRel": {
"uuid": "2f21d2f5-9354-400b-b045-a75c07588f72",
"anchor": {
"uuid": "69c868e1-4950-40e0-aacf-85704d6e2c59",
"personType": "LEGAL_PERSON",
"tradeName": "Hostsharing eG",
"salutation": null,
"title": null,
"givenName": null,
"familyName": null
},
"holder": {
"uuid": "c96f9f19-97ce-43d6-a74e-073dac84e7cc",
"personType": "NATURAL_PERSON",
"tradeName": null,
"salutation": null,
"title": null,
"givenName": "Paul",
"familyName": "Winkler"
},
"type": "PARTNER",
"mark": null,
"contact": {
"uuid": "2a2c91a0-ee65-496c-b37d-1dc118e88d69",
"caption": "fourth contact",
"postalAddress": {
"country": "Germany"
},
"emailAddresses": {
"main": "contact-admin@fourthcontact.example.com"
},
"phoneNumbers": {
"phone_office": "+49 123 1234567"
}
}
},
"details": {
"uuid": "4e3bfe7a-317e-414c-8092-35ea83c11af7",
"registrationOffice": "Temp Registergericht Aurich",
"registrationNumber": "222222",
"birthName": "Maja Schmidt",
"birthPlace": null,
"birthday": "1938-04-08",
"dateOfDeath": "2022-01-12"
}
}
executing cleanupAllNew: HsOfficePartnerRbacEntity
executing cleanupAllNew: HsOfficeRelationRealEntity
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
2026-08-10T16:31:42.322Z WARN 368 --- [ Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: 23503
2026-08-10T16:31:42.322Z ERROR 368 --- [ 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)=(2f21d2f5-9354-400b-b045-a75c07588f72) is still referenced from table "partner".
DELETING leaked hs_office.relation#2f21d2f5-9354-400b-b045-a75c07588f72 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)=(2f21d2f5-9354-400b-b045-a75c07588f72) is still referenced from table "partner".] [n/a]
2026-08-10T16:31:42.324Z WARN 368 --- [ Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: 23503
2026-08-10T16:31:42.324Z ERROR 368 --- [ 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)=(4e3bfe7a-317e-414c-8092-35ea83c11af7) is still referenced from table "partner".
DELETING leaked hs_office.partner_details#4e3bfe7a-317e-414c-8092-35ea83c11af7 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)=(4e3bfe7a-317e-414c-8092-35ea83c11af7) is still referenced from table "partner".] [n/a]
DELETING leaked hs_office.partner#73aaebac-fd0d-410e-a654-180b9ada33ed SUCCEEDED
DELETING leaked hs_office.relation#5aced2d9-a2e7-41ff-a6be-11a87b5aee54 SUCCEEDED
globalAdmin_withoutAssumedRole_canPatchAllPropertiesOfArbitraryPartner(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_withoutAssumedRole_canPatchPartialPropertiesOfArbitraryPartner(): TOTAL OBJECT COUNT (initial): 210 -> 210
executing cleanupAllNew: HsOfficePartnerRbacEntity
executing cleanupAllNew: HsOfficeRelationRealEntity
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
2026-08-10T16:31:43.755Z WARN 368 --- [ Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: 23503
2026-08-10T16:31:43.756Z ERROR 368 --- [ 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)=(748e4096-ab04-4e9c-9ba5-49f6f03389f1) is still referenced from table "partner".
DELETING leaked hs_office.relation#748e4096-ab04-4e9c-9ba5-49f6f03389f1 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)=(748e4096-ab04-4e9c-9ba5-49f6f03389f1) is still referenced from table "partner".] [n/a]
2026-08-10T16:31:43.758Z WARN 368 --- [ Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: 23503
2026-08-10T16:31:43.758Z ERROR 368 --- [ 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)=(89cca8ea-8ced-4961-a2a4-f83cb3ae240c) is still referenced from table "partner".
DELETING leaked hs_office.partner_details#89cca8ea-8ced-4961-a2a4-f83cb3ae240c 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)=(89cca8ea-8ced-4961-a2a4-f83cb3ae240c) is still referenced from table "partner".] [n/a]
DELETING leaked hs_office.partner#62a5aa59-15cc-4e10-a549-e4704d3874fa SUCCEEDED
globalAdmin_withoutAssumedRole_canPatchPartialPropertiesOfArbitraryPartner(): TOTAL OBJECT COUNT (after): 210 -> 210