Closed GoogleCodeExporter closed 9 years ago
Hiya Carl, it's been a long time since I worked with the overlay stacking, but
I don't think before and after is for when compilation happens, it's for which
order the classes are accessed. You can recompile everything by calling
something like profile.recompile at any time (so you can change the object
class an object uses whenever you'd like, then just recompile the profile).
You only need to use after if you have to ensure you're underneath another
overlay (ie, you know the other overlay depends on something you define). It's
extremely rare that it's necessary, and I'm pretty sure it doesn't apply to
your situation. Please try only using before to define which
ProfileModifications have to be in place before yours, and then use recompile
if you make any changes to any of it...
Original comment by mike.auty@gmail.com
on 17 Apr 2013 at 11:42
OK, the problem here is line 1085 - this line should read:
data[a] = data.get(a, set([])).union(set([mod.__class__.__name__]))
Wrt my specific application issue, thanks for the advice/pointers - I'll carry
on looking here as things here are not working as I'm expecting (so either my
understanding here is lacking (very possible!) or there's something else a
foot?).
Original comment by carl.pulley
on 18 Apr 2013 at 1:44
Clarity: my application specific issue is caused by myself being slow to
realise that profile.object_classes.update overwrites the previous object
mapping - duh!
Original comment by carl.pulley
on 18 Apr 2013 at 1:57
No problem, marking as invalid.
Original comment by mike.auty@gmail.com
on 18 Apr 2013 at 6:51
Surely line 1085 of obj.Profile still needs fixing (see comment #2 above)?
Original comment by carl.pulley
on 18 Apr 2013 at 7:00
Thanks, it's fixed in r3387.
Original comment by mike.auty@gmail.com
on 18 Apr 2013 at 7:05
Original issue reported on code.google.com by
carl.pulley
on 17 Apr 2013 at 10:23Attachments: