| Anonymous | Login | Signup for a new account | 2013.05.24 19:00 CEST |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Advanced Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
| 0002648 | [Piwigo] web API | major | have not tried | 2012.06.07 15:07 | 2012.06.07 15:13 | ||
| Reporter | plg | View Status | public | ||||
| Assigned To | plg | ||||||
| Priority | normal | Resolution | fixed | Platform | |||
| Status | closed | OS | |||||
| Projection | none | OS Version | |||||
| ETA | none | Fixed in Version | 2.3.5 | Product Version | 2.3.4 | ||
| Target Version | 2.3.5 | Product Build | |||||
| Summary | 0002648: pwg.categories.getList returns nothing | ||||||
| Description |
After 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. |
||||||
| Steps To Reproduce | |||||||
| Additional Information | |||||||
| Tags | No tags attached. | ||||||
| browser | any | ||||||
| Database engine and version | |||||||
| PHP version | |||||||
| Web server | Apache 1.3.x | ||||||
| Attached Files | |||||||
|
|
|||||||
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. |
| Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group Contact |