Modify

Opened 10 years ago

Last modified 10 years ago

#11988 new defect

trac-jsgantt versus trac-jsGantt

Reported by: jvbussel Owned by: Chris Nelson
Priority: normal Component: TracJsGanttPlugin
Severity: normal Keywords: trac.ini
Cc: Trac Release:

Description

we are using the trac ini-editor to offer the posibility to change ini settings using the web interface. This plugin reports the sections trac-jsgantt and trac-jsGantt. I had a look in the sourcecode and saw both section names. Can all section names be written as trac-jsgantt or trac-jsGantt? We are using Linux to host Trac and are therefore case sensitive.

Further the section TracPM is detected but no options are beeing reported.

Attachments (0)

Change History (2)

comment:1 in reply to:  description Changed 10 years ago by Chris Nelson

Replying to joop.van.bussel@…:

we are using the trac ini-editor to offer the posibility to change ini settings using the web interface. This plugin reports the sections trac-jsgantt and trac-jsGantt. I had a look in the sourcecode and saw both section names. Can all section names be written as trac-jsgantt or trac-jsGantt? We are using Linux to host Trac and are therefore case sensitive.

I don't know if the configuration processing in Trac (or Python?) is case sensitive. The plugin code uses trac-jsgantt in all but one place (I should fix that). It is likely safest to use all lower case.

Further the section TracPM is detected but no options are being reported.

I'm not sure what to make of that. I'm not familiar with the ini editor you refer to. There certainly can be values in that section. I'd have to think to see if they are all optional. The plugin code uses "TracPM" consistently.

Mine configuration looks like

[TracPM]
active_goal_statuses = active
date_format = %Y-%m-%d
default_estimate = 8
estimate_pad = 4
fields.estimate = estimatedhours
fields.finish = userfinish
fields.start = userstart
fields.worked = totalhours
goal_ticket_type = inchpebble
incomplete_milestone_goal_status = idle
relation.parent-child = subtickets,parent,child
relation.pred-succ = mastertickets,source,dest
useactuals = 1

there are examples on the plugin's page.

comment:2 Changed 10 years ago by anonymous

Writing them the same in the code everywhere would be great. A quick grep turned out that it is probably just one typo 

./tracjsgantt/tracjsgantt.py: Option('trac-jsGantt', 'option.linkStyle', 'standard',

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Chris Nelson.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.