Opened 7 weeks ago

Closed 12 days ago

#31379 closed defect (fixed)

Get error message "Error loading tickets." On the 'Create New Ticket' page after writing to the 'summery' input box

Reported by: xhdix Owned by: anarcat
Priority: Medium Milestone:
Component: Internal Services/Service - trac Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

xmlrpc XHR :

<?xml version='1.0'?>
<methodResponse>
<fault>
<value><struct>
<member>
<name>faultCode</name>
<value><int>403</int></value>
</member>
<member>
<name>faultString</name>
<value><string>XML_RPC privileges are required to perform this operation. You don't have the required permissions.</string></value>
</member>
</struct></value>
</fault>
</methodResponse>

console log:

Firefox:

jQuery.Deferred exception: $.browser is undefined $.Autocompleter@https://trac.torproject.org/projects/tor/chrome/autocomplete/js/autocomplete.js:96:5
autocomplete/<@https://trac.torproject.org/projects/tor/chrome/autocomplete/js/autocomplete.js:39:11
each@https://trac.torproject.org/projects/tor/chrome/common/js/jquery.js:1:3995
each@https://trac.torproject.org/projects/tor/chrome/common/js/jquery.js:1:1452
autocomplete@https://trac.torproject.org/projects/tor/chrome/autocomplete/js/autocomplete.js:38:16
@https://trac.torproject.org/projects/tor/chrome/autocomplete/js/autocomplete_newticket.js:6:3
mightThrow@https://trac.torproject.org/projects/tor/chrome/common/js/jquery.js:2:15531
resolve/</process<@https://trac.torproject.org/projects/tor/chrome/common/js/jquery.js:2:16200
 undefined
jquery.js:2:18293
jQuery.Deferred exception: $.browser is undefined $.Autocompleter@https://trac.torproject.org/projects/tor/chrome/autocomplete/js/autocomplete.js:96:5
autocomplete/<@https://trac.torproject.org/projects/tor/chrome/autocomplete/js/autocomplete.js:39:11
each@https://trac.torproject.org/projects/tor/chrome/common/js/jquery.js:1:3995
each@https://trac.torproject.org/projects/tor/chrome/common/js/jquery.js:1:1452
autocomplete@https://trac.torproject.org/projects/tor/chrome/autocomplete/js/autocomplete.js:38:16
@https://trac.torproject.org/projects/tor/newticket:96:17
mightThrow@https://trac.torproject.org/projects/tor/chrome/common/js/jquery.js:2:15531
resolve/</process<@https://trac.torproject.org/projects/tor/chrome/common/js/jquery.js:2:16200
 undefined
jquery.js:2:18293
TypeError: $.browser is undefined[Learn More]
autocomplete.js:96:5
$.Autocompleter
https://trac.torproject.org/projects/tor/chrome/autocomplete/js/autocomplete.js:96:5
autocomplete/<
https://trac.torproject.org/projects/tor/chrome/autocomplete/js/autocomplete.js:39:11
each
https://trac.torproject.org/projects/tor/chrome/common/js/jquery.js:1:3995
each
https://trac.torproject.org/projects/tor/chrome/common/js/jquery.js:1:1452
autocomplete
https://trac.torproject.org/projects/tor/chrome/autocomplete/js/autocomplete.js:38:16
<anonymous>
https://trac.torproject.org/projects/tor/chrome/autocomplete/js/autocomplete_newticket.js:6:3
mightThrow
https://trac.torproject.org/projects/tor/chrome/common/js/jquery.js:2:15531
resolve/</process<
https://trac.torproject.org/projects/tor/chrome/common/js/jquery.js:2:16200

Chrome:

jquery.js:2 jQuery.Deferred exception: Cannot read property 'opera' of undefined TypeError: Cannot read property 'opera' of undefined
    at new $.Autocompleter (https://trac.torproject.org/projects/tor/chrome/autocomplete/js/autocomplete.js:96:15)
    at HTMLInputElement.<anonymous> (https://trac.torproject.org/projects/tor/chrome/autocomplete/js/autocomplete.js:39:11)
    at Function.each (https://trac.torproject.org/projects/tor/chrome/common/js/jquery.js:1:4004)
    at jQuery.fn.init.each (https://trac.torproject.org/projects/tor/chrome/common/js/jquery.js:1:1459)
    at jQuery.fn.init.autocomplete (https://trac.torproject.org/projects/tor/chrome/autocomplete/js/autocomplete.js:38:21)
    at HTMLDocument.<anonymous> (https://trac.torproject.org/projects/tor/chrome/autocomplete/js/autocomplete_newticket.js:6:18)
    at mightThrow (https://trac.torproject.org/projects/tor/chrome/common/js/jquery.js:2:15539)
    at process (https://trac.torproject.org/projects/tor/chrome/common/js/jquery.js:2:16200) undefined
jQuery.Deferred.exceptionHook @ jquery.js:2
process @ jquery.js:2
setTimeout (async)
(anonymous) @ jquery.js:2
fire @ jquery.js:2
fireWith @ jquery.js:2
fire @ jquery.js:2
fire @ jquery.js:2
fireWith @ jquery.js:2
ready @ jquery.js:2
completed @ jquery.js:2
jquery.js:2 jQuery.Deferred exception: Cannot read property 'opera' of undefined TypeError: Cannot read property 'opera' of undefined
    at new $.Autocompleter (https://trac.torproject.org/projects/tor/chrome/autocomplete/js/autocomplete.js:96:15)
    at HTMLInputElement.<anonymous> (https://trac.torproject.org/projects/tor/chrome/autocomplete/js/autocomplete.js:39:11)
    at Function.each (https://trac.torproject.org/projects/tor/chrome/common/js/jquery.js:1:4004)
    at jQuery.fn.init.each (https://trac.torproject.org/projects/tor/chrome/common/js/jquery.js:1:1459)
    at jQuery.fn.init.autocomplete (https://trac.torproject.org/projects/tor/chrome/autocomplete/js/autocomplete.js:38:21)
    at HTMLDocument.<anonymous> (https://trac.torproject.org/projects/tor/newticket:105:22)
    at mightThrow (https://trac.torproject.org/projects/tor/chrome/common/js/jquery.js:2:15539)
    at process (https://trac.torproject.org/projects/tor/chrome/common/js/jquery.js:2:16200) undefined
jQuery.Deferred.exceptionHook @ jquery.js:2
process @ jquery.js:2
setTimeout (async)
(anonymous) @ jquery.js:2
fire @ jquery.js:2
fireWith @ jquery.js:2
fire @ jquery.js:2
fire @ jquery.js:2
fireWith @ jquery.js:2
ready @ jquery.js:2
completed @ jquery.js:2
jquery.js:2 Uncaught TypeError: Cannot read property 'opera' of undefined
    at new $.Autocompleter (autocomplete.js:96)
    at HTMLInputElement.<anonymous> (autocomplete.js:39)
    at Function.each (jquery.js:1)
    at jQuery.fn.init.each (jquery.js:1)
    at jQuery.fn.init.autocomplete (autocomplete.js:38)
    at HTMLDocument.<anonymous> (autocomplete_newticket.js:6)
    at mightThrow (jquery.js:2)
    at process (jquery.js:2)
$.Autocompleter @ autocomplete.js:96
(anonymous) @ autocomplete.js:39
each @ jquery.js:1
each @ jquery.js:1
autocomplete @ autocomplete.js:38
(anonymous) @ autocomplete_newticket.js:6
mightThrow @ jquery.js:2
process @ jquery.js:2
setTimeout (async)
jQuery.readyException @ jquery.js:2
(anonymous) @ jquery.js:2
mightThrow @ jquery.js:2
process @ jquery.js:2
setTimeout (async)
(anonymous) @ jquery.js:2
fire @ jquery.js:2
fireWith @ jquery.js:2
fire @ jquery.js:2
fire @ jquery.js:2
fireWith @ jquery.js:2
process @ jquery.js:2
setTimeout (async)
(anonymous) @ jquery.js:2
fire @ jquery.js:2
fireWith @ jquery.js:2
fire @ jquery.js:2
fire @ jquery.js:2
fireWith @ jquery.js:2
ready @ jquery.js:2
completed @ jquery.js:2
jquery.js:2 Uncaught TypeError: Cannot read property 'opera' of undefined
    at new $.Autocompleter (autocomplete.js:96)
    at HTMLInputElement.<anonymous> (autocomplete.js:39)
    at Function.each (jquery.js:1)
    at jQuery.fn.init.each (jquery.js:1)
    at jQuery.fn.init.autocomplete (autocomplete.js:38)
    at HTMLDocument.<anonymous> (newticket:105)
    at mightThrow (jquery.js:2)
    at process (jquery.js:2)

Child Tickets

Attachments (1)

photo_2019-08-08_22-05-58.jpg (107.5 KB) - added by xhdix 7 weeks ago.

Download all attachments as: .zip

Change History (4)

Changed 7 weeks ago by xhdix

comment:1 Changed 7 weeks ago by pili

Component: WebpagesInternal Services/Service - trac
Owner: set to qbi

comment:2 Changed 12 days ago by anarcat

Owner: changed from qbi to anarcat
Status: newassigned

comment:3 Changed 12 days ago by anarcat

Resolution: fixed
Status: assignedclosed

i don't know if that was the same situation, but i created this exact problem last night by enabling the httpauth plugin on the /xmlrpc endpoints. there were the same symptoms this morning.

to solve this, i moved the httpauth plugin to /rpc instead, which fixed the search box.

this could have been a similar test done 5 weeks ago you stumbled upon.

i believe this is, therefore, fixed.

Note: See TracTickets for help on using tickets.