View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009426 | mantisbt | administration | public | 2008-07-21 11:25 | 2008-07-31 17:39 |
Reporter | dogletree | Assigned To | giallu | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | 1.1.2 | ||||
Target Version | 1.1.3 | Fixed in Version | 1.1.3 | ||
Summary | 0009426: Creating the view_issues_page_columns creates a string | ||||
Description | I've followed the instructions referenced here I've done this about a dozen time and every time I perform the operation a string is created in the type feild. | ||||
Steps To Reproduce |
array ( 'selection', 'edit', 'priority', 'id', 'sponsorship_total', 'bugnotes_count', 'attachment', 'category', 'severity', 'status', 'last_updated', 'summary' ); | ||||
Tags | No tags attached. | ||||
OK this issue is resolved. I got this to work by not adding a semi colon and not adding quotes to the strings. Seems to me the wiki should note this... |
|
This is a side effect of thefix I made for the security issue detailed in 0008976. I took care of updating the wiki, thanks for noticing |
|
Hi, I've also tried to use this feature, but took me a little while to figure out, what's happening when I tried to act as it is described in the wiki tutorial. Apparently the regexp code in adm_config_set, line 84, is looking for an expression like array( without any (white)space between the 'array' keyword and the opening parenthesis. So if you add a new entry, use array( selection, edit, priority, id, sponsorship_total, bugnotes_count, attachment, category, severity, status, last_updated, summary ) Or, as a smarter alternative, I'd like to suggest the following change to the code, line 84: old: if ( preg_match('/array((.*))/', $t_full_string, $t_match) === 1 ) { new: if ( preg_match('/array[\s]((.))/', $t_full_string, $t_match) === 1 ) { |
|
Right. I committed the change in http://mantisbt.svn.sourceforge.net/mantisbt/?rev=5420&view=rev thanks for noticing |
|
MantisBT: master-1.1.x 53b3331b 2008-07-25 12:35 Details Diff |
Loosen regexp matching as suggested in bug 0009426 git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/branches/BRANCH_1_1_0@5420 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
Affected Issues 0009426 |
|
mod - adm_config_set.php | Diff File | ||
MantisBT: master c6393d1d 2008-07-25 12:37 Details Diff |
Loosen regexp matching as suggested in bug 0009426 git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@5421 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
Affected Issues 0009426, 0009455 |
|
mod - adm_config_set.php | Diff File |