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 2011/05/27 15:14:47 UTC

[jira] [Resolved] (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 resolved VCL-456.
-------------------------------

    Resolution: Fixed

> 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.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.
For more information on JIRA, see: http://www.atlassian.com/software/jira