View Issue Details

IDProjectCategoryView StatusLast Update
573RackTablesdefaultpublic2012-06-28 15:16
Reporteruser292Assigned Toinfrastation  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.19.12 
Target Version0.19.14Fixed in Version0.19.14 
Summary573: Failed upload calls missing function
DescriptionHi

If an upload fails it calls `showFuncMessage`, which doesn't exist in 0.19.x .

Cheers!
Hannes
TagsNo tags attached.

Activities

2012-06-21 10:12

 

failed_upload_cause_wrong_error_message.patch (516 bytes)   
diff --git a/wwwroot/inc/ophandlers.php b/wwwroot/inc/ophandlers.php
index 2fad512..cb64e2c 100644
--- a/wwwroot/inc/ophandlers.php
+++ b/wwwroot/inc/ophandlers.php
@@ -2213,7 +2213,7 @@ function addFileToEntity ()
 
 	// Exit if the upload failed
 	if ($_FILES['file']['error'])
-		return showFuncMessage (__FUNCTION__, 'ERR1', array ($_FILES['file']['error']));
+		return buildRedirectURL (__FUNCTION__, 'ERR1', array ($_FILES['file']['error']));
 
 	$fp = fopen($_FILES['file']['tmp_name'], 'rb');
 	global $sic;
infrastation

infrastation

2012-06-28 15:16

administrator   ~0000694

Thank you for spotting this!

Issue History

Date Modified Username Field Change
2012-06-21 10:12 user292 New Issue
2012-06-21 10:12 user292 File Added: failed_upload_cause_wrong_error_message.patch
2012-06-28 15:16 infrastation Note Added: 0000694
2012-06-28 15:16 infrastation Assigned To => infrastation
2012-06-28 15:16 infrastation Status new => closed
2012-06-28 15:16 infrastation Resolution open => fixed
2012-06-28 15:16 infrastation Fixed in Version => 0.19.14
2012-06-28 15:16 infrastation Target Version => 0.19.14