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 Ryan J Ollos)

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 Ryan J Ollos

Description: modified (diff)

comment:2 Changed 7 years ago by Jon Ashley

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.

Last edited 7 years ago by Jon Ashley (previous) (diff)

comment:3 Changed 7 years ago by Jon Ashley

Status: newaccepted

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:4 Changed 7 years ago by anonymous

That fixed the issue, thanks!

comment:5 Changed 7 years ago by Jon Ashley

Resolution: fixed
Status: acceptedclosed

Glad it worked. Fixed in [16643].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jon Ashley.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.