bugSavane - Bugs: bug #4571, "bug" or...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #4571: "bug" or "bugs" in CanUse($artifact)

Submitted by:  Yvonnick Esnault <yvo>
Submitted on:  Sun 23 Oct 2005 08:27:25 AM UTC  
 
Category: Web FrontendStatus: Fixed
Severity: 3 - NormalPriority: C - Normal
Assigned to: NoneOpen/Closed: Closed
Release: 1.2Planned Release: 1.3
Reproducibility: NonePrivacy: Public

Fri 11 Nov 2005 10:10:00 AM UTC, comment #2:

Ok, that's applied. Thanks a lot for the report and the fix.

Mathieu Roy <yeupou>
Project Administrator
Thu 10 Nov 2005 02:31:53 PM UTC, comment #1:

I'll look into that ASAP.

Mathieu Roy <yeupou>
Project Administrator
Sun 23 Oct 2005 08:27:25 AM UTC, original submission:

Hi,
(using savane 1.2)

I write at line 145 of /include/Group.class this :
if ($artifact == "bugs") $artifact="bug";

Without that, the section "bugs" is not display for the group. Somethimes, it's use CanUse("bug"), and other times CanUse("bugs")

with "bug" it's good, but not with "bugs". Example :

if ($project->CanUse("bug"))
{ specific_line("bugs", _("Bugs Tracker"), $project->Uses("bugs")); }

(arount ligne 300 in project/admin/editgroupfeatures.php

The first $project->CanUse("bug") is good, and enter the section. Then, $project->Uses("bugs") go to :

function Uses($artifact)
{
if ($this->project_data_array['use_'.$artifact] != "")
{ return $this->project_data_array['use_'.$artifact]; }
else
{ return $this->CanUse($artifact); }
}

which go to the CanUse("bugs") directly...

Hope this help

Yvonnick Esnault <yvo>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one

Digest:
   task dependencies.

 

Carbon-Copy List
  • -unavailable- added by yeupou (Updated the item)
  • -unavailable- added by yvo (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 11 Nov 2005 10:10:00 AM UTCyeupouSeverity4 - Important=>3 - Normal
      StatusNeed Info=>Fixed
      Open/Closed-Automatic update due to transitions settings-=>Closed
    Thu 10 Nov 2005 02:31:53 PM UTCyeupouSeverity5 - Blocker=>4 - Important
      StatusNone=>Need Info
      Planned Release=>1.3
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup