You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A SQL error is produced when removing a game from RoMM
To Reproduce
Steps to reproduce the behavior:
Configure an instance of RomM with a postgres database. Use the default postgres user to create the database and to access it from RomM.
Add games to your collection
Choose any added file
Perform the Remove operation on that file
A SQL error notification pops up (see screenshot)
Observe that the file you attempted to remove still appears in the Library.
Attempt to remove again, and see another error claiming that the row ID doesn't exist.
Expected behavior
The file is removed from the Library without error.
Screenshots
Desktop (please complete the following information):
OS: Windows 11
Browser Chrome
Version 131
Additional context
I'm running RomM as a docker image on Unraid.
I presume that this might be a problem with the recent postgres feature. I used the default postgres account to create the database and I specified the same user in the Docker config. I figure it has full rights to perform all operations.
The text was updated successfully, but these errors were encountered:
Fix `json_array_contains_value` function to use the `@>` operator for
checking if a JSON array contains a value in PostgreSQL. This is
necessary because the `has_key` function only works for string values.
Also, remove `get_rom_collections` method, as it was doing the same
thing as `get_collections_by_rom_id`.
Fixes#1441.
RomM version
3.7.0
Describe the bug
A SQL error is produced when removing a game from RoMM
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The file is removed from the Library without error.
Screenshots
Desktop (please complete the following information):
Additional context
I'm running RomM as a docker image on Unraid.
I presume that this might be a problem with the recent postgres feature. I used the default postgres account to create the database and I specified the same user in the Docker config. I figure it has full rights to perform all operations.
The text was updated successfully, but these errors were encountered: