Modify

Opened 7 years ago

Closed 16 months ago

#2434 closed defect (wontfix)

javascript error when not configured...plus I can't configure it properly.

Reported by: eoin.dunne@… Owned by: coderanger
Priority: normal Component: CondFieldsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description (last modified by rjollos)

Great idea for a plugin by the way. I just have to get it working properly.

When the plugin is enabled but the section [condfields] is missing (or there but not configured properly) I get a java script error.

Arguably the javascript should be happy and do nothing when the plugin is not configured properly.

The java script error is:

Line: 220
Char: 13
Error: 'condfields[...]' is null or not an object
Code: 0
URL : etc.

Using InternetExplorer 7.0.57.

Also the example on how to configure the plugin is not clear.

Say I have a ticket type called milestone_target and I only want a section called acceptance criteria to show up on that ticket type.
So Trac.ini:

[components]
condfields.web_ui.condfieldsmodule = enabled

[ticket-custom]
acceptance = textarea
acceptance.cols = 70
acceptance.label = Ticket Acceptance Criteria
acceptance.order = 16
acceptance.rows = 10
acceptance.value =

[condfields]
milestone_target = acceptance 

Attachments (0)

Change History (5)

comment:1 Changed 7 years ago by anonymous

...

comment:2 Changed 6 years ago by anonymous

:-(

comment:3 Changed 6 years ago by anonymous

I have the similar problem with IE 7.0.5730.13 even when [conffield] are set correctly, firefox works fine.
The java script error is: Line: 155 Char: 13 Error: 'condfields...' is null or not an object Code: 0 URL : blah blah

comment:4 Changed 16 months ago by rjollos

  • Description modified (diff)

comment:5 Changed 16 months ago by rjollos

  • Resolution set to wontfix
  • Status changed from new to closed

The 0.10 version of this plugin is no longer supported. If you can reproduce the issue with the 0.11 branch and Trac 0.11 or later, please create a new ticket and I will promptly fix the issue.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from coderanger. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.