tgdrive / teldrive

Telegram Drive
MIT License
1.72k stars 251 forks source link

Unable to rename file #326

Closed xd003 closed 1 month ago

xd003 commented 1 month ago

After the recent update of 1.4.17, i can no longer renames files. It gives me the following error when i try to rename a file from the web. It reports something regarding the uuid

03/08/2024 12:10 PM ERROR   [DB] github.com/divyam234/teldrive/pkg/services/file.go:179 ERROR: invalid input syntax for type uuid: "" (SQLSTATE 22P02) [2.573ms] [rows:0] UPDATE "teldrive"."files" SET "name"='Phasmophobias (v0.9.4.0.) (EA) (W_P) (2020).7z',"parent_id"='',"updated_at"='2024-08-03 12:10:48.317' WHERE id = '018d7a17-bd42-7e04-8c27-88984f8fdbca' RETURNING *
03/08/2024 12:10 PM ERROR   ERROR: invalid input syntax for type uuid: "" (SQLSTATE 22P02)
xd003 commented 1 month ago

Can confirm that the issue got fixed in v1.4.18