6.0.0-git
2019-03-23

[#10096] PGP Prefs page, sidebar won't load once Passphrase loaded
Summary PGP Prefs page, sidebar won't load once Passphrase loaded
Queue IMP
Queue Version 5.0.3
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester simon (at) simonandkate (dot) net
Created 2011-05-18 (2866 days ago)
Due
Updated 2011-05-18 (2866 days ago)
Assigned
Resolved 2011-05-18 (2866 days ago)
Milestone
Patch No

History
2011-05-18 20:20:20 Michael Slusarz Assigned to Michael Slusarz
State ⇒ Resolved
 
2011-05-18 20:11:23 Git Commit Comment #3 Reply to this comment
Changes have been made in Git for this ticket:

Bug #10096: Fix [un]setting passphrases in preferences

  5 files changed, 40 insertions(+), 18 deletions(-)
http://git.horde.org/horde-git/-/commit/ae2942d1b844655a49bb60aac957cabee0adec65
2011-05-18 11:49:25 simon (at) simonandkate (dot) net Comment #2 Reply to this comment
Sorry - verified in IE8, IE9, Firefox 4.0.1, and Chrome.
2011-05-18 11:48:24 simon (at) simonandkate (dot) net Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Summary ⇒ PGP Prefs page, sidebar won't load once Passphrase loaded
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
Reply to this comment
Generated PGP keyset, load passphrase, and then the sidebar no longer 
loads when in PGP Prefs.

Occurs in IE8, Firefox 4.0.1, and Chrome. Have tried multiple PCs, 
does the same.

IE9 advises:

SCRIPT5007: Unable to get value of the property 'observe': object is 
null or undefined
prefs.php, line 15 character 416

Chrome advises the error is:

Uncaught TypeError: Cannot call method 'observe' of null
HordeSidebar.domain        prefs.php:15
responder                  prototype.js:5575
fire                       prototype.js:5734
_methodized                prototype.js:438
fireContentLoadedEvent     prototype.js:5820

According to Chrome, prefs.php line 15 is:

document.observe("dom:loaded", function() {Horde.popup_block_text="A 
popup window could not be opened. Your browser may be blocking 
popups.";$("import_pgp_public").observe("click", function(e) { 
void(Horde.popup('%7B%22url%22%3A%22%5C%2Fimp%5C%2Fpgp.php%22%2C%22height%22%3A275%2C%22params%22%3A%22actionID%3Dimport_public_key%26reload%3D_d%25253AIH7CU9JO7vlN063kyNkH-mA%22%2C%22width%22%3A750%7D'));; e.stop(); });$("imp_passphrase_1").observe("click", function(e) { IMPDialog.display('%2F%2A-secure-%7B%22cancel_text%22%3A%22Cancel%22%2C%22ok_text%22%3A%22OK%22%2C%22params%22%3A%7B%22type%22%3A%22pgpPersonal%22%7D%2C%22password%22%3Atrue%2C%22text%22%3A%22Enter%20your%20personal%20PGP%20passphrase.%22%2C%22type%22%3A%22pgpPersonal%22%2C%22uri%22%3A%22%5C%2Fservices%5C%2Fimple.php%3Fimple%3DPassphraseDialog%252FimpleApp%253Dimp%252FsessionWrite%253D1%22%7D%2A%2F');e.stop(); });$("delete_pgp_privkey").observe("click", function(e) { if (!window.confirm("Are you sure you want to delete your keypair? (This is NOT recommended!)")) { e.stop(); } });window.HordeSidebar.tree = new 
Horde_Tree({"extraColsLeft":0,"extraColsRight":0,"header":[],"nocookie":false,"options":{"lines":true,"jsvar":"HordeSidebar.tree","session":{"get":["Horde_Core_Factory_Tree","getSession"],"set":["Horde_Core_Factory_Tree","setSession"]}},"target":"horde_menu","cookieDomain":"h4.simonandkate.net","cookiePath":"\/","imgBlank":"","imgFolder":14,"imgFolderOpen":15,"imgLine":1,"imgJoin":2,"imgJoinBottom":4,"imgJoinTop":3,"imgPlus":10,"imgPlusBottom":11,"imgPlusOnly":12,"imgMinus":6,"imgMinusBottom":7,"imgMinusOnly":8,"imgNullOnly":13,"imgLeaf":16,"initTree":{"is_static":0,"nodes":[],"root_nodes":[]}});});HordeSidebar.domain="h4.simonandkate.net";HordeSidebar.path="\/";HordeSidebar.refresh=300;HordeSidebar.url="\/services\/ajax.php\/horde\/sidebarUpdate";HordeSidebar.width=225;

Char 416+ is:

$("imp_passphrase_1").observe("click", function(e) { 
IMPDialog.display('%2F%2A-secure-%7B%22cancel_text%22%3A%22Cancel%22%2C%22ok_text%22%3A%22OK%22%2C%22params%22%3A%7B%22type%22%3A%22pgpPersonal%22%7D%2C%22password%22%3Atrue%2C%22text%22%3A%22Enter%20your%20personal%20PGP%20passphrase.%22%2C%22type%22%3A%22pgpPersonal%22%2C%22uri%22%3A%22%5C%2Fservices%5C%2Fimple.php%3Fimple%3DPassphraseDialog%252FimpleApp%253Dimp%252FsessionWrite%253D1%22%7D%2A%2F')

Saved Queries