/
[uploader] Unable to upload anything on Front-End [5.2.0-RC1]

[uploader] Unable to upload anything on Front-End [5.2.0-RC1]

Imported from: http://groups.google.com/group/in-portal-bugs/browse_thread/thread/aedd0394de197ff9#

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 

Error rendering macro 'jira' : Unable to locate Jira server for this macro. It may be due to Application Link configuration.
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.

front_upload_broken_fix.patch

Related Tasks

Unable to locate Jira server for this macro. It may be due to Application Link configuration.