Opened 14 months ago

Closed 14 months ago

Last modified 14 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 by waddlesplash, 14 months ago

Resolution: fixed
Status: newclosed

Fixed in hrev52287. Thanks for reporting!

comment:2 by ahwayakchih, 14 months ago

Thanks :).

Note: See TracTickets for help on using tickets.