PatchPartner

4

tests

0

failures

0

ignored

5.554s

duration

100%

successful

Tests

Test Duration Result
globalAdmin_withoutAssumedRole_canPatchAllPropertiesOfArbitraryPartner() 1.345s passed
globalAdmin_withoutAssumedRole_canPatchPartialPropertiesOfArbitraryPartner() 1.419s passed
partnerAdminCanNotPatchThePartnerPersonToAnInvisiblePerson() 1.381s passed
patchingThePartnerPersonCreatesExPartnerRel() 1.409s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
partnerAdminCanNotPatchThePartnerPersonToAnInvisiblePerson(): TOTAL OBJECT COUNT (initial): 210 -> 210
toCleanup(class net.hostsharing.hsadminng.hs.office.relation.HsOfficeRelationRealEntity, 7de54ad8-9002-4b20-90ae-f3ab2e096648
{
    "timestamp": "2026-08-10 01:35:11",
    "path": "",
    "statusCode": 404,
    "statusPhrase": "Not Found",
    "message": "ERROR: [404] cannot find Person by holder.uuid: 13ee1660-ea5a-48e8-b70e-256ef7141cab"
}
executing cleanupAllNew: HsOfficePartnerRbacEntity
executing cleanupAllNew: HsOfficeRelationRealEntity
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
DELETING temporary HsOfficeRelationRealEntity#7de54ad8-9002-4b20-90ae-f3ab2e096648 deleted 1 rows
2026-08-10T13:35:11.610Z  WARN 370 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23503
2026-08-10T13:35:11.611Z ERROR 370 --- [    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)=(073c6b13-7d0f-4742-9723-403d89de6380) is still referenced from table "partner".
DELETING leaked hs_office.relation#073c6b13-7d0f-4742-9723-403d89de6380 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)=(073c6b13-7d0f-4742-9723-403d89de6380) is still referenced from table "partner".] [n/a]
2026-08-10T13:35:11.614Z  WARN 370 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23503
2026-08-10T13:35:11.614Z ERROR 370 --- [    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)=(7d1bc214-fa17-4ccb-915b-3a4c946fd16a) is still referenced from table "partner".
DELETING leaked hs_office.partner_details#7d1bc214-fa17-4ccb-915b-3a4c946fd16a 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)=(7d1bc214-fa17-4ccb-915b-3a4c946fd16a) is still referenced from table "partner".] [n/a]
DELETING leaked hs_office.partner#8f84cb13-602a-4ee9-b336-f883501e0c24 SUCCEEDED
partnerAdminCanNotPatchThePartnerPersonToAnInvisiblePerson(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
patchingThePartnerPersonCreatesExPartnerRel(): TOTAL OBJECT COUNT (initial): 210 -> 210
{
    "uuid": "f24415e4-d682-41c8-9d20-4011e30f5137",
    "partnerNumber": "P-20011",
    "partnerRel": {
        "uuid": "031dc23b-371c-4178-b06b-c20a22a203a1",
        "anchor": {
            "uuid": "82731678-fdab-4592-a13a-fa40943260da",
            "personType": "LEGAL_PERSON",
            "tradeName": "Hostsharing eG",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "holder": {
            "uuid": "2df0417d-0113-42b0-be52-66f82442e6c3",
            "personType": "NATURAL_PERSON",
            "tradeName": null,
            "salutation": null,
            "title": null,
            "givenName": "Paul",
            "familyName": "Winkler"
        },
        "type": "PARTNER",
        "mark": null,
        "contact": {
            "uuid": "98c6b635-bcc0-4c00-96e1-dda829f5e55b",
            "caption": "fourth contact",
            "postalAddress": {
                "country": "Germany"
            },
            "emailAddresses": {
                "main": "contact-admin@fourthcontact.example.com"
            },
            "phoneNumbers": {
                "phone_office": "+49 123 1234567"
            }
        }
    },
    "details": {
        "uuid": "be30f419-d11f-45a1-9a2a-5246287ef8e6",
        "registrationOffice": "Temp Registergericht Leer",
        "registrationNumber": "333333",
        "birthName": null,
        "birthPlace": null,
        "birthday": null,
        "dateOfDeath": null
    }
}
executing cleanupAllNew: HsOfficePartnerRbacEntity
executing cleanupAllNew: HsOfficeRelationRealEntity
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
2026-08-10T13:35:13.015Z  WARN 370 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23503
2026-08-10T13:35:13.015Z ERROR 370 --- [    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)=(031dc23b-371c-4178-b06b-c20a22a203a1) is still referenced from table "partner".
DELETING leaked hs_office.relation#031dc23b-371c-4178-b06b-c20a22a203a1 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)=(031dc23b-371c-4178-b06b-c20a22a203a1) is still referenced from table "partner".] [n/a]
2026-08-10T13:35:13.017Z  WARN 370 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23503
2026-08-10T13:35:13.017Z ERROR 370 --- [    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)=(be30f419-d11f-45a1-9a2a-5246287ef8e6) is still referenced from table "partner".
DELETING leaked hs_office.partner_details#be30f419-d11f-45a1-9a2a-5246287ef8e6 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)=(be30f419-d11f-45a1-9a2a-5246287ef8e6) is still referenced from table "partner".] [n/a]
DELETING leaked hs_office.partner#f24415e4-d682-41c8-9d20-4011e30f5137 SUCCEEDED
DELETING leaked hs_office.relation#133a6a50-0391-4e0d-b67d-0b35ddcc0e31 SUCCEEDED
patchingThePartnerPersonCreatesExPartnerRel(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_withoutAssumedRole_canPatchAllPropertiesOfArbitraryPartner(): TOTAL OBJECT COUNT (initial): 210 -> 210
{
    "uuid": "888ef11d-ebc8-49f4-9d8b-4d3200cb6ca2",
    "partnerNumber": "P-20011",
    "partnerRel": {
        "uuid": "fc876c18-10fd-4200-a23c-035eb854cc09",
        "anchor": {
            "uuid": "82731678-fdab-4592-a13a-fa40943260da",
            "personType": "LEGAL_PERSON",
            "tradeName": "Hostsharing eG",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "holder": {
            "uuid": "2df0417d-0113-42b0-be52-66f82442e6c3",
            "personType": "NATURAL_PERSON",
            "tradeName": null,
            "salutation": null,
            "title": null,
            "givenName": "Paul",
            "familyName": "Winkler"
        },
        "type": "PARTNER",
        "mark": null,
        "contact": {
            "uuid": "98c6b635-bcc0-4c00-96e1-dda829f5e55b",
            "caption": "fourth contact",
            "postalAddress": {
                "country": "Germany"
            },
            "emailAddresses": {
                "main": "contact-admin@fourthcontact.example.com"
            },
            "phoneNumbers": {
                "phone_office": "+49 123 1234567"
            }
        }
    },
    "details": {
        "uuid": "e0c031e4-3a87-4e15-b302-3b1e2c3a81e6",
        "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-10T13:35:14.348Z  WARN 370 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23503
2026-08-10T13:35:14.348Z ERROR 370 --- [    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)=(fc876c18-10fd-4200-a23c-035eb854cc09) is still referenced from table "partner".
DELETING leaked hs_office.relation#fc876c18-10fd-4200-a23c-035eb854cc09 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)=(fc876c18-10fd-4200-a23c-035eb854cc09) is still referenced from table "partner".] [n/a]
2026-08-10T13:35:14.350Z  WARN 370 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23503
2026-08-10T13:35:14.350Z ERROR 370 --- [    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)=(e0c031e4-3a87-4e15-b302-3b1e2c3a81e6) is still referenced from table "partner".
DELETING leaked hs_office.partner_details#e0c031e4-3a87-4e15-b302-3b1e2c3a81e6 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)=(e0c031e4-3a87-4e15-b302-3b1e2c3a81e6) is still referenced from table "partner".] [n/a]
DELETING leaked hs_office.partner#888ef11d-ebc8-49f4-9d8b-4d3200cb6ca2 SUCCEEDED
DELETING leaked hs_office.relation#0f9cff0e-282c-46b2-a668-004328abd954 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-10T13:35:15.744Z  WARN 370 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23503
2026-08-10T13:35:15.744Z ERROR 370 --- [    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)=(0ce806d7-a52d-4530-8d15-907e5b7dd946) is still referenced from table "partner".
DELETING leaked hs_office.relation#0ce806d7-a52d-4530-8d15-907e5b7dd946 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)=(0ce806d7-a52d-4530-8d15-907e5b7dd946) is still referenced from table "partner".] [n/a]
2026-08-10T13:35:15.746Z  WARN 370 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23503
2026-08-10T13:35:15.746Z ERROR 370 --- [    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)=(6c273735-5b96-40af-a116-d20dcaccf441) is still referenced from table "partner".
DELETING leaked hs_office.partner_details#6c273735-5b96-40af-a116-d20dcaccf441 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)=(6c273735-5b96-40af-a116-d20dcaccf441) is still referenced from table "partner".] [n/a]
DELETING leaked hs_office.partner#c200a947-de64-4556-982a-e11a2c1146df SUCCEEDED
globalAdmin_withoutAssumedRole_canPatchPartialPropertiesOfArbitraryPartner(): TOTAL OBJECT COUNT (after): 210 -> 210