Piwigo Bugtracker

Piwigo bug tracker has moved to Github

This bugtracker is kept to provide history on old issues.


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002648Piwigoweb APIpublic2012.06.07 15:072012.06.07 15:13
Reporterplg 
Assigned Toplg 
PrioritynormalSeveritymajorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version2.3.4 
Target Version2.3.5Fixed in Version2.3.5 
Summary0002648: pwg.categories.getList returns nothing
DescriptionAfter investigation, when called pwg.categories.getList it sometimes returns nothing because the output starts with:

Notice: Undefined index: in /home/pierrick/public_html/piwigo/dev/branches/2.3/include/ws_functions.inc.php on line 720

... which is not a JSON string and it makes parsing impossible!

this is due to missing representative_picture_id for an album, which is not a real problem. We should just avoid to throw an error.
TagsNo tags attached.
browserany
Database engine and version
PHP version
Web serverApache 1.3.x
Attached Files

- Relationships

-  Notes
(0006341)
svn (reporter)
2012.06.07 15:08

[Subversion] r15585 by plg on branch 2.3

-----[Subversion commit log]----------------------------------------------------
bug 2648 fixed: pwg.categories.getList, avoid to throw an error when
representative_picture_id is missing for an album, which makes parsing
the JSON output impossible.
(0006342)
svn (reporter)
2012.06.07 15:09

[Subversion] r15586 by plg on trunk

-----[Subversion commit log]----------------------------------------------------
merge r15585 from branch 2.3 to trunk

bug 2648 fixed: pwg.categories.getList, avoid to throw an error when
representative_picture_id is missing for an album, which makes parsing
the JSON output impossible.


- Issue History
Date Modified Username Field Change
2012.06.07 15:07 plg New Issue
2012.06.07 15:07 plg Status new => assigned
2012.06.07 15:07 plg Assigned To => plg
2012.06.07 15:07 plg browser => any
2012.06.07 15:07 plg Web server => Apache 1.3.x
2012.06.07 15:08 svn Checkin
2012.06.07 15:08 svn Note Added: 0006341
2012.06.07 15:09 svn Checkin
2012.06.07 15:09 svn Note Added: 0006342
2012.06.07 15:13 plg Status assigned => closed
2012.06.07 15:13 plg Resolution open => fixed
2012.06.07 15:13 plg Fixed in Version => 2.3.5


Copyright © 2000 - 2018 MantisBT Team
Contact
Powered by Mantis Bugtracker