frontend
frontend copied to clipboard
"Add Version" Create Button Should Be Inactive Until Version Provided
Current Behavior
In the Frontend, a new project version can be created via View Details
-> Add Version
The resulting dialog has a create button that is active. Clicking it without providing a Version string will result in an HTTP 400 error and some 190 lines of exception logging in the server log, starting with...
2024-09-15 19:08:46,561 ERROR [ServerRuntime$Responder] An I/O error has occurred while writing a response message entity to the container output stream.
org.glassfish.jersey.server.internal.process.MappableException: org.eclipse.jetty.io.EofException
at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:67)
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1116)
at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:649)
If an admin is looking at the logs then they have absolutely no context for what caused the exception.
Proposed Behavior
The "Create" button should be inactive until something has been provided in the "Version" field.
Checklist
- [X] I have read and understand the contributing guidelines
- [X] I have checked the existing issues for whether this enhancement was already requested