Open gacheiro opened 4 years ago
Seems to be when projects are added without an image, but with tags. There's a PR in progress here: https://github.com/pygame/pygameweb/pull/100
@illume, seems to me that this is not the case, as the test added in #100 doesn't fail. Unless I forgot something?
I made some test locally and I still get the same error with and without providing an image. Just added steps to reproduce
section, so hopefully someone can try to reproduce it?
When I try to add one or more tags to a project, I get:
This seems to be raised by the following code, in
pygameweb.project.views
line 326:Postgres should autogenerate the id, but it doesn't. The above code passes in tests, so it might be a problem with the migrations.
Edit: Steps to reproduce
alembic upgrade head
(If you have problems running migrations please check #104)pygameweb_fixtures
command.pygameweb_front
) and proceed to the login page (use the credentialsadmin@example.com
andpassword
to login).Add a new project
page.2d
. No need to add an image.