Modify ↓
Opened 7 years ago
Closed 7 years ago
#13199 closed defect (fixed)
Unexpected terminal ERR
Reported by: | anonymous | Owned by: | Jon Ashley |
---|---|---|---|
Priority: | normal | Component: | KeepInterfaceSimplePlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 1.0 |
Description (last modified by )
When I try enabling this plugin I get an "Unexpected terminal ERR" message. This prevents me from being able to edit any ticket. In my trac.ini I have :
Released tickets cannot be modified = !has_role(‘TRAC_ADMIN’) && status == 'closed'.
I have no idea what this issue is, any help would be appreciated. Thanks!
Attachments (0)
Change History (5)
comment:1 Changed 7 years ago by
Description: | modified (diff) |
---|
comment:3 Changed 7 years ago by
Status: | new → accepted |
---|
I've made a small improvement to the error message that is shown in the event of an unrecognised token in a Warden rule; see [16638].
comment:5 Changed 7 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Glad it worked. Fixed in [16643].
Note: See
TracTickets for help on using
tickets.
Can you please check the opening quote before "TRAC_ADMIN"?
It looks like a backquote, ASCII character 96 (`), which would indeed give the error that you describe. The quote after "TRAC_ADMIN" also looks suspicious, with character code 146. The only quotes accepted in the KIS configuration as quotes are single quotes, ASCII character 39, like this: '
Also, there shouldn't be a full stop after the rule, but I think that just got added in reporting and was probably not in your trac.ini file.
Please let me know if this fixes the issue (or not). Thanks.