aleitner opened a new pull request, #983: URL: https://github.com/apache/guacamole-client/pull/983
### Problem We identified an issue where users were facing a generic error when attempting to save Guacamole connection parameters that exceeded the maximum allowed length (4096 characters). The error message was not clear and did not provide useful feedback regarding the input size constraint on the database column for connection parameters. ### Solution To enhance the user experience and provide a more informative error message, I have implemented the following changes: - Added a new method `validateParameters` within the `ConnectionService` class. This method checks each connection parameter's value against the known maximum size limit before a connection is created or updated. If a parameter value exceeds the maximum allowed length, the method throws a `TranslatableGuacamoleClientOverrunException` with a clear and specific message. - Added new error key `CONNECTION_PARAMETERS.DATABASE_PARAMETER_VALUE_TOO_LONG` to the JSON file of translatable messages.  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
