In-Portal Issue Tracker - In-Portal CMS
|
Viewing Issue Advanced Details |
|
ID:
|
Category:
|
Type:
|
Reproducibility:
|
Date Submitted:
|
Last Update:
|
1358 |
[In-Portal CMS] Front End |
bug report |
always |
2012-07-19 04:17 |
2012-07-25 05:29 |
|
Reporter:
|
alex |
Platform:
|
|
|
Assigned To:
|
alex |
OS:
|
|
|
Priority:
|
normal |
OS Version:
|
|
|
Status:
|
closed |
Product Version:
|
5.2.0-RC1 |
|
Product Build:
|
|
Resolution:
|
fixed |
|
|
ETA:
|
none |
Fixed in Version:
|
5.2.0 |
|
Reference:
|
https://groups.google.com/d/topic/in-portal-bugs/rt0DlN4Zf_k/discussion |
Change Log Message:
|
Fixes inability to upload files on Front-End |
Estimate Points:
|
1 |
|
Summary:
|
0001358: Unable to upload anything on Front-End |
Description:
|
I was testing out 5.2.0-RC1 release recently and found, that no upload can be made on Front-End.
For example on a link submission page select an image and try to upload it. Error "Can't save file" will be displayed, but "/system/images/" folder is writable and I've checked it twice.
After some investigation I've found that this happened because of a fix in 0001291 task, where variable $value['error'] containing regular upload status code was converted to string, but later on was compares using "===" operator with integer constant resulting in "no match" at all times. |
Steps To Reproduce:
|
|
Additional Information:
|
|
Relationships | child of | 0001291 | closed (5.2.0) | alex | Uploaded files with "&" in name are showing |
|
Attached Files:
|
front_upload_broken_fix.patch (598) 2012-07-19 04:19 http://tracker.in-portal.org/file_download.php?file_id=1763&type=bug |
|
Issue History |
Date Modified |
Username |
Field |
Change |
2012-07-25 05:29 |
alex |
Note Added: 0004826 |
|
2012-07-25 05:29 |
alex |
Status |
resolved => closed |
2012-07-19 04:20 |
alex |
Note Added: 0004807 |
|
2012-07-19 04:20 |
alex |
Status |
reviewed and tested => resolved |
2012-07-19 04:20 |
alex |
Fixed in Version |
=> 5.2.0 |
2012-07-19 04:20 |
alex |
Resolution |
open => fixed |
2012-07-19 04:20 |
alex |
Assigned To |
!COMMUNITY => alex |
2012-07-19 04:20 |
alex |
Changeset attached |
5.2.x r15462 |
2012-07-19 04:20 |
alex |
Status |
needs testing => reviewed and tested |
2012-07-19 04:20 |
alex |
Note Added: 0004806 |
|
2012-07-19 04:20 |
alex |
Assigned To |
=> !COMMUNITY |
2012-07-19 04:20 |
alex |
Developer |
=> alex |
2012-07-19 04:20 |
alex |
Status |
active => needs testing |
2012-07-19 04:20 |
alex |
Reference |
=> https://groups.google.com/d/topic/in-portal-bugs/rt0DlN4Zf_k/discussion |
2012-07-19 04:19 |
alex |
File Added: front_upload_broken_fix.patch |
|
2012-07-19 04:17 |
alex |
Relationship added |
child of 0001291 |
2012-07-19 04:17 |
alex |
New Issue |
|
2012-07-19 04:17 |
alex |
Change Log Message |
=> Fixes inability to upload files on Front-End |
2012-07-19 04:17 |
alex |
Estimate Points |
=> 1 |