In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1145 [In-Portal CMS] Template System bug report always 2011-10-17 08:01 2012-07-25 05:33
alex  
alex  
normal  
closed 5.1.3  
fixed  
 
none 5.2.0-B1  
https://groups.google.com/d/topic/in-portal-bugs/8E1wAstHY-o/discussion
Adds processing of "as_preg" parameter to SearchInputName tag
1
0001145: Parameter "as_preg" doesn't work in SearchInputName tag
Tag InputName allows to build name of form control, that can be automatically discovered when user submits a form with that control.

To allow more complex control to be created an "as_preg" parameter was added to InputName tag. When used a result of this tag is automatically processed through preg_quote function.


There is a special tag called SearchInputName, that is used for form control above grids. Sadly, but this "as_preg" parameter isn't supported in it, while it should be.
patch search_input_name_tag_regex_fix.patch (414) 2011-10-17 08:01
http://tracker.in-portal.org/file_download.php?file_id=1245&type=bug
patch search_input_name_tag_regex_fix_v2.patch (4,708) 2011-10-26 02:20
http://tracker.in-portal.org/file_download.php?file_id=1271&type=bug
Issue History
2012-07-25 05:33 alex Note Added: 0005072
2012-07-25 05:33 alex Status resolved => closed
2011-10-26 02:21 alex Note Added: 0004094
2011-10-26 02:21 alex Status reviewed and tested => resolved
2011-10-26 02:21 alex Fixed in Version => 5.2.0-B1
2011-10-26 02:21 alex Resolution open => fixed
2011-10-26 02:21 alex Assigned To !COMMUNITY => alex
2011-10-26 02:21 alex Changeset attached 5.2.x r14694
2011-10-26 02:20 alex Note Added: 0004093
2011-10-26 02:20 alex File Added: search_input_name_tag_regex_fix_v2.patch
2011-10-26 02:03 alex Estimate Points => 1
2011-10-26 02:03 alex Target Version 5.1.4 => 5.2.0
2011-10-25 22:00 Dmitry Note Added: 0004092
2011-10-25 22:00 Dmitry Status needs testing => reviewed and tested
2011-10-17 08:03 alex Assigned To => !COMMUNITY
2011-10-17 08:03 alex Developer => alex
2011-10-17 08:03 alex Status active => needs testing
2011-10-17 08:03 alex Reference => https://groups.google.com/d/topic/in-portal-bugs/8E1wAstHY-o/discussion
2011-10-17 08:01 alex New Issue
2011-10-17 08:01 alex File Added: search_input_name_tag_regex_fix.patch
2011-10-17 08:01 alex Change Log Message => Adds processing of "as_preg" parameter to SearchInputName tag

Notes
(0004092)
Dmitry   
2011-10-25 22:00   
Reviewed and tested okay, please commit.
(0004093)
alex   
2011-10-26 02:20   
Patch "search_input_name_tag_regex_fix_v2.patch" contains some small refactorings.
(0004094)
alex   
2011-10-26 02:21   
Fix committed to 5.2.x branch. Commit Message:

Fixes 0001145: Parameter "as_preg" doesn't work in SearchInputName tag
(0005072)
alex   
2012-07-25 05:33   
Since 5.2.0 version was released.