Products Module - Product Dropdown Options Run Together

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
montedavis
Forum Members
Forum Members
Posts: 64
Joined: Wed Jul 03, 2013 7:44 pm

Products Module - Product Dropdown Options Run Together

Post by montedavis »

Hello,

I'm working with the Products Module and when I add a field definition of dropdown and then preview the dropdown on a product page the defined options run together, the options that are separated by a pipe:
none|none
Brioche|Brioche
Challah|Challah

I will see "none Brioche" as the first option in the dropdown. My hunch is the carriage returns are not being applied.

Any help would be appreciated.

Thank you,

Monte

AdminSearch 1.0.4
CGExtensions 1.64.8
CGSimpleSmarty 2.2.1
CMSContentManager 1.1.8
CMSMailer 6.2.14
CmsJobManager 0.1.3
DesignManager 1.1.6
FileManager 1.6.8
FilePicker 1.0.4.1
FormBuilder 0.8.1.6
Gallery 2.3.3
JQueryTools 1.4.2
MenuManager 1.50.3
MicroTiny 2.2.4
ModuleManager 2.1.7
Navigator 1.0.9
News 2.51.6
Products 2.28.7
Search 1.51.7
TinyMCE 3.3
php_memory_limit
max_upload_size 128000000
url_rewriting none
page_extension
query_var page
auto_alias_content true
locale
set_names true
timezone America/New_York
permissive_smarty false
debug false
Current PHP Version (phpversion) Success 7.3.9
md5 function (md5_function) Success On (True)
JSON functions (json_function) Success On (True)
GD version (gd_version) Success 2
tempnam function (tempnam_function) Success On (True)
Magic quotes in runtime (magic_quotes_runtime) Success Off (False)
Is E_ALL enabled in error_reporting (E_ALL) Success
Is E_STRICT disabled in error_reporting (E_STRICT) Success
Is E_DEPRECATED disabled in error_reporting (E_DEPRECATED) Caution E_DEPRECATED is enabled
Testing for time difference in the file system (test_file_timedifference) Success No time difference found
Testing for time difference in the database (test_db_timedifference) Success No time difference found
Checking if the HTTPD process can create a file inside of a directory it created (create_dir_and_file) Success 1
PHP Effective Memory Limit (memory_limit) Success 768M
Maximum Execution Time (max_execution_time) Success 120
PHP register_globals (register_globals) Success Off (False)
PHP output_buffering (output_buffering) Caution 0 ?
disable_functions in PHP (disable_functions) Success
PHP Open Basedir (open_basedir) Success
Test for remote URL (test_remote_url) Success Success
fsockopen: Connection ok! Success
fopen: Connection ok! Success
File uploads (file_uploads) Success On (True)
Maximum Post Size (post_max_size) Success 128M
Maximum Upload Size (upload_max_filesize) Success 128M
Session Save Path (session_save_path) Success /tmp (0755)
Sessions are allowed to use Cookies (session_use_cookies) Success On (True)
Basic XML (expat) support (xml_function) Success On (True)
Checking for the XMLReader class (xmlreader_class) Success On (True)
Test ini_set (check_ini_set) Success On (True)
Test for the curl library (curl) Success On
Test curl version (curlversion)
SwBd
New Member
New Member
Posts: 6
Joined: Mon May 13, 2019 5:52 pm

Re: Products Module - Product Dropdown Options Run Together

Post by SwBd »

Hello,

For the moment, the only solution is to modify the field in database.

Table : cms_module_products_fielddefs

remove the following characters:





Example :

Line 1
Line 2
Line 3
Line 4


Becomes

Line 1
Line 2
Line 3
Line 4

Best regards.
montedavis
Forum Members
Forum Members
Posts: 64
Joined: Wed Jul 03, 2013 7:44 pm

Re: Products Module - Product Dropdown Options Run Together

Post by montedavis »

Thank you for this workaround. I will try this and I will compare files from the module that is not working with a working previous version and see if I can find where the code changed.
montedavis
Forum Members
Forum Members
Posts: 64
Joined: Wed Jul 03, 2013 7:44 pm

Re: Products Module - Product Dropdown Options Run Together

Post by montedavis »

Thank you for your reply. I tried editing the db as a workaround, which does work but will not be a viable solution as each time a product is edited the option values convert back to inserting the ascii characters for the carraige return/new line feed. I've tried comparing the previous module code to the new code but have not found any differences....
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1625
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Products Module - Product Dropdown Options Run Together

Post by DIGI3 »

There is an open bug report for this issue: http://dev.cmsmadesimple.org/bug/view/12052

The module was last released in July so is apparently still supported - you may want to try to catch Calguy here or in Slack and ask him nicely if he can patch this soon. You can also offer to sponsor an update for this or any other module if it's critical to your operations.
Not getting the answer you need? CMSMS support options
montedavis
Forum Members
Forum Members
Posts: 64
Joined: Wed Jul 03, 2013 7:44 pm

Re: Products Module - Product Dropdown Options Run Together

Post by montedavis »

Hello,

Thank you for pointing out the bug report, I should have checked that. I'll try your suggestions.

Thank you,

Monte
Post Reply

Return to “Modules/Add-Ons”