MantisBT - Piwigo
View Issue Details
0002706Piwigoweb APIpublic2012.07.25 17:122012.07.25 17:14
plg 
plg 
normalminoralways
closedfixed 
2.4.1 
2.4.22.4.2 
any
Apache 1.3.x
0002706: [pwg.getMissingDerivatives] SQL error when gallery is empty
Warning: [mysql error 1064] You have an error in your SQL syntax; check the manual that corresponds to 
your MySQL server version for the right syntax to use near \'ORDER BY id DESC
  LIMIT 5000\' at line 4
SELECT id, path, representative_ext, width,height,rotation
  FROM piwigo_images
  WHERE id<
  ORDER BY id DESC
  LIMIT 5000 in /home/pierrick/public_html/piwigo/tmp/241/include/dblayer/functions_mysql.inc.php on 
line 770
No tags attached.
Issue History
2012.07.25 17:12plgNew Issue
2012.07.25 17:12plgStatusnew => assigned
2012.07.25 17:12plgAssigned To => plg
2012.07.25 17:12plgbrowser => any
2012.07.25 17:12plgWeb server => Apache 1.3.x
2012.07.25 17:13svnCheckin
2012.07.25 17:13svnNote Added: 0006522
2012.07.25 17:14svnCheckin
2012.07.25 17:14svnNote Added: 0006523
2012.07.25 17:14plgStatusassigned => closed
2012.07.25 17:14plgResolutionopen => fixed
2012.07.25 17:14plgFixed in Version => 2.4.2

Notes
(0006522)
svn   
2012.07.25 17:13   
[Subversion] r17016 by plg on branch 2.4

-----[Subversion commit log]----------------------------------------------------
bug 2706 fixed: pwg.getMissingDerivatives correctly manages galleries with not a single photo.
(0006523)
svn   
2012.07.25 17:14   
[Subversion] r17017 by plg on trunk

-----[Subversion commit log]----------------------------------------------------
merge r17016 from branch 2.4 to trunk

bug 2706 fixed: pwg.getMissingDerivatives correctly manages galleries with not a single photo.