Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
msymons opened this issue Sep 16, 2024 · 0 comments
Open
2 tasks done
Labels
enhancement New feature or request good first issue Good for newcomers size/S Small effort

Comments

@msymons
Copy link
Member

msymons commented Sep 16, 2024

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

@msymons msymons added enhancement New feature or request good first issue Good for newcomers size/S Small effort labels Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers size/S Small effort
Projects
None yet
Development

No branches or pull requests

1 participant