[baseten-users] NSNotfications Bug

Michael Ruepp michael at ruepp.at
Sat Oct 10 01:35:01 EEST 2009


Hi Tuuka,

i had just one Sync Array Controller in the Code, bound to the Groups  
Entitiy. Then I added a second one for the Persons Entity, and now I  
get notification for all.
But with just the SyncArrayController for the to one Entity, i just  
received nots for the Groups Entity.

Thanks,

Mike


On 09.10.2009, at 23:52, Tuukka Norri wrote:

> Hi!
>
> Michael Ruepp kirjoitti 8.10.2009 kello 22.04:
>> When register for Notification on a context with two tables  and a  
>> one to many relationship, (Groups -> Persons) with this code:
> ...
>> and that method:
> ...
>> the notification is only called when insert, update or delete in  
>> the "to one" Table, eg. the Groups Table.
>>
>> But Notification is set up for the whole context, as my  
>> understanding is???
>
> Actually you should be getting notifications for all entities, since  
> you're passing nil for the notification object in -addObserver. Is  
> this still an issue?
> -- 
> Best regards,
> Tuukka Norri
> MK&C
>
>
> _______________________________________________
> baseten-users mailing list
> baseten-users at lists.basetenframework.org
> http://lists.basetenframework.org/mailman/listinfo/baseten-users


_________________
michael ruepp
michael at ruepp.at
fon +41 76 593 04 49
skype michaelruepp

CONFIDENTIALITY NOTICE
This message (including any attachments transmitted with it) contains  
confidential information and is intended only for the individual named  
herein. If you are not the herein named addressee you should not  
disseminate, distribute, copy or otherwise make use of this message.  
Please notify the sender immediately by e-mail if you have received  
this message by mistake, and delete it from your systems.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basetenframework.org/pipermail/baseten-users/attachments/20091010/a9c55a56/attachment.htm>


More information about the baseten-users mailing list