Ticket #10476 (new defect)

Opened 7 months ago

Last modified 7 months ago

Doesn't parse "inherit" configuration file

Reported by: anonymous Assigned to: robguttman
Priority: high Component: DynamicFieldsPlugin
Severity: blocker Keywords:
Cc: giursino Trac Release: 0.12

Description

I'm using Trac 0.12.3, and the plugin in trunk/0.11 It works on single project, but if I want to inherit settings from common settings projects it doesn't works..

On log it give me this error:

2012-10-12 12:32:56,311 Trac[main] ERROR: Internal Server Error:
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/trac/web/main.py", line 522, in _dispatch_request
    dispatcher.dispatch(req)
  File "build/bdist.linux-i686/egg/trac/web/main.py", line 243, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/dynfields/web_ui.py", line 51, in process_request
    data = {'triggers':self._get_triggers(req)}
  File "build/bdist.linux-i686/egg/dynfields/web_ui.py", line 57, in _get_triggers
    opts = Options(self.env)
  File "build/bdist.linux-i686/egg/dynfields/options.py", line 31, in __init__
    for key in parser.options('ticket-custom'):
  File "/usr/lib/python2.5/ConfigParser.py", line 241, in options
    raise NoSectionError(section)
NoSectionError: No section: 'ticket-custom'

my prj settings, trac.ini:


[inherit]
file = trac_global.ini

[logging]
log_level = INFO
log_type = file

[project]
name = xxx
url = xxx

[trac]
database = xxx

my global prj settings: trac_global.ini

...
[components]
...
dynfields.* = enabled
...

...
[header_logo]
...

[ticket-custom]
keywords.hide_always = true
...

[ticket-workflow]
...

Attachments

Change History

10/12/12 14:06:25 changed by giursino

  • cc set to giursino.

10/26/12 23:19:14 changed by rjollos

  • summary changed from Don't parse "inherit" configuration file to Doesn't parse "inherit" configuration file.

Add/Change #10476 (Doesn't parse "inherit" configuration file)




Change Properties
Action