Open orchardbot opened 10 years ago
@sebastienros commented:
Todo: in the OnActivating event for MediaPart attach the TitlePart automatically,
@sfmskywalker commented:
ActivatingFilter seems ideal for this, like UserPartHandler is doing:
Filters.Add(new ActivatingFilter<UserPart>("User"));
@sfmskywalker commented:
Scratch my previous suggestion - that requires the knowledge of the content type.
@bleroy created: https://orchard.codeplex.com/workitem/20467
The code for the Title property should check for null on the TitlePart before using it.