Closed Bug 1122702 Opened 11 years ago Closed 11 years ago

JavaScript Error: "invalid value for aNodeOrItemId" from PlacesUIUtils.jsm

Categories

(SeaMonkey :: Bookmarks & History, defect)

defect
Not set
normal

Tracking

(seamonkey2.32 unaffected, seamonkey2.33+ fixed, seamonkey2.34+ fixed, seamonkey2.35+ fixed)

RESOLVED FIXED
seamonkey2.35
Tracking Status
seamonkey2.32 --- unaffected
seamonkey2.33 + fixed
seamonkey2.34 + fixed
seamonkey2.35 + fixed

People

(Reporter: philip.chee, Assigned: philip.chee)

References

Details

(Keywords: regression)

Attachments

(1 file)

Regression from Bug 1084203[1] Bug 1084203 ported Bug 1068671[2] but not the regression fix from Bug 1095069[3] [1] Fix totally empty bookmark manager. [2] folderReadOnly doesn't pertain to bookmarks or results [3] Cannot copy or delete bookmarks from search results in library
While testing your patch from Bug 1121678 I got a lot of error console spew: > Sat Jan 17 2015 01:08:59 > Error: NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "invalid value for aNodeOrItemId" {file: "resource://gre/modules/PlacesUIUtils.jsm" line: 835}]'[JavaScript Error: "invalid value for aNodeOrItemId" {file: "resource://gre/modules/PlacesUIUtils.jsm" line: 835}]' when calling method: [nsIController::isCommandEnabled] > Source file: chrome://communicator/content/places/controller.js > Line: 1554 > ---------- > Sat Jan 17 2015 01:08:59 > Error: Error: invalid value for aNodeOrItemId > Source file: resource://gre/modules/PlacesUIUtils.jsm > Line: 835 > ---------- > Sat Jan 17 2015 01:08:59 > Error: An error occurred updating the cmd_delete command: [Exception... "[JavaScript Error: "invalid value for aNodeOrItemId" {file: "resource://gre/modules/PlacesUIUtils.jsm" line: 835}]'[JavaScript Error: "invalid value for aNodeOrItemId" {file: "resource://gre/modules/PlacesUIUtils.jsm" line: 835}]' when calling method: [nsIController::isCommandEnabled]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: chrome://global/content/globalOverlay.js :: goUpdateCommand :: line 78" data: yes] > Source file: chrome://global/content/globalOverlay.js > Line: 83 > ---------- > Sat Jan 17 2015 01:08:59 > Error: An error occurred updating the cmd_cut command: [Exception... "[JavaScript Error: "invalid value for aNodeOrItemId" {file: "resource://gre/modules/PlacesUIUtils.jsm" line: 835}]'[JavaScript Error: "invalid value for aNodeOrItemId" {file: "resource://gre/modules/PlacesUIUtils.jsm" line: 835}]' when calling method: [nsIController::isCommandEnabled]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: chrome://global/content/globalOverlay.js :: goUpdateCommand :: line 78" data: yes] > Source file: chrome://global/content/globalOverlay.js > Line: 83
Attachment #8550475 - Flags: review?(neil)
Attachment #8550475 - Flags: review?(neil) → review+
Comment on attachment 8550475 [details] [diff] [review] Patch v1.0 copy and paste Bug 1095069 [Approval Request Comment] Regression caused by (bug #): Bug 1084203 User impact if declined: Users cannot copy or delete bookmarks from search results in library Testing completed (on m-c, etc.): Firefox equivalent Bug 1095069 landed on Firefox 36 (so we need to land this on 2.33 and 2.34) Risk to taking this patch (and alternatives if risky): none bustage fix. String changes made by this patch: None,
Attachment #8550475 - Flags: approval-comm-beta?
Attachment #8550475 - Flags: approval-comm-aurora?
Comment on attachment 8550475 [details] [diff] [review] Patch v1.0 copy and paste Bug 1095069 a=me
Attachment #8550475 - Flags: approval-comm-beta?
Attachment #8550475 - Flags: approval-comm-beta+
Attachment #8550475 - Flags: approval-comm-aurora?
Attachment #8550475 - Flags: approval-comm-aurora+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.35
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: