@Anders does the doc type mixin work if you save it for a second time? There seems to be an issue in 6.0.x where the sender in Document.AfterSave event handler doesn't seem to have it's allowed doc child doc types set yet, so when you save the mixin, it doesn't know on which doc types to apply the mixin to. When you save it a second time, it seems to work.
Hmm, ok, digging a little further the DocumentType and it's events have all been marked obsolete so even if they get fixed, we'll still need to create another fix later on. It seems then that we may need to make a v6 version of the package that listens for ContentTypeService.SavedContentType event.
Umbraco v6.0.2 compatibility
Hi Matt/Pete,
Just installed DocTypeMixins on Umbraco v6.0.2 but it doesn't seem to work. No error in the log file either.
-A-
I have verified this, so will try and take a look as soon as I can. Might be an excuse to get the latest update out too :)
Matt
Thanks Matt.
Really, latest update? Is this the one we did 18 months ago? :)
@Anders does the doc type mixin work if you save it for a second time? There seems to be an issue in 6.0.x where the sender in Document.AfterSave event handler doesn't seem to have it's allowed doc child doc types set yet, so when you save the mixin, it doesn't know on which doc types to apply the mixin to. When you save it a second time, it seems to work.
There is an issue logged if you'd like to vote for it:
http://issues.umbraco.org/issue/U4-547
Matt
Hmm, ok, digging a little further the DocumentType and it's events have all been marked obsolete so even if they get fixed, we'll still need to create another fix later on. It seems then that we may need to make a v6 version of the package that listens for ContentTypeService.SavedContentType event.
Matt
Before or after your wedding?
@Anders as another option, 'Mixins' work with uSitebuilder & v6
@Rich I'm only working front-end :) But thanks.
These issues might give some good information about the aftersave event:
http://issues.umbraco.org/issue/U4-1564
http://issues.umbraco.org/issue/U4-1372#comment=67-4873
Jeroen
Just to let you all know, there is a new version of DTM available on the download page which should now work with Umbraco 6.1+
Cheers
Matt
is working on a reply...