-
Notifications
You must be signed in to change notification settings - Fork 671
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
SSH Keys add button does not work #1226
Comments
Closing this as fixed with PR #1239, as no further feedback available. Assuming input error. |
This issue still persist. Trying to click add after setting a ssh public key at the Gitblit profile page doesn't go anywhere. No error in the Javascript console either. I'm running through Docker, no errors seen in the Docker logs either. |
Well, what do you see in the Docker logs? Because I just tried and it works as expected. I can add a key and after clicking add, I see the key in the list of keys.
|
Nothing useful in there. 2022-07-28 20:24:09 [INFO ] 23 repository models loaded for muds in 15 msecs Network call seem to pass to the container from the browser though and receive a HTTP 200. |
But adding the SSH key via the command line works, as in the original ticket description? |
if key is empty of can not be parsed, form did provide any feedback to user before
This brings back in a change that was implemented in a pull request from 2017, but got lost in the chaos of multiple pull requests from intermingling branches. This does not only provide feedback when a SSH key cannot be parsed, but it also does so in a way that the warning goes away when a correct key is added. Admittedly, I have no idea how to properly do this with a Wicket FeedbackMessage, all I could find on Google was highly complicated. Not only does this bring back (or really in) the fix for issue gitblit-org#1226, but it also fixes gitblit-org#984.
This can happen when the key cannot be parsed. Feedback in that case has been added to the web page now. |
Hi,
adding ssh-keys via command line works fine, however the button on the webinterface does not seem to do anything.
The text was updated successfully, but these errors were encountered: