Opened 11 years ago

Closed 5 years ago

#1986 closed defect (wontfix)

Wrong fields hided from the ticket view, after it's creation

Reported by: Florian Seydoux Owned by: Noah Kantrowitz
Priority: normal Component: CondFieldsPlugin
Severity: normal Keywords: IE7 DISPLAY
Cc: Trac Release: 0.10


I've tried to use this interesting plugin, but unfortunately I encounter some issues (as you can imagine).

I have a set of custom fields for my trac site, and they are correctly hided, accordingly to the ticket type, when a new ticket is created; but when I go back to a previously created ticket, fields that I should see are hided (some of them), and fields that I should'nt see (cc, keywords and assigned to) are showed.

Also, any other (minor) issue (hum... I probably should create separate tickets for that, but): with IE7, the hiding process doesn't work (as far as I can see, javascript is enabled, but IE complain about "error" on page:

Error: 'condfields[...]' is null or not an object

Attachments (0)

Change History (6)

comment:1 Changed 11 years ago by anonymous

To solve the IE7 problem:

change condfields.cs:

    $('#type').change(function() {

comment:2 Changed 11 years ago by anonymous

Impovement to avoid an error in other pages:

    if($('#type').size()>0) {
      $('#type').change(function() {

comment:3 in reply to:  2 Changed 11 years ago by Florian Seydoux

Replying to anonymous:

Impovement to avoid an error in other pages: [...]

Yeah. it works fine - thanks a lot.

comment:4 Changed 11 years ago by steve@…

Regarding this patch - worked perfectly for me too. IE6 also picks up this problem so this fix was essential.

Regarding the original ticket - I cannot reproduce the problem.

comment:5 in reply to:  4 Changed 10 years ago by Florian Seydoux

Replying to [...]

Regarding the original ticket - I cannot reproduce the problem.

Effectively. It seems that it was due to a conflict with another plugin (but which one, I don't know for the moment). By deactivating almost all of the one that I have in my test site, the fields are now correctly filtered. I'll try to detect the (set of) plugin(s) who cause the conflict...

comment:6 Changed 5 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.