[#15035] Negative gallery counter after unsuccessfull uploads to VFS
Summary Negative gallery counter after unsuccessfull uploads to VFS
Queue Ansel
Queue Version 3.0.9
Type Bug
State Unconfirmed
Priority 1. Low
Owners
Requester AP@webmailto.com
Created 2020-09-22 (63 days ago)
Due
Updated 2020-09-22 (63 days ago)
Assigned
Resolved
Milestone
Patch No

Comments
AP@webmailto.com 2020-09-22 13:21:08
Negative gallery counter after unsuccessfull uploads to VFS
After several tries to upload to the VFS with insufficient rights, the 
counter gets negative. When the rights of the VFS fixed, and after 
upload of one image, the next gives and error:
[ansel] SQL QUERY FAILED: SQLSTATE[22003]: Numeric value out of range: 
1264 Out of range value for column 'image_sort' at row 1

Situation resolved with:
update ansel_sharesng set attribute_images = 1 where share_id = 1;