Bug#654688: marked as done (JavaScriptError: Object # has no method 'autocomplete')

Thu, 05 Jan 2012 02:42:24 -0800

Your message dated Thu, 05 Jan 2012 11:39:17 +0100
with message-id <[email protected]>
and subject line Re: Bug#654688: JavaScriptError: Object #<Object> has no 
method 'autocomplete'
has caused the Debian Bug report #654688,
regarding JavaScriptError: Object #<Object> has no method 'autocomplete'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
654688: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=654688
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: otrs2
Version: 3.0.11+dfsg1-1

When going tohttp://otrs.localhost/index.pl?Action=AgentTicketPhone  
<http://otrs.intux/index.pl?Action=AgentTicketPhone>  for example, the text 
editor seems to be throwing errors:

[ERROR] JavaScriptError: Object #<Object>  has no method 'autocomplete'
Core.Debug.js:42  <http://otrs.intux/otrs-web/js/Core.Debug.js>[STACKTRACE] HTMLDocument.<anonymous>  
(http://otrs.localhost/otrs-web/js/Core.App.js:39:21  <http://otrs.intux/otrs-web/js/Core.App.js>) Function.<anonymous>  
(http://otrs.localhost/otrs-web/js/thirdparty/jquery/jquery.js:3032:11  
<http://otrs.intux/otrs-web/js/thirdparty/jquery/jquery.js>) Function.each 
(http://otrs.localhost/otrs-web/js/thirdparty/jquery/jquery.js:692:29  
<http://otrs.intux/otrs-web/js/thirdparty/jquery/jquery.js>) Function.ready 
(http://otrs.localhost/otrs-web/js/thirdparty/jquery/jquery.js:3031:12  
<http://otrs.intux/otrs-web/js/thirdparty/jquery/jquery.js>) HTMLDocument.<anonymous>  
(http://otrs.localhost/otrs-web/js/thirdparty/jquery/jquery.js:3056:11  
<http://otrs.intux/otrs-web/js/thirdparty/jquery/jquery.js>)
Core.Exception.js:113  <http://otrs.intux/otrs-web/js/Core.Exception.js>Uncaught 
TypeError: Object #<Object>  has no method 'autocomplete'

This renders anything javascript-based useless (eg buttons,...).

Downloading the source of 3.0.11 and using this works just fine.

It seems that the debian package has differences from the original source, as 
seen here:

Debian package has: jQuery JavaScript Library v1.3.2 
/usr/share/otrs/var/httpd/htdocs/js/thirdparty/jquery/jquery.js

Original source has:jQuery JavaScript Library v1.4.4 
/opt/otrs/var/httpd/htdocs/js/thirdparty/jquery-1.4.4/jquery.js

I'm not sure why this has been changed?

Kind regards,

Bart


--- End Message ---
--- Begin Message ---
Am 05.01.2012 11:09, schrieb Bart Verwilst:
On 01/05/2012 10:52 AM, Patrick Matthäi wrote:
Uhm, what shows ups:
uname -a
dpkg -l|grep libjs

Well, i must admit that this has been installed on an Ubuntu Lucid ;)

*mumble*
And I thought that you maybe self backported it on e.g. Lenny/Squeeze


Which gave me old versions of the libjs-* libs:

ii libjs-jquery 1.3.3-2ubuntu1 JavaScript library for dynamic web
applications
ii libjs-jquery-ui 1.7.2-1 JavaScript UI library for dynamic web
applications
ii libjs-prototype 1.6.1-1 JavaScript Framework for dynamic web
applications
ii libjs-yui 2.8.0r4-1 Yahoo User Interface Library

I upgraded them:

ii libjs-jquery 1.7.1-1 JavaScript library for dynamic web applications
ii libjs-jquery-ui 1.8.ooops.16+dfsg-1 JavaScript UI library for dynamic
web applications
ii libjs-prototype 1.7.0-2 JavaScript Framework for dynamic web
applications
ii libjs-yui 2.8.2r1~squeeze-1 Yahoo User Interface Library

And now it works! I know this is probably 'unsupported', but a
satisfactory resolution of this bug would be to pin the versions of
above libs to a version that is >= the current values to avoid backport
issues in the future?



The libjs foo is too complicated to pin the versions :/


--- End Message ---

Reply via email to