CMS MADE SIMPLE FORGE

Extended Content Blocks 2

 

[#11557] Missing parameter 'field' breaks CMSMS Backend

avatar
Created By: Ludger Merkens (lume)
Date Submitted: Mon Sep 04 08:22:08 -0400 2017

Assigned To: Chris Taylor (chrisbt)
Version: v1.3.1
CMSMS Version: 2.2.2
Severity: Minor
Resolution: Fixed
State: Closed
Summary:
Missing parameter 'field' breaks CMSMS Backend
Detailed Description:
If you forget to give a parameter for "field" like 'checkbox, dropdown etc.',
and probably if you have a typo also - instead of giving some Error-Msg, cmsms
shows a blank page only. In the php_error.log you find an error:

PHP Fatal error:  Call to undefined method ecb2_tools::get_() in
/var/www/tmp_villa1_de/www/modules/ECB2/lib/class.ecb2_tools.php on line 83

which in itself isn't very descriptive either. At closer examination, It looks
like a function name is composed with the paramter 'field', without validating
its content.

A proper error message would be nice!

thanks for the module
Ludger


History

Comments
avatar
Date: 2019-02-04 18:18
Posted By: Chris Taylor (chrisbt)

fixed in pending v1.4 release
      
Updates

Updated: 2019-02-04 18:18
resolution_id: 6 => 7
state: Open => Closed

Updated: 2017-09-06 11:02
resolution_id: => 6