Hi Luca, Thanks for raising this. To help us resolve it fastest, could you create a small example in github, eg by forking helloworld or simpleapp, and update the README with steps to reproduce?
Also - raising an email here on users@ is absolutely the correct process, you might want to join our slack channel which sometimes gets faster responses. If that's of interest, I can send an invite to you (it isn't self-service only to avoid bots). Thx Dan On Thu, 16 Nov 2023 at 15:52, Luca Rivera <[email protected]> wrote: > Dear Causeway Team, > > I hope this message finds you well. I am currently facing an issue with the > crearJugador method in my backend application that uses the Causeway > framework. > > The method is designed to create a new player (Jugador) by taking various > parameters, including fechaDeNacimientoString, which is supposed to be > converted to a LocalDate. However, when attempting to make a request to the > URL provided by the Causeway framework through the Swagger interface, I > encounter a parsing error. > > Here is a sample request and the corresponding response: > > Response: > > { > "nombre": {"value": "Luca"}, > "apellido": {"value": "Rivera"}, > "telefono": {"value": "2996099114"}, > "mail": {"value": "[email protected]"}, > "password": {"value": "luca1234"}, > "fechaDeNacimiento": { > "value": "2011-06-14", > "invalidReason": "exception when parsing paramNr 5: Unable to parse value > class java.time.LocalDate as String" > }, > "x-ro-invalidReason": "error parsing arguments" > } > > In the response, the issue seems to be in the conversion of the > fechaDeNacimiento attribute to a LocalDate within the method. Despite > attempts, the parsing is unsuccessful. > > Here's an excerpt of the crearJugador method for reference: > > java > Copy code > @Action(semantics = SemanticsOf.NON_IDEMPOTENT) > @ActionLayout(promptStyle = PromptStyle.DIALOG_SIDEBAR) > public Jugador crearJugador( > final String nombre, final String apellido, final String telefono, > final String mail, final String password, final LocalDate > fechaDeNacimiento) { > return > > repositoryService.persist(Jugador.crearJugador(nombre,apellido,telefono,mail,password,fechaDeNacimiento)); > } > I would appreciate any insights or guidance on resolving this matter. Thank > you for your assistance. > > Best regards, >
