Piwigo Bugtracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002299Piwigoweb APIpublic2011.05.08 00:432011.05.30 23:39
Reporterplg 
Assigned Toplg 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version2.2.2Fixed in Version2.2.2 
Summary0002299: [pwg.images.addSimple] return clean error when image parameter is missing
DescriptionWhen 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");
  }
TagsNo tags attached.
browserany
Database engine and version
PHP version
Web serverApache 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


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