PatchPartner

4

tests

0

failures

0

ignored

5.750s

duration

100%

successful

Tests

Test Duration Result
globalAdmin_withoutAssumedRole_canPatchAllPropertiesOfArbitraryPartner() 1.482s passed
globalAdmin_withoutAssumedRole_canPatchPartialPropertiesOfArbitraryPartner() 1.471s passed
partnerAdminCanNotPatchThePartnerPersonToAnInvisiblePerson() 1.395s passed
patchingThePartnerPersonCreatesExPartnerRel() 1.402s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
partnerAdminCanNotPatchThePartnerPersonToAnInvisiblePerson(): TOTAL OBJECT COUNT (initial): 210 -> 210
toCleanup(class net.hostsharing.hsadminng.hs.office.relation.HsOfficeRelationRealEntity, aedfb9ac-19c8-4bad-b716-b3b87783d420
{
    "timestamp": "2026-08-10 03:05:52",
    "path": "",
    "statusCode": 404,
    "statusPhrase": "Not Found",
    "message": "ERROR: [404] cannot find Person by holder.uuid: a1bdcff5-9d99-439f-9911-200468f1b90e"
}
executing cleanupAllNew: HsOfficePartnerRbacEntity
executing cleanupAllNew: HsOfficeRelationRealEntity
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
DELETING temporary HsOfficeRelationRealEntity#aedfb9ac-19c8-4bad-b716-b3b87783d420 deleted 1 rows
2026-08-10T15:05:52.556Z  WARN 380 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23503
2026-08-10T15:05:52.556Z 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)=(dbc1e00f-4948-4acb-b225-b702e7d21d5d) is still referenced from table "partner".
DELETING leaked hs_office.relation#dbc1e00f-4948-4acb-b225-b702e7d21d5d 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)=(dbc1e00f-4948-4acb-b225-b702e7d21d5d) is still referenced from table "partner".] [n/a]
2026-08-10T15:05:52.558Z  WARN 380 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23503
2026-08-10T15:05:52.558Z 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)=(f102dbd1-f0f7-42c8-86f7-5c90fe788a0a) is still referenced from table "partner".
DELETING leaked hs_office.partner_details#f102dbd1-f0f7-42c8-86f7-5c90fe788a0a 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)=(f102dbd1-f0f7-42c8-86f7-5c90fe788a0a) is still referenced from table "partner".] [n/a]
DELETING leaked hs_office.partner#4957bbbf-7351-46ca-a4f2-95f26f24035c SUCCEEDED
partnerAdminCanNotPatchThePartnerPersonToAnInvisiblePerson(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
patchingThePartnerPersonCreatesExPartnerRel(): TOTAL OBJECT COUNT (initial): 210 -> 210
{
    "uuid": "5a1b0ea1-aaca-4773-9134-c6b27925a761",
    "partnerNumber": "P-20011",
    "partnerRel": {
        "uuid": "73d06919-66d3-48cd-bccf-de2116546c50",
        "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": "92e17c0c-b9da-4c29-b851-f8cfd0c92889",
        "registrationOffice": "Temp Registergericht Leer",
        "registrationNumber": "333333",
        "birthName": null,
        "birthPlace": null,
        "birthday": null,
        "dateOfDeath": null
    }
}
executing cleanupAllNew: HsOfficePartnerRbacEntity
executing cleanupAllNew: HsOfficeRelationRealEntity
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
2026-08-10T15:05:53.962Z  WARN 380 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23503
2026-08-10T15:05:53.962Z 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)=(73d06919-66d3-48cd-bccf-de2116546c50) is still referenced from table "partner".
DELETING leaked hs_office.relation#73d06919-66d3-48cd-bccf-de2116546c50 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)=(73d06919-66d3-48cd-bccf-de2116546c50) is still referenced from table "partner".] [n/a]
2026-08-10T15:05:53.964Z  WARN 380 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23503
2026-08-10T15:05:53.964Z 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)=(92e17c0c-b9da-4c29-b851-f8cfd0c92889) is still referenced from table "partner".
DELETING leaked hs_office.partner_details#92e17c0c-b9da-4c29-b851-f8cfd0c92889 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)=(92e17c0c-b9da-4c29-b851-f8cfd0c92889) is still referenced from table "partner".] [n/a]
DELETING leaked hs_office.partner#5a1b0ea1-aaca-4773-9134-c6b27925a761 SUCCEEDED
DELETING leaked hs_office.relation#eda0abae-d7bc-4151-9a81-ba762ee3a7e6 SUCCEEDED
patchingThePartnerPersonCreatesExPartnerRel(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_withoutAssumedRole_canPatchAllPropertiesOfArbitraryPartner(): TOTAL OBJECT COUNT (initial): 210 -> 210
{
    "uuid": "b9f7ee75-3b9d-4871-81af-dcf7b7d58c87",
    "partnerNumber": "P-20011",
    "partnerRel": {
        "uuid": "fd471241-d02b-49cf-aaa2-99cc9850a069",
        "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": "dd6532e9-8479-442b-b88e-9de345a41628",
        "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-10T15:05:55.438Z  WARN 380 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23503
2026-08-10T15:05:55.438Z 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)=(fd471241-d02b-49cf-aaa2-99cc9850a069) is still referenced from table "partner".
DELETING leaked hs_office.relation#fd471241-d02b-49cf-aaa2-99cc9850a069 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)=(fd471241-d02b-49cf-aaa2-99cc9850a069) is still referenced from table "partner".] [n/a]
2026-08-10T15:05:55.440Z  WARN 380 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23503
2026-08-10T15:05:55.440Z 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)=(dd6532e9-8479-442b-b88e-9de345a41628) is still referenced from table "partner".
DELETING leaked hs_office.partner_details#dd6532e9-8479-442b-b88e-9de345a41628 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)=(dd6532e9-8479-442b-b88e-9de345a41628) is still referenced from table "partner".] [n/a]
DELETING leaked hs_office.partner#b9f7ee75-3b9d-4871-81af-dcf7b7d58c87 SUCCEEDED
DELETING leaked hs_office.relation#1cb62ed2-f17f-42d3-b498-08615855341f 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-10T15:05:56.905Z  WARN 380 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23503
2026-08-10T15:05:56.905Z 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)=(b3298c9f-c8e0-4484-90de-d32d521dd684) is still referenced from table "partner".
DELETING leaked hs_office.relation#b3298c9f-c8e0-4484-90de-d32d521dd684 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)=(b3298c9f-c8e0-4484-90de-d32d521dd684) is still referenced from table "partner".] [n/a]
2026-08-10T15:05:56.907Z  WARN 380 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23503
2026-08-10T15:05:56.907Z 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)=(64929240-e1d3-417a-a6a3-f8d45ce8f649) is still referenced from table "partner".
DELETING leaked hs_office.partner_details#64929240-e1d3-417a-a6a3-f8d45ce8f649 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)=(64929240-e1d3-417a-a6a3-f8d45ce8f649) is still referenced from table "partner".] [n/a]
DELETING leaked hs_office.partner#527b0695-88c4-43a4-84e8-40cbabd7c7da SUCCEEDED
globalAdmin_withoutAssumedRole_canPatchPartialPropertiesOfArbitraryPartner(): TOTAL OBJECT COUNT (after): 210 -> 210