CMS MADE SIMPLE FORGE

CMSMSExt

 

[#12478] fileupload bug forked from cge

avatar
Created By: Chris Taylor (chrisbt)
Date Submitted: Wed Sep 29 11:25:54 -0400 2021

Assigned To: Fernando Morgado (JoMorg)
Version: 1.0.1
CMSMS Version: 2.1.5
Severity: Minor
Resolution: Fixed
State: Open
Summary:
fileupload bug forked from cge
Detailed Description:
class.xt_fileupload.php line 460

public function get_uploaded_filename(string $field_name, string $subfield =
null)
    {
        $file = $this->get_file_record( $field_name, $subfield );
        if( !$file ) return;
        // return $this->get_new_filename( $field_name );   // generates error
        return $this->get_new_filename( $file['name'] );
    }


found bug in CGE when using products to add new item & upload image on first
save
details: http://dev.cmsmadesimple.org/bug/view/12385 

Not sure where else this method is used, but tested this fix with Products & CGE


History

Comments
avatar
Date: 2022-09-23 07:50
Posted By: Fernando Morgado (JoMorg)

fixed in svn, thanks
      
Updates

Updated: 2022-09-23 07:50
resolution_id: => 7