In-Portal Issue Tracker - Advanced
Viewing Issue Advanced Details
802 [Advanced] General bug report always 2010-07-23 07:36 2010-11-30 12:50
alex  
alex  
normal  
closed 1.1.0  
fixed  
 
none 1.1.1-B1  
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/79d8af7962c5cc4a
Fixes JS error on Suggest Link page
0
0000802: Js Error on link suggest page
Got 2 js errors on link suggesting page (url:

/index.php?env=-in-link/links/suggest_link:m2-1-1-1-s-)

aMultiLanguageSelector is null
aMultiLanguageSelector.registerControl('l[0][l1_Name]');

aMultiLanguageSelector is null
aMultiLanguageSelector.registerControl('l[0][l1_Description]');


Errors are due to JS calls to aMultiLanguageSelector object in the middle of the page (form) before it's been loaded with JQ document.ready + JS Compression outputs the actual script.js after the object is initialized.

In result had to move JS with aMultiLanguageSelector and aRatingManager to default_design.des.tpl.
patch JSerror-SuggestLink-page.patch (2,891) 2010-08-27 15:38
http://tracker.in-portal.org/file_download.php?file_id=731&type=bug
Issue History
2010-11-30 12:50 Dmitry Note Added: 0003095
2010-11-30 12:50 Dmitry Status resolved => closed
2010-08-29 08:48 alex Changeset attached 1.1.x r13916
2010-08-29 08:48 alex Note Added: 0002747
2010-08-29 08:48 alex Status reviewed and tested => resolved
2010-08-29 08:48 alex Fixed in Version => 1.1.1-B1
2010-08-29 08:48 alex Resolution open => fixed
2010-08-29 08:48 alex Assigned To !COMMUNITY => alex
2010-08-29 08:47 alex Assigned To alex => !COMMUNITY
2010-08-29 08:47 alex Status needs testing => reviewed and tested
2010-08-27 15:39 Dmitry Note Added: 0002689
2010-08-27 15:39 Dmitry Assigned To Dmitry => alex
2010-08-27 15:39 Dmitry Developer => Dmitry
2010-08-27 15:39 Dmitry Status needs work => needs testing
2010-08-27 15:38 Dmitry File Added: JSerror-SuggestLink-page.patch
2010-08-27 15:37 Dmitry Change Log Message => Fixes JS error on Suggest Link page
2010-08-27 15:37 Dmitry Description Updated bug_revision_view_page.php?rev_id=549#r549
2010-08-27 13:18 Dmitry Assigned To => Dmitry
2010-08-27 13:18 Dmitry Status active => needs work
2010-07-31 13:23 Dmitry Target Version Icebox => 1.1.1
2010-07-23 07:36 alex New Issue
2010-07-23 07:36 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/79d8af7962c5cc4a

Notes
(0002689)
Dmitry   
2010-08-27 15:39   
Please review and test (read updated description).
(0002747)
alex   
2010-08-29 08:48   
Fix committed to 1.1.x branch. Commit Message:

1. Fixes 0000802: Js Error on link suggest page
2. Commit on behalf of Dmitry
(0003095)
Dmitry   
2010-11-30 12:50   
Released.