Opened 19 years ago
Closed 19 years ago
#3286 closed defect (worksforme)
ticket remove fails
| Reported by: | Owned by: | daniel | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | admin/console | Version: | devel |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
On r3423 i get
Command failed: 'Environment' object has no attribute 'href'
on a ticket remove
Attachments (0)
Change History (8)
comment:1 by , 19 years ago
comment:3 by , 19 years ago
Ah, found it: this must come from the SpamFilter.
As a quick workaround, try disabling the SpamFilter while performing the ticket remove.
comment:4 by , 19 years ago
No, SpamFilter is not enabled on this installation.
Any ideas on which files to check the usage of .href?
Debug log says nothing.
comment:5 by , 19 years ago
Ah, that was my first guess. But then it must be some other
plugin that implements the ITicketChangeListener and that
makes use of the (non-existent) href attribute of the env
within its ticket_deleted callback.
comment:6 by , 19 years ago
Hm, no. Currently I am using Account Manager and Trac Admin, but the error persists if both are disabled (commented out).
So my trac ini looks like ;[components] ;acct_mgr.* = enabled ;webadmin.* = enabled
comment:7 by , 19 years ago
With another installation on the same server it works. May there be a config setting which causes this?
comment:8 by , 19 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
It was possibly a bug with 0.10.x under some (unknown) circumstances, but with 0.11, this can't happen anymore, as the .href is always a valid property of the Environment.
So I'm closing this as worksforme, 0.11 speaking, as the issue is not frequent/important enough to bother with 0.10.x.



Hm, works for me:
Can you try to instrument the code in order to see where this error is coming from?