View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000201 | pgpoolAdmin | Bug | public | 2016-05-24 22:31 | 2016-05-25 17:08 |
| Reporter | Roman Pashin | Assigned To | anzai | ||
| Priority | high | Severity | block | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Platform | Linux | OS | Debian | OS Version | 8.0 |
| Summary | 0000201: 'Recover' button greyed out always in gui 'Node status' | ||||
| Description | It turned out, that in common.php in function readConfigParams($paramList = array() didgits are cutting of 'keys' and it affect such keys as 'recovery_1st_stage_command' and 'recovery_2nd_stage_command' | ||||
| Steps To Reproduce | Install pgpooladmin 3.5.2. Configure streaming replication with at least 2 backends. Stop postgres server on slave. Reload status page. Button 'Recover' should be greyed out with comment "fill in variable 'recover_1st_stage_command'". | ||||
| Additional Information | It works with following patch: common.php 343,349c343,344 < < if ( strpos($key, '_1st_') || strpos ($key, '_2nd_')){ < $key_wo_num = $key; < } else { < $num = preg_replace('/[^0-9]/', NULL, $key); < $key_wo_num = str_replace($num, NULL, $key); < } --- > $num = preg_replace('/[^0-9]/', NULL, $key); > $key_wo_num = str_replace($num, NULL, $key); | ||||
| Tags | No tags attached. | ||||
|
|
Thank you for the report. I fixed it. http://git.postgresql.org/gitweb/?p=pgpooladmin.git;a=commitdiff;h=1252842da7852d7dff16924a6b207663a57949cc |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-05-24 22:31 | Roman Pashin | New Issue | |
| 2016-05-25 17:07 | anzai | Note Added: 0000842 | |
| 2016-05-25 17:08 | anzai | Status | new => resolved |
| 2016-05-25 17:08 | anzai | Resolution | open => fixed |
| 2016-05-25 17:08 | anzai | Assigned To | => anzai |