Menu

Trac Commit Log


Commit Date  
[r6129] by cboos

context-refactoring: eliminate `Resource.from_spec` in favor of a more flexible `Resource` constructor.

Also, in the various places where resource specifications are optionally given, make sure that the `False` value is used for the default argument, as `None` can be a valid argument:
- for `resource`, `None` means consider the realm as a whole
- for `version`, `None` means use the latest revision

2007-11-06 12:58:08 Tree
[r6128] by cboos

Fix and simplify the svn:externals property render.

2007-11-06 11:33:06 Tree
[r6127] by cboos

Clean-up the `request_dispatcher` and shutdown the environment after error processing.

2007-11-06 10:58:11 Tree
[r6126] by cboos

Complement to r6125 for fixing #5594 fully, we need to revert the `del req.chrome` line added in [4101/trunk/trac/web/main.py].

2007-11-06 10:25:54 Tree
[r6125] by cboos

Make sure that request post-processors are called even after an error occurred. Fixes #5594.

2007-11-06 10:22:21 Tree
[r6124] by cboos

While testing Trac for r6123, I didn't notice any difference with or without r4886, therefore I'm reverting that change.
It seems that the reason for #4465 was different anyway, but I can't reproduce that timeout problem anymore.

2007-11-06 10:08:29 Tree
[r6123] by cboos

Fix a race condition in the !RepositoryManager constructor.

The problem can be easily reproduced when starting a dozen simultaneous queries on a server which has just been initialized. This triggers the following errors related to the svn_fs vc backend:
{{{
'Pool' object has no attribute '_pool'
}}}
or:
{{{
AttributeError: 'SubversionConnector' object has no attribute 'has_subversion'
}}}

Actually, ''all'' the component constructors are subject to multi-threading issues, this one was just the one that presented some symptoms. There should actually be some kind of locking at the level of `maybe_init` in `trac.core`.

I'll try that as a second step, as for now that local fix in the `RepositoryManager.__init__` constructor is enough to get rid of the reported problems.

2007-11-06 07:49:38 Tree
[r6122] by cboos

Follow-up to r6120: the fix was not complete, as we need to activate the "preview" mode when creating a new error ticket with the semi-automatic error reporting. Related to #5025.

2007-11-02 16:58:18 Tree
[r6121] by cboos

Log a warning instead of an error when a dependency is not found.

Closes #5595.

2007-10-31 13:57:39 Tree
[r6120] by cboos

Fix the /newticket request handler so that simple named parameters (like ''version'', ''component'' etc.) can be added as query parameters. Fixes the #5025 regression.

2007-10-31 10:48:08 Tree
Older >