Piwigo Bugtracker

Viewing Issue Advanced Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002299 [Piwigo] web API minor always 2011.05.08 00:43 2011.05.30 23:39
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.2.2 Product Version
  Target Version 2.2.2 Product Build
Summary 0002299: [pwg.images.addSimple] return clean error when image parameter is missing
Description When a remote client calls pwg.images.addSimple it sometimes forget to give an "image" parameter and because it doesn't come in $_POST but $_FILES, it is not managed by the standard system, so we have to handle this case "manually" :

  if (!isset($_FILES['image']))
  {
    return new PwgError(405, "The image (file) parameter is missing");
  }
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

- Relationships

-  Notes
(0005160)
svn (reporter)
2011.05.30 23:38

[Subversion] r11117 by plg on branch 2.2

-----[Subversion commit log]----------------------------------------------------
bug 2299 fixed: web API, method pwg.images.addSimple returns a clean error when parameter "image" is missing
(0005161)
svn (reporter)
2011.05.30 23:38

[Subversion] r11118 by plg on trunk

-----[Subversion commit log]----------------------------------------------------
merge r11117 from branch 2.2 to trunk

bug 2299 fixed: web API, method pwg.images.addSimple returns a clean error when parameter "image" is missing

- Issue History
Date Modified Username Field Change
2011.05.08 00:43 plg New Issue
2011.05.08 00:43 plg Status new => assigned
2011.05.08 00:43 plg Assigned To => plg
2011.05.08 00:43 plg browser => any
2011.05.08 00:43 plg Web server => Apache 1.3.x
2011.05.30 23:38 svn Checkin
2011.05.30 23:38 svn Note Added: 0005160
2011.05.30 23:38 svn Checkin
2011.05.30 23:38 svn Note Added: 0005161
2011.05.30 23:39 plg Status assigned => closed
2011.05.30 23:39 plg Resolution open => fixed
2011.05.30 23:39 plg Fixed in Version => 2.2.2


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Contact
Powered by Mantis Bugtracker