Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Striping whitespaces from configuration variables
 
thanos_massias
Jr. Member
 
Total Posts:  1
Joined:  2013-02-06
 

I was toying with Magento CE 1.7.0.2 and in System > Configuration > General > Design > Themes > Templates I accidentally entered the name of a custom template with a space appended to it ( that is ‘custom_template ‘ instead of ‘custom_template’). This, quite understandably, led to a broken configuration and took me a bit to figure out.

I believe that programmatically stripping such trailing whitespaces, when they occur in fields that should not contain them (but not all fields indiscriminately), might be a good idea for the backend.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top