Modify

Opened 2 years ago

Last modified 22 months ago

#10348 new defect

DynamicFieldsPlugin affects Collapse/Expand/Foldable Functionality in Trac 0.12

Reported by: prav Owned by: robguttman
Priority: normal Component: DynamicFieldsPlugin
Severity: normal Keywords: collapsible/foldable
Cc: falkb Trac Release: 0.12

Description (last modified by rjollos)

Activating the (dynfields.web_ui.*) option of the DynamicFieldsPlugin affects Expand/Collapse functionality that is default in Trac 0.12.

The Attachments, Change History and Modify Tickets of the ticket view are collapsible, this functionality was made default from 0.12 (t:#8295). This bug deactivates it.

Please let me know if any more information/screenshots are necessary.

My Trac version: - Trac 0.12.3 Babel 0.9.5 Genshi 0.6

Attachments (0)

Change History (8)

comment:1 Changed 2 years ago by robguttman

To clarify, which version of dynfields are you using? If you're using 0.12 please switch to 0.11 and let me know if you still have the problem.

comment:2 Changed 2 years ago by prav

I was using 0.11 when I encountered this error. I used 0.11 based on the suggestion on the plugin page. So this bug exists on 0.11 currently.

To check if the 0.12 might work, I switched it and found that this bug doesn't exist on 0.12 but I have other issues (the fields are not dynamic and are not working the way they are supposed to).

comment:3 Changed 2 years ago by rjollos

  • Description modified (diff)

comment:4 Changed 2 years ago by rjollos

Is anything seen in the browser's javascript error console?

comment:5 Changed 2 years ago by prav

I get the following error message when I click on "New Ticket" or view a ticket description.

[07:16:01.192] Use of attributes' specified attribute is deprecated. It always returns true. @/chrome/common/js/jquery.js:51
[07:16:01.235] TypeError: a.attributes is undefined @/chrome/common/js/jquery.js:55

comment:6 Changed 2 years ago by rjollos

What other plugins do you have installed? This is most likely a conflict with another plugin. Please try disabling all of them and see if the error goes away. Then enable them one-by-one until you find which plugin results in the error.

comment:7 Changed 2 years ago by prav

Hi, Here are a list of my installed plugins: -

Installed Plugins

ComponentDependencyPlugin 	0.1 	/plugins/ComponentDependencyPlugin-0.1-py2.5.egg
ImageTrac 	0.4 	/ImageTrac-0.4-py2.5.egg
mail2trac 	1 	/mailtotracplugin/0.12/plugin
ScreenshotPaste 	0.1.1 	/plugins/ScreenshotPaste-0.1.1-py2.5.egg
TicketConditionalCreationStatusPlugin 	0.2 	/plugins/TicketConditionalCreationStatusPlugin-0.2-py2.5.egg
TicketSidebarProvider 	0.0 	/plugins/TicketSidebarProvider-0.0-py2.5.egg
TracDynamicFields 	1.2.3 	/plugins/TracDynamicFields-1.2.3-py2.5.egg
TracTicketChainedFields 	0.1 	/plugins/TracTicketChainedFields-0.1-py2.5.egg

I tried doing what you said and it's the same thing, when all plugins are disabled it works, I enable them one by one and I get the error only when dynfields is enabled.

The only other odd thing I noticed is that I am unable to disable my TicketSidebarProvider plugin, it asks for an upgrade when I disable it and the upgrade enables it back again. Could this be an issue? Please advise.

comment:8 Changed 22 months ago by falkb

  • Cc falkb added

I also see the described bug behaviour

Add Comment

Modify Ticket

Action
as new The owner will remain robguttman.
Author


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

 
Note: See TracTickets for help on using tickets.