[opencms-dev] error in /resources/admin/javascript/list.js

Mario Jäger m.jaeger at alkacon.com
Wed Feb 23 17:11:10 CET 2011


Hi,

Thank you for the information. With activated script debugging in the 
Internet Explorer I can reproduce that issue. I have created this 
bugzilla entry for that issue: 
http://bugzilla.opencms.org/show_bug.cgi?id=1953

If the JavaScript error message does open in a separate window and 
because of that, you have problems, when working in OpenCms - deactivate 
the script debugging in the browser, until we fixed that issue.

Kind Regards,
Mario.

Am 14.02.2011 19:26, schrieb eelboy at aol.com:
> Hi Mario,
>
> Here is the transaction  -- including the initial context menu request.
> thanks again for looking into it (am I the only one who experiences this?):
>
> http://localhost:8080/opencms/opencms/system/workplace/views/explorer/contextmenu.jsp
>
> POST /opencms/opencms/system/workplace/views/explorer/contextmenu.jsp
> HTTP/1.1
> Host: localhost:8080
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6)
> Gecko/20100625 Firefox/3.6.6 ( .NET CLR 3.5.30729)
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 115
> Connection: keep-alive
> Content-Type: application/x-www-form-urlencoded; charset=UTF-8
> Referer:
> http://localhost:8080/opencms/opencms/system/workplace/views/workplace.jsp
> Content-Length: 34
> Cookie: JSESSIONID=5219F0543A14FD3551829CD80C7B812D
> Pragma: no-cache
> Cache-Control: no-cache
> resourcelist=/index.jsp&acttarget=
> HTTP/1.1 200 OK
> Server: OpenCms/7.5.3
> Last-Modified: Mon, 14 Feb 2011 18:22:10 GMT
> Cache-Control: max-age=0, must-revalidate
> Pragma: no-cache
> Content-Type: text/html;charset=UTF-8
> Content-Length: 4742
> Date: Mon, 14 Feb 2011 18:22:10 GMT
> ----------------------------------------------------------
> http://localhost:8080/opencms/opencms/system/workplace/commons/move.jsp
>
> POST /opencms/opencms/system/workplace/commons/move.jsp HTTP/1.1
> Host: localhost:8080
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6)
> Gecko/20100625 Firefox/3.6.6 ( .NET CLR 3.5.30729)
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 115
> Connection: keep-alive
> Referer:
> http://localhost:8080/opencms/opencms/system/workplace/views/explorer/explorer_files.jsp?mode=explorerview
> Cookie: JSESSIONID=5219F0543A14FD3551829CD80C7B812D
> Content-Type: application/x-www-form-urlencoded
> Content-Length: 35
> resourcelist=&resource=%2Findex.jsp
> HTTP/1.1 200 OK
> Server: OpenCms/7.5.3
> Last-Modified: Mon, 14 Feb 2011 18:22:47 GMT
> Cache-Control: max-age=0, must-revalidate
> Pragma: no-cache
> Content-Type: text/html;charset=UTF-8
> Content-Length: 6754
> Date: Mon, 14 Feb 2011 18:22:47 GMT
> ----------------------------------------------------------
> http://localhost:8080/opencms/resources/editors/xmlcontent/help.js
>
> GET /opencms/resources/editors/xmlcontent/help.js HTTP/1.1
> Host: localhost:8080
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6)
> Gecko/20100625 Firefox/3.6.6 ( .NET CLR 3.5.30729)
> Accept: */*
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 115
> Connection: keep-alive
> Referer:
> http://localhost:8080/opencms/opencms/system/workplace/commons/move.jsp
> Cookie: JSESSIONID=5219F0543A14FD3551829CD80C7B812D
>
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> Accept-Ranges: bytes
> Etag: W/"4408-1297436515453"
> Last-Modified: Fri, 11 Feb 2011 15:01:55 GMT
> Content-Type: text/javascript
> Content-Length: 4408
> Date: Mon, 14 Feb 2011 18:22:47 GMT
> ----------------------------------------------------------
> http://localhost:8080/opencms/resources/admin/javascript/general.js
>
> GET /opencms/resources/admin/javascript/general.js HTTP/1.1
> Host: localhost:8080
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6)
> Gecko/20100625 Firefox/3.6.6 ( .NET CLR 3.5.30729)
> Accept: */*
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 115
> Connection: keep-alive
> Referer:
> http://localhost:8080/opencms/opencms/system/workplace/commons/move.jsp
> Cookie: JSESSIONID=5219F0543A14FD3551829CD80C7B812D
>
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> Accept-Ranges: bytes
> Etag: W/"9936-1297436523296"
> Last-Modified: Fri, 11 Feb 2011 15:02:03 GMT
> Content-Type: text/javascript
> Content-Length: 9936
> Date: Mon, 14 Feb 2011 18:22:47 GMT
> ----------------------------------------------------------
> http://localhost:8080/opencms/resources/commons/wait.gif
>
> GET /opencms/resources/commons/wait.gif HTTP/1.1
> Host: localhost:8080
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6)
> Gecko/20100625 Firefox/3.6.6 ( .NET CLR 3.5.30729)
> Accept: image/png,image/*;q=0.8,*/*;q=0.5
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 115
> Connection: keep-alive
> Referer:
> http://localhost:8080/opencms/opencms/system/workplace/commons/move.jsp
> Cookie: JSESSIONID=5219F0543A14FD3551829CD80C7B812D
>
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> Accept-Ranges: bytes
> Etag: W/"4132-1297436500218"
> Last-Modified: Fri, 11 Feb 2011 15:01:40 GMT
> Content-Type: image/gif
> Content-Length: 4132
> Date: Mon, 14 Feb 2011 18:22:47 GMT
> ----------------------------------------------------------
> http://localhost:8080/opencms/resources/admin/javascript/list.js
>
> GET /opencms/resources/admin/javascript/list.js HTTP/1.1
> Host: localhost:8080
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6)
> Gecko/20100625 Firefox/3.6.6 ( .NET CLR 3.5.30729)
> Accept: */*
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 115
> Connection: keep-alive
> Referer:
> http://localhost:8080/opencms/opencms/system/workplace/commons/move.jsp
> Cookie: JSESSIONID=5219F0543A14FD3551829CD80C7B812D
>
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> Accept-Ranges: bytes
> Etag: W/"9555-1297436523296"
> Last-Modified: Fri, 11 Feb 2011 15:02:03 GMT
> Content-Type: text/javascript
> Content-Length: 9555
> Date: Mon, 14 Feb 2011 18:22:47 GMT
> ----------------------------------------------------------
> http://localhost:8080/opencms/opencms/system/workplace/commons/report-locks.jsp
>
> POST /opencms/opencms/system/workplace/commons/report-locks.jsp HTTP/1.1
> Host: localhost:8080
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6)
> Gecko/20100625 Firefox/3.6.6 ( .NET CLR 3.5.30729)
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 115
> Connection: keep-alive
> Content-Type: application/x-www-form-urlencoded; charset=UTF-8
> Referer:
> http://localhost:8080/opencms/opencms/system/workplace/commons/move.jsp
> Content-Length: 58
> Cookie: JSESSIONID=5219F0543A14FD3551829CD80C7B812D
> Pragma: no-cache
> Cache-Control: no-cache
> resourcelist=null&resource=/index.jsp&includerelated=false
> HTTP/1.1 200 OK
> Server: OpenCms/7.5.3
> Last-Modified: Mon, 14 Feb 2011 18:22:48 GMT
> Cache-Control: max-age=0, must-revalidate
> Pragma: no-cache
> Content-Type: text/html;charset=UTF-8
> Content-Length: 3754
> Date: Mon, 14 Feb 2011 18:22:47 GMT
> ----------------------------------------------------------
> http://localhost:8080/opencms/opencms/system/workplace/commons/move.jsp
>
> POST /opencms/opencms/system/workplace/commons/move.jsp HTTP/1.1
> Host: localhost:8080
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6)
> Gecko/20100625 Firefox/3.6.6 ( .NET CLR 3.5.30729)
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 115
> Connection: keep-alive
> Referer:
> http://localhost:8080/opencms/opencms/system/workplace/commons/move.jsp
> Cookie: JSESSIONID=5219F0543A14FD3551829CD80C7B812D
> Content-Type: application/x-www-form-urlencoded
> Content-Length: 165
> dialogtype=move&resource=%252Findex.jsp&title=Rename%252FMove%2Bresource%253A%2B%252Findex.jsp&action=locksconfirmed&framename=explorer_files&locks=0&blockinglocks=0
> HTTP/1.1 200 OK
> Server: OpenCms/7.5.3
> Last-Modified: Mon, 14 Feb 2011 18:22:48 GMT
> Cache-Control: max-age=0, must-revalidate
> Pragma: no-cache
> Content-Type: text/html;charset=UTF-8
> Content-Length: 2701
> Date: Mon, 14 Feb 2011 18:22:47 GMT
> ----------------------------------------------------------
>
>
> On 2/14/2011 3:10 AM, Mario Jäger wrote:
>> Hi,
>>
>> Please, activate the "Live HTTP headers" in FireFox. Click right on a
>> jsp in OpenCms then and choose "Rename/Move". Send us the "Header" tab
>> content in the "Live HTTP Headers" then, please.
>>
>> Kind Regards,
>> Mario.
>>
>> Am 11.02.2011 16:13, schrieb eelboy at aol.com:
>>> yes that is right... I get the javascript error, but then I can continue
>>> and the functionality appears to be unaffected.. the operation succeeds
>>> from what I can tell.  I don't see any errors in the setup log -- but
>>> it's fairly long so it's possible I'm missing something.  I could send
>>> it to you if think that might help.
>>>
>>>
>>> On 2/11/2011 5:38 AM, Mario Jäger wrote:
>>>> Hi,
>>>>
>>>> With "error" you mean the javascript error "$ is not a function"? But,
>>>> the functionalities itself are working fine? For example, the resources
>>>> are published directly or the resources are deleted?
>>>>
>>>> Are there any errors in the OpenCms setup log file WEB-INF/logs/setup.log?
>>>>
>>>> Kind Regards,
>>>> Mario.
>>>>
>>>> Am 10.02.2011 15:27, schrieb eelboy at aol.com:
>>>>> When I right click on an object (in this case it was a jsp object - but
>>>>> I am not sure that it makes a difference) here are the results:
>>>>>
>>>>> Lock/Unlock - OK
>>>>> Publish directly  - error
>>>>> Publish scheduled - error
>>>>> Edit sourcecode - OK
>>>>> Copy - OK
>>>>> Rename/Move - error
>>>>> Delete - error
>>>>> Undo changes - error
>>>>> Relations->Link relation to... - OK
>>>>> Relations->Link relation from... - OK
>>>>> Relations->Show siblings - OK
>>>>> Assign Categories - OK
>>>>> Permissions - error
>>>>> Change navigation - error
>>>>> Advanced->Touch - error
>>>>> Advanced->Availability - error
>>>>> Advanced->Secure/Export - error
>>>>> Advanced->Change type - error
>>>>> History - OK
>>>>> Properties - OK
>>>>>
>>>>> I have installed 7.5.3 at least 4 times (once on windows, and three
>>>>> others on various flavors of Linux) and this problem appears
>>>>> consistently on all the installations.  I am surprised to hear that on
>>>>> one else has mentioned it.  I would never have noticed it myself except
>>>>> that a client will be using IE to do their publishing and so I tested a
>>>>> little with it when I saw these errors.  Then when I opened the error
>>>>> console in Firefox is when I noticed that the error was not unique to IE
>>>>> - only the announcement of it.
>>>>>
>>>>> thanks for taking a look,
>>>>> eelboy
>>>>>
>>>>> On 2/10/2011 3:38 AM, Mario Jäger wrote:
>>>>>> Hi,
>>>>>>
>>>>>> When do you get the errors?
>>>>>>
>>>>>> Kind Regards,
>>>>>> Mario.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Am 05.12.2010 17:27, schrieb eelboy at aol.com:
>>>>>>> Hello,
>>>>>>>
>>>>>>> The last function in this file (line 242) is giving me some javascript
>>>>>>> errors... IE8 reports the usual object expected.., Firefox reports a
>>>>>>> more useful "$ is not a function".  Does anyone know of a patch for
>>>>>>> this? I'm not sure exactly what that code is supposed to be doing, but
>>>>>>> whatever it is, I don't think it is succeeding :) at least for me
>>>>>>> anyways....
>>>>>>>
>>>>>>> Thanks for any info,
>>>>>>> eelboy
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> This mail is sent to you from the opencms-dev mailing list
>>>>>>> To change your list options, or to unsubscribe from the list, please visit
>>>>>>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>>>> _______________________________________________
>>>>> This mail is sent to you from the opencms-dev mailing list
>>>>> To change your list options, or to unsubscribe from the list, please visit
>>>>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>> _______________________________________________
>>> This mail is sent to you from the opencms-dev mailing list
>>> To change your list options, or to unsubscribe from the list, please visit
>>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev


-- 
-------------------
Mario Jäger

Visit OpenCms Days 2011 Conference and Expo
May 9 to May 10 2011 in Cologne, Germany
http://www.opencms-days.org

Alkacon Software GmbH  - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org



More information about the opencms-dev mailing list