In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
757 [In-Portal CMS] Admin Interfaces bug report always 2010-05-31 04:52 2010-07-22 15:03
Dmitry  
alex  
normal  
closed 5.1.0-B1  
fixed  
 
none 5.1.0-B2  
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/94ec621fc1d94f22
0
0000757: There are some JS errors on Administrative Console Login Page
There are some JS errors when compression is ON or OFF in IE 8 with compatibility mode On or IE7. All details posted here.

Below are the error list provided by IE (I am trying to go to Polls grid after login).

=============
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB6.4; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2)
Timestamp: Mon, 31 May 2010 00:25:55 UTC


Message: Expected identifier, string or number
Line: 1079
Char: 235
Code: 0
URI: http://www.jurmala.com/SVN/5.1.x/system/cache/c_1159502181_1275265484.js


Message: 'TB' is undefined
Line: 31
Char: 1
Code: 0
URI: http://www.jurmala.com/SVN/5.1.x/admin/index.php?env=-tree:m0--1--s-


Message: Object expected
Line: 13
Char: 2
Code: 0
URI: http://www.jurmala.com/SVN/5.1.x/core/admin_templates/js/tree.js


Message: Object expected
Line: 301
Char: 2
Code: 0
URI: http://www.jurmala.com/SVN/5.1.x/core/admin_templates/js/tree.js


Message: 'Application' is undefined
Line: 359
Char: 3
Code: 0
URI: http://www.jurmala.com/SVN/5.1.x/admin/index.php?env=-tree:m0--1--s-


Message: Expected identifier, string or number
Line: 1079
Char: 235
Code: 0
URI: http://www.jurmala.com/SVN/5.1.x/system/cache/c_1159502181_1275265484.js


Message: Expected identifier, string or number
Line: 1079
Char: 235
Code: 0
URI: http://www.jurmala.com/SVN/5.1.x/system/cache/c_1159502181_1275265484.js


Message: 'TB' is undefined
Line: 30
Char: 1
Code: 0
URI: http://www.jurmala.com/SVN/5.1.x/admin/index.php?env=-in-bulletin/polls/poll_list:m0--1--s-


Message: 'TB' is undefined
Line: 31
Char: 1
Code: 0
URI: http://www.jurmala.com/SVN/5.1.x/admin/index.php?env=-head:m0--1--s-


Message: Object expected
Line: 217
Char: 3
Code: 0
URI: http://www.jurmala.com/SVN/5.1.x/admin/index.php?env=-in-bulletin/polls/poll_list:m0--1--s-


Message: 'AjaxPopupManager' is undefined
Line: 188
Char: 2
Code: 0
URI: http://www.jurmala.com/SVN/5.1.x/admin/index.php?env=-head:m0--1--s-


Message: 'ToolBar' is undefined
Line: 233
Char: 7
Code: 0
URI: http://www.jurmala.com/SVN/5.1.x/admin/index.php?env=-in-bulletin/polls/poll_list:m0--1--s-


Message: 'Application' is undefined
Line: 286
Char: 3
Code: 0
URI: http://www.jurmala.com/SVN/5.1.x/admin/index.php?env=-head:m0--1--s-


Message: 'ToolBar' is undefined
Line: 305
Char: 8
Code: 0
URI: http://www.jurmala.com/SVN/5.1.x/admin/index.php?env=-in-bulletin/polls/poll_list:m0--1--s-


Message: 'GridScrollers' is undefined
Line: 362
Char: 3
Code: 0
URI: http://www.jurmala.com/SVN/5.1.x/admin/index.php?env=-in-bulletin/polls/poll_list:m0--1--s-


Message: 'Grids' is undefined
Line: 525
Char: 2
Code: 0
URI: http://www.jurmala.com/SVN/5.1.x/admin/index.php?env=-in-bulletin/polls/poll_list:m0--1--s-


Message: 'Application' is undefined
Line: 548
Char: 3
Code: 0
URI: http://www.jurmala.com/SVN/5.1.x/admin/index.php?env=-in-bulletin/polls/poll_list:m0--1--s-
related to 0000734closed  (5.1.0)alex Improvements to multi-input control 
patch js_error_in_ie7_fix.patch (398) 2010-05-31 04:53
http://tracker.in-portal.org/file_download.php?file_id=608&type=bug
Issue History
2010-07-22 15:03 alex Note Added: 0002512
2010-07-22 15:03 alex Status resolved => closed
2010-06-01 01:44 alex Note Added: 0002357
2010-06-01 01:44 alex Status reviewed and tested => resolved
2010-06-01 01:44 alex Fixed in Version => 5.1.0-B2
2010-06-01 01:44 alex Resolution open => fixed
2010-06-01 01:44 alex Changeset attached 5.1.x r13660
2010-05-31 22:26 Dmitry Note Added: 0002350
2010-05-31 22:26 Dmitry Assigned To !COMMUNITY => alex
2010-05-31 22:26 Dmitry Status needs testing => reviewed and tested
2010-05-31 04:56 alex Note Added: 0002347
2010-05-31 04:56 alex Reporter alex => Dmitry
2010-05-31 04:53 alex Assigned To => !COMMUNITY
2010-05-31 04:53 alex Developer => alex
2010-05-31 04:53 alex Status active => needs testing
2010-05-31 04:53 alex File Added: js_error_in_ie7_fix.patch
2010-05-31 04:52 alex Relationship added related to 0000734
2010-05-31 04:52 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/94ec621fc1d94f22
2010-05-31 04:52 alex New Issue

Notes
(0002347)
alex   
2010-05-31 04:56   
There is no problem with compression at all. Since now all JS is merged into one file, then you will see errors from all js files on every page, even if it's not used there.

In this case, problem was in "form_controls.js" file with trailing comma in object declaration.
(0002350)
Dmitry   
2010-05-31 22:26   
Tested good. Please commit.
(0002357)
alex   
2010-06-01 01:44   
Fix committed to 5.1.x branch. Commit Message:

Fixes 0000757: There are some JS errors on Administrative Console Login Page
(0002512)
alex   
2010-07-22 15:03   
Closing, since 5.1.0 release has been released.