dirigible
dirigible copied to clipboard
[IDE] Git - Cannot remove staged file
When I have staged file in the Git perspective and try to unstage it using the Remove from index
button, it throws an exception.
2024-01-04 16:01:21.496 [WARN ] [http-nio-8080-exec-4] o.s.w.s.m.s.DefaultHandlerExceptionResolver - Resolved [org.springframework.http.converter.HttpMessageNotReadableException: Required request body is missing: public org.springframework.http.ResponseEntity<?> org.eclipse.dirigible.components.ide.git.endpoint.GitEndpoint.removeFileFromIndex(java.lang.String,java.lang.String,java.lang.String) throws org.eclipse.dirigible.components.ide.git.domain.GitConnectorException]
@iliyan-velichkov an item from the staged area should be selected, before clicking on the "unstage" button. I guess we should improve the error message, or simply disable the "unstage" button if nothing is selected. @StanZGenchev could you check this?
@ThuF instead of showing this error message, better do nothing or disable the button