You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "Josh Thompson (JIRA)" <ji...@apache.org> on 2013/03/14 20:46:13 UTC
[jira] [Updated] (VCL-456) groupwasnone variable is not properly
initialized
[ https://issues.apache.org/jira/browse/VCL-456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Thompson updated VCL-456:
------------------------------
Fix Version/s: 2.2.2
> groupwasnone variable is not properly initialized
> -------------------------------------------------
>
> Key: VCL-456
> URL: https://issues.apache.org/jira/browse/VCL-456
> Project: VCL
> Issue Type: Bug
> Components: web gui (frontend)
> Affects Versions: 2.2.1
> Environment: CentOS 5.5, httpd-2.2.15, php-5.2.14
> Reporter: Shoji Kajita
> Fix For: 2.2.2, 2.3
>
> Attachments: groupwasnone-bug.png
>
>
> In .ht-inc/groups.php, $groupwasnone is not properly initialized and it causes undef error as seen in attached screenshot. The workaround would be something like this:
> -----
> diff -cb /cloud/apache2/htdocs/vcl/.ht-inc/groups.php.20110420 /cloud/apache2/htdocs/vcl/.ht-inc/groups.php
> *** /cloud/apache2/htdocs/vcl/.ht-inc/groups.php.20110420 2011-04-20 06:24:17.000000000 +0900
> --- /cloud/apache2/htdocs/vcl/.ht-inc/groups.php 2011-04-20 06:24:33.000000000 +0900
> ***************
> *** 401,406 ****
> --- 401,407 ----
> printSubmitErr(GRPNAMEERR);
> print "</TD>\n";
> print " </TR>\n";
> + $groupwasnone = 0;
> if($data["type"] == "user") {
> print " <TR>\n";
> print " <TH align=right>Owner:</TH>\n";
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira