cancel
Showing results for 
Search instead for 
Did you mean: 

source_model returns unexpected data

source_model returns unexpected data

For some reason any extension using source_model in a system.xml config file produces wrong data. Example:

<frontend_type>multiselect</frontend_type>
<source_model>adminhtml/system_config_source_customer_group</source_model> 

ends up being just "Enable" and "Disable" options instead of the expected data.

 

  • I've tried both select and multiselect with the same results.
  • I've tried other source_model types (adminhtml/system_config_source_currency, adminhtml/system_config_source_locale_country, and adminhtml/system_config_source_locale_timezone) with the same results.

 

Magento ver. 1.9.2.0

 

Any insights or suggestions would be greatly appreciated.