CMS MADE SIMPLE FORGE

Form Builder

 

[#5143] Uploads module call fails

avatar
Created By: Ryan Foster (RytoEX)
Date Submitted: Fri Jul 09 04:17:07 -0400 2010

Assigned To:
Version: 0.6.2
CMSMS Version: None
Severity: Major
Resolution: Fixed
State: Closed
Summary:
Uploads module call fails
Detailed Description:
In a FileUploadField, setting "Send this file to the uploads module:" to "Yes"
causes the form disposition to fail.

Fatal error: Call to protected method Uploads::AttemptUpload() from context
'fbForm' in /modules/FormBuilder/classes/Form.class.php  on line 2527


I'm not sure if this is a problem with the Uploads module or with how it is
called within FormBuilder, but I thought I'd start here.


History

Comments
avatar
Date: 2010-07-15 23:52
Posted By: Samuel Goldstein (sjg)

This is a known bug in the Uploads module. The AttemptUpload method was changed
from Public to Private, but no public method was provided to allow this
functionality. Please file this as a bug report for the Uploads module.
      
avatar
Date: 2010-07-16 04:35
Posted By: Ryan Foster (RytoEX)

It would be a duplicate bug report, as you already have one open (4418).

Making a public method within Uploads that calls AttemptUpload shouldn't be
hard, and I could provide a patch, but I'm curious to know if there was a reason
to make AttemptUpload protected.
      
avatar
Date: 2010-07-25 23:32
Posted By: Ryan Foster (RytoEX)

It seems that the AttemptUpload method was made public again in SVN.
      
Updates

Updated: 2010-08-27 14:39
state: Open => Closed

Updated: 2010-08-19 03:33
resolution_id: 10 => 7

Updated: 2010-07-15 23:52
resolution_id: => 10