In-Portal Issue Tracker - In-Link
Viewing Issue Advanced Details
546 [In-Portal CMS] Admin Interfaces bug report always 2010-01-17 19:24 2010-05-11 02:59
Dmitry  
alex  
normal  
closed 5.0.0  
fixed  
 
none 5.0.3-B1  
0
0000546: 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.
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-LINK.patch (72,896) 2010-01-17 19:24
http://tracker.in-portal.org/file_download.php?file_id=235&type=bug
patch 57-Set_formatters_for_checkbox_type_fields-Dmitry-20100314-IN-LINK.patch (73,254) 2010-03-14 22:05
http://tracker.in-portal.org/file_download.php?file_id=366&type=bug
Issue History
2010-05-11 02:59 alex Note Added: 0002121
2010-05-11 02:59 alex Status resolved => closed
2010-03-19 08:09 alex Changeset attached 5.0.x r13266
2010-03-19 08:09 alex Note Added: 0001692
2010-03-19 08:09 alex Status reviewed and tested => resolved
2010-03-19 08:09 alex Fixed in Version => 5.0.3-B1
2010-03-19 08:09 alex Resolution open => fixed
2010-03-19 08:09 alex Assigned To !COMMUNITY => alex
2010-03-19 08:09 alex Note Added: 0001691
2010-03-19 08:09 alex Status needs testing => reviewed and tested
2010-03-14 22:06 Dmitry Note Added: 0001600
2010-03-14 22:06 Dmitry Status needs work => needs testing
2010-03-14 22:05 Dmitry File Added: 57-Set_formatters_for_checkbox_type_fields-Dmitry-20100314-IN-LINK.patch
2010-03-11 03:04 alex Note Added: 0001543
2010-03-11 03:04 alex Status needs testing => needs work
2010-02-26 18:53 Dmitry Developer => Dmitry
2010-01-17 19:29 Dmitry version => 5.0.0
2010-01-17 19:29 Dmitry Target Version => 5.0.3
2010-01-17 19:29 Dmitry Additional Information Updated bug_revision_view_page.php?rev_id=379#r379
2010-01-17 19:25 Dmitry Note Added: 0001425
2010-01-17 19:25 Dmitry Assigned To Dmitry => !COMMUNITY
2010-01-17 19:25 Dmitry Status needs work => needs testing
2010-01-17 19:25 Dmitry Relationship added child of 0000057
2010-01-17 19:24 Dmitry Assigned To => Dmitry
2010-01-17 19:24 Dmitry Status active => needs work
2010-01-17 19:24 Dmitry New Issue
2010-01-17 19:24 Dmitry File Added: 57-Set_formatters_for_checkbox_type_fields-Dmitry-20100117-IN-LINK.patch

Notes
(0001425)
Dmitry   
2010-01-17 19:25   
Patch Uploaded Needs Review and Testing.
(0001543)
alex   
2010-03-11 03:04   
Still missing formatters:
=========================
Fields "IncludeFieldTitles", "IsBaseCategory" for "l" 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.
(0001600)
Dmitry   
2010-03-14 22:06   
New Patch uploaded, please test - 57-Set_formatters_for_checkbox_type_fields-Dmitry-20100314-IN-LINK.patch
(0001691)
alex   
2010-03-19 08:09   
ok
(0001692)
alex   
2010-03-19 08:09   
Fix committed to 5.0.x branch. Commit Message:

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