Fuel fuelAfterMaterialization - wrong order?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fuel fuelAfterMaterialization - wrong order?

Petr Fischer
Hello,

I have "Model" class, dictionary instance variable in it and in this dictionary, there is "Task" and "Meeting" classes (Meeting is subclass of Task).

I have problem with fuelAfterMaterialization order, if I log debug line in fuelAfterMaterialization, I got this fuelAfterMaterialization call order:

Task
Task
Task
...
Task
Model (!) - here? why? Model is root object
Meeting
Meeting
Meeting
and some other objects, collections etc.

Problem is, when I need to do some things with Tasks and Meetings in fuelAfterMaterialization of Model (eg. rebuild caches), I am excepting, that all fuelAfterMaterialization calls is done before on all Tasks and Meetings - because they are stored in instance var dictionary of Model.

Is it a bug? Thanks! Petr Fischer