Skip to content

"Add Version" Create Button Should Be Inactive Until Version Provided #995

@msymons

Description

@msymons

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.

image

Checklist

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestgood first issueGood for newcomershacktoberfestIssues eligible for Hacktoberfest contributionssize/SSmall effort

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions