In-Portal Issue Tracker - In-Commerce
Viewing Issue Advanced Details
545 [In-Portal CMS] Admin Interfaces bug report always 2010-01-17 19:23 2010-05-11 02:59
Dmitry  
alex  
normal  
closed 5.0.0  
fixed  
 
none 5.0.3-B1  
0
0000545: Set formatters for all checkbox type fields
We must ensure, that kOptionsFormatter with Yes/No options is set on every field, that is displayed in form as checkbox. In case, when formatter is not set, then we will see 1/0 instead of Yes/No when attempt is made to display such field in grid.
Determine such field by usage of "inp_edit_checkbox" block on edit templates.
IMPORTANT NOTE:

This Patch also contains some code CLEAN-UP.
has duplicate 0001174closed  (5.2.0)alex In-Commerce Order shipping e-mail validation not working 
child of 0000057closed  (5.0.3)alex In-Portal CMS Set formatters for all checkbox type fields 
patch 57-Set_formatters_for_checkbox_type_fields-Dmitry-20100117-IN-COMMERCE.patch (223,325) 2010-01-17 19:23
http://tracker.in-portal.org/file_download.php?file_id=234&type=bug
patch 57-Set_formatters_for_checkbox_type_fields-Dmitry-20100314-IN-COMMERCE.patch (232,201) 2010-03-14 21:43
http://tracker.in-portal.org/file_download.php?file_id=365&type=bug
Issue History
2011-11-29 08:10 alex Relationship added has duplicate 0001174
2010-05-11 02:59 alex Note Added: 0002120
2010-05-11 02:59 alex Status resolved => closed
2010-03-19 08:13 alex Note Added: 0001694
2010-03-19 08:13 alex Status reviewed and tested => resolved
2010-03-19 08:13 alex Fixed in Version => 5.0.3-B1
2010-03-19 08:13 alex Resolution open => fixed
2010-03-19 08:13 alex Assigned To Dmitry => alex
2010-03-19 08:13 alex Changeset attached 5.0.x r13267
2010-03-19 08:12 alex Note Added: 0001693
2010-03-19 08:12 alex Assigned To alex => Dmitry
2010-03-19 08:12 alex Status needs testing => reviewed and tested
2010-03-14 21:45 Dmitry Note Added: 0001599
2010-03-14 21:45 Dmitry Assigned To Dmitry => alex
2010-03-14 21:45 Dmitry Status needs work => needs testing
2010-03-14 21:43 Dmitry File Added: 57-Set_formatters_for_checkbox_type_fields-Dmitry-20100314-IN-COMMERCE.patch
2010-03-11 03:05 alex Note Added: 0001545
2010-03-11 03:05 alex Assigned To alex => Dmitry
2010-03-11 03:05 alex Status needs testing => needs work
2010-02-26 18:53 Dmitry Developer => Dmitry
2010-01-17 19:29 Dmitry Additional Information Updated bug_revision_view_page.php?rev_id=377#r377
2010-01-17 19:24 Dmitry Relationship added child of 0000057
2010-01-17 19:24 Dmitry Note Added: 0001424
2010-01-17 19:24 Dmitry Assigned To Dmitry => alex
2010-01-17 19:24 Dmitry Status needs work => needs testing
2010-01-17 19:23 Dmitry New Issue
2010-01-17 19:23 Dmitry Status active => needs work
2010-01-17 19:23 Dmitry Assigned To => Dmitry
2010-01-17 19:23 Dmitry File Added: 57-Set_formatters_for_checkbox_type_fields-Dmitry-20100117-IN-COMMERCE.patch

Notes
(0001424)
Dmitry   
2010-01-17 19:24   
Patch Uploaded Needs Review and Testing!
(0001545)
alex   
2010-03-11 03:05   
Still missing formatters:
=========================
Fields "AutomaticFilename" for "p" prefix
Virtual fields "IncludeFieldTitles", "IsBaseCategory" for "p" prefix
Virtual fields "IncludeFieldTitles", "ExportSavePreset" for "ord" prefix
Fields "Recursive", "SkipEmpty" for "rep" prefix

Notes:
======
Field "Enabled" should have Yes/No values and no Enabled/Disabled as you added, because when on form then it will look like "Enabled (field name): Disabled (field value)" that's strange.
(0001599)
Dmitry   
2010-03-14 21:45   
New patch is uploaded "57-Set_formatters_for_checkbox_type_fields-Dmitry-20100314-IN-COMMERCE.patch".

Note that "Recursive", "SkipEmpty" for "rep" prefix are commented out on in-commerce/admin_templates/reports/reports.tpl template.
(0001693)
alex   
2010-03-19 08:12   
ok
(0001694)
alex   
2010-03-19 08:13   
Fix committed to 5.0.x branch. Commit Message:

1. Fixes 0000545: Set formatters for all checkbox type fields
2. Commit on behalf of Dmitry.
(0002120)
alex   
2010-05-11 02:59   
Closing all tasks from released versions.