Opened 11 months ago

Closed 11 months ago

Last modified 11 months ago

#14405 closed bug (fixed)

BNotification and NotificationServer crash with OnClickRefs

Reported by: ahwayakchih Owned by: nobody
Priority: normal Milestone:
Component: Kits/Application Kit Version: R1/Development
Keywords: Notification Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


BNotification crashes after calling Send with OnClickRefs added.

If application works that around by sending message with refs directly to the notification server, server will crash after user clicks on the NotificationView - AFAIK because it uses the same BNotification class internally.

Bug is located in the BNotification::OnClickRefAt method ( The code there looks like this:

	return (entry_ref*)fArgv.ItemAt(index);

It should look like this instead:

	return (entry_ref*)fRefs.ItemAt(index);

Change History (2)

comment:1 Changed 11 months ago by waddlesplash

Resolution: fixed
Status: newclosed

Fixed in hrev52287. Thanks for reporting!

comment:2 Changed 11 months ago by ahwayakchih

Thanks :).

Note: See TracTickets for help on using tickets.