Cooke, Mark wrote:
> I know I can set [ticket] `default_owner` in trac.ini but I think it
> would be nice to be able to modify this from the WebAdmin `Components`
> interface.
> 
> Does anyone else think this would be useful?

Sounds like a very good idea to me. There indeed doesn't seem to be a
ticket about that, so please create one and attach your patch.

Note however that default_owner doesn't work as advertised (we should
fix the documentation about that). Prior to creating a ticket, the
component isn't known, so there's no way for Trac to suggest the
component owner as the default owner (except possibly by doing some
AJAXy stuff, which might be a good idea, too). So what happens is this:

 - The owner field is preset to the value of default_owner, whatever its
content. By default, it's "< default >".

 - On submission, either of the following happens:

   - If the owner field is set to the text "< default >", the owner
becomes the component owner.

   - Otherwise, the owner is set to the value of the field. In
particular, if the field is empty, no owner is set.

-- Remy

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to