Closed Bug 378921 Opened 17 years ago Closed 17 years ago

unable to bookmark a microsummarized URI

Categories

(Firefox :: Bookmarks & History, defect)

defect
Not set
major

Tracking

()

VERIFIED FIXED

People

(Reporter: dietrich, Assigned: moco)

References

Details

Attachments

(1 file)

STR:
1. install microsummary at http://dietrich.ganx4.com/mozilla/test-microsummary.xml
2. go to http://dietrich.ganx4.com/mozilla/test-microsummary-content.php and bookmark it

The add-bookmark dialog doesn't load, and i get this error:

WARNING: Remote chrome not allowed! Only file:, resource:, and jar: are valid.
: file /Users/dayala/moz/newplaces/mozilla/chrome/src/nsChromeProtocolHandler.cpp, line 565

however, if you then restart the app, and try to bookmark the page again, it works as expected.

mconnor said he got this error when editing a microsummarized bookmark:

[Exception... "'Component does not have requested interface' when calling method: [nsIInterfaceRequestor::getInterface]"  nsresult: "0x80004002 (NS_NOINTERFACE)"  location: "<unknown>"  data: no]

i could not reproduce this error. mconnor, what's your STR?
taking, per dietrich.
Assignee: nobody → sspitzer
for me, the add bookmark dialog does load, but I can not hit "OK".  or when I do, the dialog doesn't clear.

I get the following errors in the console:

************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILAB
LE) [nsIAnnotationService.getAnnotationString]"  nsresult: "0x80040111 (NS_ERROR
_NOT_AVAILABLE)"  location: "JS frame :: file:///c:/builds/trunk-no-places/mozil
la/ff-debug/dist/bin/components/nsMicrosummaryService.js :: MSS__getField :: lin
e 662"  data: no]
************************************************************

Error: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIAnnotationService.getAnnotationString]"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame :: file:///c:/builds/trunk-no-places/mozilla/ff-debug/dist/bin/components/nsMicrosummaryService.js :: MSS__getField :: line 662"  data: no]
Source File: file:///c:/builds/trunk-no-places/mozilla/ff-debug/dist/bin/components/nsMicrosummaryService.js
Line: 236

investigating...
Status: NEW → ASSIGNED
Attached patch patchSplinter Review
Attachment #263394 - Flags: review?(dietrich)
note, until we fix #373500, to fully test your microsummarized bookmarks, create them on the personal toolbar.
Comment on attachment 263394 [details] [diff] [review]
patch

r=mano.
Attachment #263394 - Flags: review?(dietrich) → review+
fixed.

Checking in nsMicrosummaryService.js;
/cvsroot/mozilla/browser/components/microsummaries/src/nsMicrosummaryService.js,
v  <--  nsMicrosummaryService.js
new revision: 1.62; previous revision: 1.61
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
verified with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090128 Shiretoko/3.1b3pre. has been working for a long time.
Status: RESOLVED → VERIFIED
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h".

In Thunderbird 3.0b, you do that as follows:
Tools | Message Filters
Make sure the correct account is selected. Click "New"
Conditions: Body   contains   places-to-b-and-h
Change the action to "Delete Message".
Select "Manually Run" from the dropdown at the top.
Click OK.

Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter.

Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: