JavaScript error after upgrading to 3.2.1

Moderator: crythias

Locked
vliegtuig
Znuny newbie
Posts: 2
Joined: 05 Feb 2013, 00:37
Znuny Version: 3.2.1

JavaScript error after upgrading to 3.2.1

Post by vliegtuig »

I just upgraded from 3.1.x to 3.2.1 and now get the following JavaScript error when viewing any of my queues:

Code: Select all

Object #<Object> has no method 'InitCheckboxSelection'

(?)()@http://<censored>/otrs/index.pl?Action=AgentTicketSearch;Subaction=Search;StateType=Closed;CustomerID=alied%40vanede.nl:1095:13
HTMLDocument.<anonymous> (http://<censored>/otrs-web/js/js-cache/CommonJS_4efbe6f5d5e3bf1df0b6c0ae63f438cc.js:277:173)
Object.e.resolveWith (http://<censored>/otrs-web/js/js-cache/CommonJS_4efbe6f5d5e3bf1df0b6c0ae63f438cc.js:33:15720)
Function.e.extend.ready (http://<censored>/otrs-web/js/js-cache/CommonJS_4efbe6f5d5e3bf1df0b6c0ae63f438cc.js:33:10657)
HTMLDocument.c.addEventListener.C (http://<censored>/otrs-web/js/js-cache/CommonJS_4efbe6f5d5e3bf1df0b6c0ae63f438cc.js:33:15176)
I have deleted my cache, restarted my webserver, removed my local cache, all without success. Any ideas?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: JavaScript error after upgrading to 3.2.1

Post by crythias »

vliegtuig wrote:have deleted my cache
looks like you either deleted cache in a different folder structure or didn't upgrade properly.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
vliegtuig
Znuny newbie
Posts: 2
Joined: 05 Feb 2013, 00:37
Znuny Version: 3.2.1

Re: JavaScript error after upgrading to 3.2.1

Post by vliegtuig »

I deleted the cache in my install folder.

Regarding 'upgrading incorrectly': I still have no clue how to solve this. I followed the upgrading guide step-by-step (this is not my first upgrade). I also tried deleting the contents in /js/js-cache directly, but this does not solve the issue either.

EDIT: problem solved. It seems some files were not correctly copied from the 'var' directory during the upgrade.

Any help would be appreciated.
pituca
Znuny advanced
Posts: 131
Joined: 09 Jan 2013, 02:50
Znuny Version: 5.0.9
Company: OmniRedes

Re: JavaScript error after upgrading to 3.2.1

Post by pituca »

Hi,

I created a thread also regarding JavaScript problem and so far I don't have clue where to troubleshoot this issue. My system is on Windows and so far the upgrade seem to complete normally. My issue is in the Customer Portal with the ticket button, it does nothing on mouse hover, so cant manage ticket at all from there. Where do you think I could verify this problem?

Thank you
OTRS 5.0.9, , ITSM 5.0.9, MySQL, Ubuntu 14.04, Apache2
mzamora87
Znuny newbie
Posts: 1
Joined: 05 Feb 2013, 18:42
Znuny Version: 3.2.1
Real Name: Mario Zamora
Company: Altus Consulting

Re: JavaScript error after upgrading to 3.2.1

Post by mzamora87 »

I have the same error today, here is the solution
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: JavaScript error after upgrading to 3.2.1

Post by jojo »

I really doubt this...
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
pituca
Znuny advanced
Posts: 131
Joined: 09 Jan 2013, 02:50
Znuny Version: 5.0.9
Company: OmniRedes

Re: JavaScript error after upgrading to 3.2.1

Post by pituca »

Thank you, im gonna check and let you know....
OTRS 5.0.9, , ITSM 5.0.9, MySQL, Ubuntu 14.04, Apache2
pituca
Znuny advanced
Posts: 131
Joined: 09 Jan 2013, 02:50
Znuny Version: 5.0.9
Company: OmniRedes

Re: JavaScript error after upgrading to 3.2.1

Post by pituca »

Too bad... couldn't understand anything.
OTRS 5.0.9, , ITSM 5.0.9, MySQL, Ubuntu 14.04, Apache2
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: JavaScript error after upgrading to 3.2.1

Post by jojo »

The post with the bug is not related to your topic...
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
pituca
Znuny advanced
Posts: 131
Joined: 09 Jan 2013, 02:50
Znuny Version: 5.0.9
Company: OmniRedes

Re: JavaScript error after upgrading to 3.2.1

Post by pituca »

I got it, thank you jojo
OTRS 5.0.9, , ITSM 5.0.9, MySQL, Ubuntu 14.04, Apache2
Locked