Opened 9 years ago
Closed 9 years ago
#12683 closed defect (worksforme)
DynamicFieldsPlugin enabled stops BatchModify working
Reported by: | Owned by: | Ryan J Ollos | |
---|---|---|---|
Priority: | normal | Component: | DynamicFieldsPlugin |
Severity: | normal | Keywords: | |
Cc: | stephen.scott@… | Trac Release: | 1.0 |
Description
After installing the DynamicFieldsPlugin we noticed that the BatchModify area at the bottom of Custom reports had disappeared for users with TICKET_BATCH_MODIFY permissions.
Disabling the DynamicFieldsPlugin through the Admin area restored the Batch Modify functionality.
Trac config details
Package Version Trac 1.0.1 Trac 1.0.1 Docutils 0.12 Genshi 0.6.1 (without speedups) mod_wsgi 3.4 (WSGIProcessGroup trac.linkdex.com WSGIApplicationGroup trac.linkdex.com) MySQL server: "5.5.37-0ubuntu0.14.04.1-log", client: "5.5.41", thread-safe: 1 MySQLdb 1.2.3 Python 2.7.6 (default, Mar 22 2014, 23:03:41) [GCC 4.8.2] Python 2.7.6 (default, Mar 22 2014, 23:03:41) [GCC 4.8.2] pytz 2014.3 pytz 2014.3 RPC 1.1.2-r13776 setuptools 3.3 setuptools 3.3 Subversion 1.8.8 (r1568071) jQuery 1.7.2 Installed Plugins Name Version Location BreadCrumbsNav 0.2-r10896 /usr/local/lib/python2.7/dist-packages/BreadCrumbsNav-0.2_r10896-py2.7.egg mail2trac 1.0 /vol/trac/v2/plugins/mail2trac-1.0-py2.7.egg TracCodeComments 1.1.1 /vol/trac/v2/plugins/TracCodeComments-1.1.1-py2.7.egg TracCodeReviewer 0.0.3 /vol/trac/v2/plugins/TracCodeReviewer-0.0.3-py2.7.egg TracDynamicFields 2.2.0.dev0 /vol/trac/v2/plugins/TracDynamicFields-2.2.0.dev0-py2.7.egg TracMigratePlugin 0.12.0.3 /usr/local/lib/python2.7/dist-packages/TracMigratePlugin-0.12.0.3-py2.7.egg TracSimpleTicket 5.0dev /vol/trac/v2/plugins/TracSimpleTicket-5.0dev-py2.7.egg TracSubTicketsPlugin 0.2.0.dev-20140523 /usr/local/lib/python2.7/dist-packages/TracSubTicketsPlugin-0.2.0.dev_20140523-py2.7.egg TracTypedTicketWorkflow 0.2 /vol/trac/v2/plugins/TracTypedTicketWorkflow-0.2-py2.7.egg TracXMLRPC 1.1.2-r13776 /vol/trac/v2/plugins/TracXMLRPC-1.1.2_r13776-py2.7.egg
Attachments (0)
Change History (5)
comment:1 Changed 9 years ago by
comment:2 Changed 9 years ago by
Yes, there is a Javascript error.
Output from Firebug in FF v44.0
TypeError: input.attr(...) is undefined hiderule.setup(input=Object[Window query?status=accepted&st...eport=48&order=priority], spec=Object { target="source", rule_name="HideRule", hide_always="false", more...})rules.js (line 118) apply_rules/</<(i=0, spec=Object { target="source", rule_name="HideRule", hide_always="false", more...})dynfields.js (line 39) f</<.each(a=[Object { target="source", rule_name="HideRule", hide_always="false", more...}], c=function(i, spec), d=undefined)jquery.js (line 2) apply_rules/<(trigger="type", specs=[Object { target="source", rule_name="HideRule", hide_always="false", more...}])dynfields.js (line 38) f</<.each(a=Object { type=[1]}, c=function(trigger, specs), d=undefined)jquery.js (line 2) apply_rules()dynfields.js (line 37) f.event.dispatch(c=Object { type="change", timeStamp=1456737579902, jQuery172041257996634607674=true, more...})jquery.js (line 3) f.event.add/i(a=Object { type="change", timeStamp=1456737579902, jQuery172041257996634607674=true, more...})jquery.js (line 3) f.event.trigger(c=Object { type="change", timeStamp=1456737579902, jQuery172041257996634607674=true, more...}, d=[Object { type="change", timeStamp=1456737579902, jQuery172041257996634607674=true, more...}], e=Window query?status=accepted&st...eport=48&order=priority, g=undefined)jquery.js (line 3) .trigger/<()jquery.js (line 3) f</<.each(a=Object[Window query?status=accepted&st...eport=48&order=priority], c=function(), d=undefined)jquery.js (line 2) f</e.prototype.each(a=function(), b=undefined)jquery.js (line 2) .trigger(a="change", b=undefined)jquery.js (line 3) f.fn[b](a=null, c=undefined)jquery.js (line 3) dynfields.js(obj=0)dynfields.js (line 70) f</<.each(a=[undefined], c=function(obj), d=undefined)jquery.js (line 2) dynfields.js($=function(a, b))dynfields.js (line 69) f.Callbacks/o(b=Document query?status=accepted&status=assigned&status=new&status=reopened&milestone=Milestone129&group=owner&col=id&col=summary&col=milestone&col=status&col=type&col=priority&col=reporter&report=48&order=priority, f=[function(a, b)])jquery.js (line 2) f.Callbacks/p.fireWith(b=Document query?status=accepted&status=assigned&status=new&status=reopened&milestone=Milestone129&group=owner&col=id&col=summary&col=milestone&col=status&col=type&col=priority&col=reporter&report=48&order=priority, c=[function(a, b)])jquery.js (line 2) f</<.ready(a=undefined)jquery.js (line 2) f</B()jquery.js (line 2) var trigger = input.attr('id').substring(6); // ids start with 'field-'
comment:4 Changed 9 years ago by
That's pretty difficult to read. Could you please try to paste in a better format, or just take a screen capture?
Did you install revision r15124? Just now I bumped the version so that by reinstalling we can be sure that the latest is installed. The plugin should now display version 2.2.0.
Are you running with Apache or Nginx? If so, you'll need to refresh static resources after installing: TracUpgrade#a5.Refreshstaticresources.
comment:5 Changed 9 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Feel free to reopen if you can provide more info.
Are there any JavaScript errors in the browser console?