PatchPartner

4

tests

0

failures

0

ignored

5.767s

duration

100%

successful

Tests

Test Duration Result
globalAdmin_withoutAssumedRole_canPatchAllPropertiesOfArbitraryPartner() 1.436s passed
globalAdmin_withoutAssumedRole_canPatchPartialPropertiesOfArbitraryPartner() 1.398s passed
partnerAdminCanNotPatchThePartnerPersonToAnInvisiblePerson() 1.421s passed
patchingThePartnerPersonCreatesExPartnerRel() 1.512s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
partnerAdminCanNotPatchThePartnerPersonToAnInvisiblePerson(): TOTAL OBJECT COUNT (initial): 210 -> 210
toCleanup(class net.hostsharing.hsadminng.hs.office.relation.HsOfficeRelationRealEntity, 7e278fdf-2f2d-4e97-bd4c-d09fcc5e4773
{
    "timestamp": "2026-08-10 04:39:44",
    "path": "",
    "statusCode": 404,
    "statusPhrase": "Not Found",
    "message": "ERROR: [404] cannot find Person by holder.uuid: 81e3a834-5879-4a94-8471-381e4628f027"
}
executing cleanupAllNew: HsOfficePartnerRbacEntity
executing cleanupAllNew: HsOfficeRelationRealEntity
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
DELETING temporary HsOfficeRelationRealEntity#7e278fdf-2f2d-4e97-bd4c-d09fcc5e4773 deleted 1 rows
2026-08-10T16:39:44.561Z  WARN 369 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23503
2026-08-10T16:39:44.562Z ERROR 369 --- [    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)=(46119fb0-b797-42f2-9254-972101543a43) is still referenced from table "partner".
DELETING leaked hs_office.relation#46119fb0-b797-42f2-9254-972101543a43 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)=(46119fb0-b797-42f2-9254-972101543a43) is still referenced from table "partner".] [n/a]
2026-08-10T16:39:44.563Z  WARN 369 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23503
2026-08-10T16:39:44.563Z ERROR 369 --- [    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)=(7e175e80-60db-43df-9bfb-3c34ba183b76) is still referenced from table "partner".
DELETING leaked hs_office.partner_details#7e175e80-60db-43df-9bfb-3c34ba183b76 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)=(7e175e80-60db-43df-9bfb-3c34ba183b76) is still referenced from table "partner".] [n/a]
DELETING leaked hs_office.partner#3ef418a6-030c-4979-a51a-4a710b96c2ce SUCCEEDED
partnerAdminCanNotPatchThePartnerPersonToAnInvisiblePerson(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
patchingThePartnerPersonCreatesExPartnerRel(): TOTAL OBJECT COUNT (initial): 210 -> 210
{
    "uuid": "87d3a67b-08cc-472b-aef8-314310d816e9",
    "partnerNumber": "P-20011",
    "partnerRel": {
        "uuid": "2378f78c-2084-4b7b-8d67-2a5b791db950",
        "anchor": {
            "uuid": "9ee6188c-3e59-4b98-8aa3-5a6a81ffaac3",
            "personType": "LEGAL_PERSON",
            "tradeName": "Hostsharing eG",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "holder": {
            "uuid": "72b5e0c6-e1c6-4516-b8af-49eb8653da32",
            "personType": "NATURAL_PERSON",
            "tradeName": null,
            "salutation": null,
            "title": null,
            "givenName": "Paul",
            "familyName": "Winkler"
        },
        "type": "PARTNER",
        "mark": null,
        "contact": {
            "uuid": "783b408c-9a36-430a-8d67-6c85fbbb20a2",
            "caption": "fourth contact",
            "postalAddress": {
                "country": "Germany"
            },
            "emailAddresses": {
                "main": "contact-admin@fourthcontact.example.com"
            },
            "phoneNumbers": {
                "phone_office": "+49 123 1234567"
            }
        }
    },
    "details": {
        "uuid": "51289727-6266-4f7b-ab83-0c3b1779d06c",
        "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:39:46.030Z  WARN 369 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23503
2026-08-10T16:39:46.030Z ERROR 369 --- [    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)=(2378f78c-2084-4b7b-8d67-2a5b791db950) is still referenced from table "partner".
DELETING leaked hs_office.relation#2378f78c-2084-4b7b-8d67-2a5b791db950 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)=(2378f78c-2084-4b7b-8d67-2a5b791db950) is still referenced from table "partner".] [n/a]
2026-08-10T16:39:46.038Z  WARN 369 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23503
2026-08-10T16:39:46.039Z ERROR 369 --- [    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)=(51289727-6266-4f7b-ab83-0c3b1779d06c) is still referenced from table "partner".
DELETING leaked hs_office.partner_details#51289727-6266-4f7b-ab83-0c3b1779d06c 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)=(51289727-6266-4f7b-ab83-0c3b1779d06c) is still referenced from table "partner".] [n/a]
DELETING leaked hs_office.partner#87d3a67b-08cc-472b-aef8-314310d816e9 SUCCEEDED
DELETING leaked hs_office.relation#345924bd-9ce2-48f1-b85d-371c3d3779fe SUCCEEDED
patchingThePartnerPersonCreatesExPartnerRel(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_withoutAssumedRole_canPatchAllPropertiesOfArbitraryPartner(): TOTAL OBJECT COUNT (initial): 210 -> 210
{
    "uuid": "edc5eeb5-f25e-41ea-b56c-ae24771e9235",
    "partnerNumber": "P-20011",
    "partnerRel": {
        "uuid": "8a5259f1-fa35-4af8-ad43-969c8ab36db6",
        "anchor": {
            "uuid": "9ee6188c-3e59-4b98-8aa3-5a6a81ffaac3",
            "personType": "LEGAL_PERSON",
            "tradeName": "Hostsharing eG",
            "salutation": null,
            "title": null,
            "givenName": null,
            "familyName": null
        },
        "holder": {
            "uuid": "72b5e0c6-e1c6-4516-b8af-49eb8653da32",
            "personType": "NATURAL_PERSON",
            "tradeName": null,
            "salutation": null,
            "title": null,
            "givenName": "Paul",
            "familyName": "Winkler"
        },
        "type": "PARTNER",
        "mark": null,
        "contact": {
            "uuid": "783b408c-9a36-430a-8d67-6c85fbbb20a2",
            "caption": "fourth contact",
            "postalAddress": {
                "country": "Germany"
            },
            "emailAddresses": {
                "main": "contact-admin@fourthcontact.example.com"
            },
            "phoneNumbers": {
                "phone_office": "+49 123 1234567"
            }
        }
    },
    "details": {
        "uuid": "ff8e5d74-f110-44d3-a47b-503958ccde9a",
        "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:39:47.511Z  WARN 369 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23503
2026-08-10T16:39:47.511Z ERROR 369 --- [    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)=(8a5259f1-fa35-4af8-ad43-969c8ab36db6) is still referenced from table "partner".
DELETING leaked hs_office.relation#8a5259f1-fa35-4af8-ad43-969c8ab36db6 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)=(8a5259f1-fa35-4af8-ad43-969c8ab36db6) is still referenced from table "partner".] [n/a]
2026-08-10T16:39:47.513Z  WARN 369 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23503
2026-08-10T16:39:47.513Z ERROR 369 --- [    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)=(ff8e5d74-f110-44d3-a47b-503958ccde9a) is still referenced from table "partner".
DELETING leaked hs_office.partner_details#ff8e5d74-f110-44d3-a47b-503958ccde9a 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)=(ff8e5d74-f110-44d3-a47b-503958ccde9a) is still referenced from table "partner".] [n/a]
DELETING leaked hs_office.partner#edc5eeb5-f25e-41ea-b56c-ae24771e9235 SUCCEEDED
DELETING leaked hs_office.relation#aa42a274-3eee-4223-be88-0df2e25e583b 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:39:48.917Z  WARN 369 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23503
2026-08-10T16:39:48.917Z ERROR 369 --- [    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)=(aacc5158-a3bb-47d8-9368-0beecbe9e7b1) is still referenced from table "partner".
DELETING leaked hs_office.relation#aacc5158-a3bb-47d8-9368-0beecbe9e7b1 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)=(aacc5158-a3bb-47d8-9368-0beecbe9e7b1) is still referenced from table "partner".] [n/a]
2026-08-10T16:39:48.920Z  WARN 369 --- [    Test worker] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 23503
2026-08-10T16:39:48.920Z ERROR 369 --- [    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)=(712cf597-7997-43bd-9f5e-40f01b8693b2) is still referenced from table "partner".
DELETING leaked hs_office.partner_details#712cf597-7997-43bd-9f5e-40f01b8693b2 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)=(712cf597-7997-43bd-9f5e-40f01b8693b2) is still referenced from table "partner".] [n/a]
DELETING leaked hs_office.partner#8762dab3-ef27-4dc1-aae6-0870ab601a28 SUCCEEDED
globalAdmin_withoutAssumedRole_canPatchPartialPropertiesOfArbitraryPartner(): TOTAL OBJECT COUNT (after): 210 -> 210