Opened 9 years ago

Last modified 7 years ago

#5923 new defect

Policies are not applied

Reported by: andreavb Owned by: obs
Priority: high Component: TicketSubmitPolicyPlugin
Severity: major Keywords:
Cc: Jan Beilicke Trac Release: 0.11


Environment: I'm using Debian 5.0, Trac 0.11.1, Mozilla Firefox 3.0.13 (with Javascript enabled, of course).

I got your plugin to be correctly installed, and it seemed to be working: the Admin panel has appeared, I'm able to configure it... but no policies are applied.

To test if the JS codes were loading correctly, I've changed the onsubmit and requires function to pop alerts like "Reached the Requires function" and so on. The alerts are always exhibited, but the policy is not being applied.

As I had some field's name containing two or more words ("defect report" instead of defect, for example), I've tried some simple stuff, as in: policy1.condition = resolution is fixed policy1.requires = version

I don't know what else I could do to try to test and/or fix it. Please, advise.

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by obs

Owner: changed from Jeff Hammel to obs

comment:2 Changed 7 years ago by Jan Beilicke

Cc: Jan Beilicke added; anonymous removed

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain obs.

Add Comment

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

Note: See TracTickets for help on using tickets.