Computaceae-IT / cit-ticketing

CIT-TICKETING : Management of issues
Apache License 2.0
0 stars 0 forks source link

[MUL] impossible de créer un nouveau collectif de personne #1339

Closed cibotalista closed 1 year ago

cibotalista commented 1 year ago

Url : https://mey.botalista.community/v2/fr/collective/edit Username : jeanneret

Description : ça plante à chaque fois

cibotalista commented 1 year ago

Error details

Request url: https://mey.botalista.community/api/multiperson/changes/collective Request method: PUT Status Code: 405 (Http failure response for https://mey.botalista.community/api/multiperson/changes/collective: 405 Method Not Allowed) Data send: {"auto":false,"persons":[{"agentUid":"de4b0919-e5ae-4681-98a5-4680e2adbc54","agent":"CJ Jeanneret","type":"enum_collective","forename":"Caroline","surname":"Jeanneret","initial":"CJ","personUid":"d209f7c0-ce3d-4990-b590-b871c0354cf3","instance":"mey","birth":"1986-03-29","birthPrecision":"day","mail":"caroline.jeanneret@meyrin.ch"}]} Error Type: {"headers":{"normalizedNames":{},"lazyUpdate":null},"status":405,"statusText":"Method Not Allowed","url":"https://mey.botalista.community/api/multiperson/changes/collective","ok":false,"name":"HttpErrorResponse","message":"Http failure response for https://mey.botalista.community/api/multiperson/changes/collective: 405 Method Not Allowed","error":{"error":{"entityType":"CRITICAL_ERROR","msg":"org.springframework.http.converter.HttpMessageConversionException: Type definition error: [simple type, class java.time.LocalDate]; nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of java.time.LocalDate (no Creators, like default constructor, exist): no String-argument constructor/factory method to deserialize from String value ('1986-03-29')\n at [Source: (PushbackInputStream); line: 1, column: 260] (through reference chain: com.botalista.multiperson.entity.dto.MultiPersonDTO[\"persons\"]->java.util.ArrayList[0]->com.botalista.lib.person.dto.SpecificPersonDTO[\"birth\"])","date":1696930268702}}} Error message: {"entityType":"CriticalError","key":"","value":"","msg":"org.springframework.http.converter.HttpMessageConversionException: Type definition error: [simple type, class java.time.LocalDate]; nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of java.time.LocalDate (no Creators, like default constructor, exist): no String-argument constructor/factory method to deserialize from String value ('1986-03-29')\n at [Source: (PushbackInputStream); line: 1, column: 260] (through reference chain: com.botalista.multiperson.entity.dto.MultiPersonDTO[\"persons\"]->java.util.ArrayList[0]->com.botalista.lib.person.dto.SpecificPersonDTO[\"birth\"])","values":[],"date":1696930268702}