• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Products Module - Product Dropdown Options Run Together
PostPosted: Wed Oct 09, 2019 5:11 pm 
Offline
Forum Members
Forum Members

Joined: Wed Jul 03, 2013 7:44 pm
Posts: 37
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)


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Products Module - Product Dropdown Options Run Together
PostPosted: Sat Oct 19, 2019 6:21 pm 
Offline
New Member
New Member

Joined: Mon May 13, 2019 5:52 pm
Posts: 5
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.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Products Module - Product Dropdown Options Run Together
PostPosted: Tue Oct 22, 2019 11:49 am 
Offline
Forum Members
Forum Members

Joined: Wed Jul 03, 2013 7:44 pm
Posts: 37
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.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Products Module - Product Dropdown Options Run Together
PostPosted: Tue Oct 22, 2019 3:13 pm 
Offline
Forum Members
Forum Members

Joined: Wed Jul 03, 2013 7:44 pm
Posts: 37
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....


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Products Module - Product Dropdown Options Run Together
PostPosted: Tue Oct 22, 2019 3:19 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Feb 25, 2009 4:25 am
Posts: 926
Location: Victoria, BC
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


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Products Module - Product Dropdown Options Run Together
PostPosted: Tue Oct 22, 2019 3:23 pm 
Offline
Forum Members
Forum Members

Joined: Wed Jul 03, 2013 7:44 pm
Posts: 37
Hello,

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

Thank you,

Monte


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: googlebot


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting