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
Create issue with multiple labels throws an error 500 with sqlite3 #2700
Comments
I have the same problem with sqlite (Gogs Version: 0.8.43.0223) (docker container) |
Hi, I just pushed a fix to |
hello @unknwon, thanks for looking into this. in the meantime pinging @kpande, who reported the original issue to see if he has the build setup to quickly test the develop branch. |
@unknwon, i was able to build Gogs (0.8.49.0229) and test it with sqlite3. |
@neolit123 thanks your confirmation! |
Wait until we're done adding a new issue to the database to attempt to search the `repository' table for the issue's repository id. Otherwise, on SQLite, retrieving the repository will fail, probably for the same reason as gogs#2700 (and ea80274) -- the SQLite driver for xorm can't retrieve objects after something was updated. Fixes gogs#3291.
Wait until we're done adding a new issue to the database to attempt to search the `repository' table for the issue's repository id. Otherwise, on SQLite, retrieving the repository will fail, probably for the same reason as gogs#2700 (and ea80274) -- the SQLite driver for xorm can't retrieve objects after something was updated. Fixes gogs#3291.
* provide both possible authentication solutions Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* provide both possible authentication solutions Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
seems to happen only for sqlite3!
steps:
if you select only a single or no labels out of the list when creating the issue it does work.
original thread:
#1701
The text was updated successfully, but these errors were encountered: