In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
57 [In-Portal CMS] Admin Interfaces bug report random 2009-06-08 09:19 2010-05-11 02:59
alex  
alex  
normal  
closed 5.0.0  
fixed  
 
none 5.0.3-B1  
0
0000057: 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.
parent of 0000542closed  (1.0.3)Dmitry Custom (Dev. Kit) Set formatters for all checkbox type fields 
parent of 0000544closed  (5.0.3)Dmitry In-Bulletin Set formatters for all checkbox type fields 
parent of 0000545closed  (5.0.3)alex In-Commerce Set formatters for all checkbox type fields 
parent of 0000546closed  (5.0.3)alex In-Link Set formatters for all checkbox type fields 
parent of 0000547closed  (5.0.3)alex In-News Set formatters for all checkbox type fields 
patch 57-Set_formatters_ for_checkbox_type_fields-Dmitry-20100115-CORE.patch (17,975) 2010-01-15 21:37
http://tracker.in-portal.org/file_download.php?file_id=228&type=bug
patch 57-Set_formatters_for_checkbox_type_fields-Dmitry-20100117-CORE.patch (32,153) 2010-01-17 19:15
http://tracker.in-portal.org/file_download.php?file_id=230&type=bug
patch 57-Set_formatters_for_checkbox_type_fields-Dmitry-20100314-CORE.patch (46,311) 2010-03-14 20:23
http://tracker.in-portal.org/file_download.php?file_id=364&type=bug
patch 57-Set_formatters_for_checkbox_type_fields-Dmitry-20100319-CORE.patch (58,488) 2010-03-19 15:38
http://tracker.in-portal.org/file_download.php?file_id=385&type=bug
Issue History
2010-05-11 02:59 alex Note Added: 0002117
2010-05-11 02:59 alex Status resolved => closed
2010-03-20 14:34 alex Summary Set formatters for all checkbox type fields. => Set formatters for all checkbox type fields
2010-03-20 14:34 alex Note Added: 0001708
2010-03-20 14:34 alex Status reviewed and tested => resolved
2010-03-20 14:34 alex Fixed in Version => 5.0.3-B1
2010-03-20 14:34 alex Resolution open => fixed
2010-03-20 14:34 alex Assigned To !COMMUNITY => alex
2010-03-20 14:34 alex Changeset attached 5.0.x r13270
2010-03-20 14:34 alex Note Added: 0001707
2010-03-20 14:34 alex Assigned To alex => !COMMUNITY
2010-03-20 14:34 alex Status needs testing => reviewed and tested
2010-03-19 15:39 Dmitry Note Added: 0001704
2010-03-19 15:39 Dmitry Assigned To !COMMUNITY => alex
2010-03-19 15:39 Dmitry Status needs work => needs testing
2010-03-19 15:38 Dmitry File Added: 57-Set_formatters_for_checkbox_type_fields-Dmitry-20100319-CORE.patch
2010-03-19 08:17 alex Note Added: 0001695
2010-03-19 08:17 alex Status needs testing => needs work
2010-03-19 08:14 alex Note Edited: 0001598 bug_revision_view_page.php?bugnote_id=0001598#r409
2010-03-14 20:33 Dmitry Note Added: 0001598
2010-03-14 20:33 Dmitry Status needs work => needs testing
2010-03-14 20:23 Dmitry File Added: 57-Set_formatters_for_checkbox_type_fields-Dmitry-20100314-CORE.patch
2010-03-11 03:03 alex Note Added: 0001542
2010-03-11 03:03 alex Status needs testing => needs work
2010-02-26 18:52 Dmitry Developer => Dmitry
2010-01-17 19:30 Dmitry Assigned To Dmitry => !COMMUNITY
2010-01-17 19:30 Dmitry version => 5.0.0
2010-01-17 19:27 Dmitry Steps to Reproduce Updated bug_revision_view_page.php?rev_id=363#r363
2010-01-17 19:27 Dmitry Additional Information Updated bug_revision_view_page.php?rev_id=365#r365
2010-01-17 19:26 Dmitry Relationship added parent of 0000547
2010-01-17 19:25 Dmitry Relationship added parent of 0000546
2010-01-17 19:24 Dmitry Relationship added parent of 0000545
2010-01-17 19:22 Dmitry Relationship added parent of 0000544
2010-01-17 19:21 Dmitry Time Estimate Removed 4 =>
2010-01-17 19:21 Dmitry Note Added: 0001422
2010-01-17 19:21 Dmitry Status needs work => needs testing
2010-01-17 19:19 Dmitry Relationship added parent of 0000543
2010-01-17 19:15 Dmitry File Added: 57-Set_formatters_for_checkbox_type_fields-Dmitry-20100117-CORE.patch
2010-01-17 19:14 Dmitry Relationship added parent of 0000542
2010-01-15 21:37 Dmitry File Added: 57-Set_formatters_ for_checkbox_type_fields-Dmitry-20100115-CORE.patch
2009-12-21 23:33 Dmitry Note Added: 0001204
2009-12-21 23:33 Dmitry Status active => needs work
2009-12-21 23:33 Dmitry Target Version 5.0.2 => 5.0.3
2009-10-03 07:53 administrator Status reviewed and tested => active
2009-09-23 13:11 alex Time Estimate Added 4
2009-09-23 13:11 alex Note Added: 0000528
2009-09-20 15:11 alex Target Version 5.1.0 => 5.0.2
2009-08-03 15:42 Dmitry Target Version 5.0.1 => 5.1.0
2009-08-03 15:42 Dmitry Note Added: 0000221
2009-08-03 15:42 Dmitry Assigned To => Dmitry
2009-08-03 15:42 Dmitry Status active => reviewed and tested
2009-06-09 10:46 Dmitry Target Version => 5.0.1
2009-06-08 09:19 alex New Issue

Notes
(0000221)
Dmitry   
2009-08-03 15:42   
1. Find all Fields by searching "inp_edit_checkbox" in Admin templates

2. Check corresponding Prefixes for Units.

3. Check and correct.
(0000528)
alex   
2009-09-23 13:11   
Plan is mentioned above, because of large amount of code to analyze quote is also large.
(0001204)
Dmitry   
2009-12-21 23:33   
Pushing this task to 5.0.3 release due to amount of work and shortage of dev. time for 5.0.2
(0001422)
Dmitry   
2010-01-17 19:21   
Patch Uploaded Needs Review and Testing!
(0001542)
alex   
2010-03-11 03:03   
Still missing formatters:
=========================
Virtual fields "ImportOverwrite", "DoNotEncode" for "phrases" prefix
Fields "SimpleSearch" and "AdvancedSearch" for "confs" 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.
(0001598)
Dmitry   
2010-03-14 20:33   
(edited on: 2010-03-19 08:14)
New patch attached "57-Set_formatters_for_checkbox_type_fields-Dmitry-20100314-CORE.patch"


About Alex's note. I have opened a new discussion here http://groups.google.com/group/in-portal-bugs/browse_thread/thread/5b38569bd407464d

(0001695)
alex   
2010-03-19 08:17   
Still not fixed:
Fields "SimpleSearch" and "AdvancedSearch" for "confs" prefix
(0001704)
Dmitry   
2010-03-19 15:39   
New patch attached "57-Set_formatters_for_checkbox_type_fields-Dmitry-20100319-CORE.patch" - please test.

NOTE: redone the whole "confs" prefix config.
(0001707)
alex   
2010-03-20 14:34   
ok
(0001708)
alex   
2010-03-20 14:34   
Fix committed to 5.0.x branch. Commit Message:

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