Does anyone know why the Blog_Comment table stores the username in addition to the user ID but then does not udpate the username in the Blog_comment table when a user's username is changed? It seems many places are directly accessing this field instead of joining to the user table to get the latest username. I have customized things where I can, to add the join but some places I can't without sourcecode, for example, BlogCommentInfoProvider.GetPostComments function returns CommentUserName which is not displaying the new username if a user's username was changed after making the comment. Specifically, I am looking in this class: CMSModules_Blogs_Controls_BlogCommentView and this line of code:
// Get all post comments
rptComments.DataSource = BlogCommentInfoProvider.GetPostComments(PostNode.DocumentID, !isUserAuthorized, isUserAuthorized, DisplayTrackbacks);
I was going to try to update the SQL like I did in some other places but I can't here since I don't have the source code, I can't change it and I can't even see what this code is doing to replace it with my own datasource.
Is this a bug or am I just missing something simple here?
Thanks,
Matt