Piwigo Bugtracker

Viewing Issue Advanced Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001043 [Piwigo] API major always 2009.07.03 23:53 2009.07.04 01:04
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.0.3 Product Version 2.0.2
  Target Version 2.0.3 Product Build
Summary 0001043: [pwg.images.add] error not sent when a transfert has failed
Description If any file upload has failed, the error 500 is not correctly sent to the HTTP client.

This is because the merge_chunks function sends a warning on an initialized variable. This warning breaks the set_status_header (because "header were already set"...)

Any PwgError sent after the merge_chunks would fail the same way and let the HTTP client think no error occured.
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
(0002679)
svn (reporter)
2009.07.04 00:59

[Subversion] r3513 by plg on branch 2.0

-----[Subversion commit log]----------------------------------------------------
bug 1043 fixed: avoid warning when merging chunks. This warning was preventing
the PwgError to work correctly and the error code was not transmitted.
(0002680)
svn (reporter)
2009.07.04 01:03

[Subversion] r3514 by plg on trunk

-----[Subversion commit log]----------------------------------------------------
merge r3513 from branch 2.0 to trunk

bug 1043 fixed: avoid warning when merging chunks. This warning was preventing
the PwgError to work correctly and the error code was not transmitted.

- Issue History
Date Modified Username Field Change
2009.07.03 23:53 plg New Issue
2009.07.03 23:53 plg Status new => assigned
2009.07.03 23:53 plg Assigned To => plg
2009.07.03 23:53 plg browser => any
2009.07.03 23:53 plg Web server => Apache 1.3.x
2009.07.04 00:59 svn Checkin
2009.07.04 00:59 svn Note Added: 0002679
2009.07.04 01:03 svn Checkin
2009.07.04 01:03 svn Note Added: 0002680
2009.07.04 01:04 plg Status assigned => closed
2009.07.04 01:04 plg Resolution open => fixed
2009.07.04 01:04 plg Fixed in Version => 2.0.3


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