2013-06-06 15:21:11,795 [183] INFO umbraco.BusinessLogic.Log - [Thread 112] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Error | User: 0 | NodeId: 1121 | Comment: The given key was not present in the dictionary. at System.Collections.ObjectModel.KeyedCollection`2.get_Item(TKey key)
at Umbraco.Core.Models.ContentBase.GetValue[TPassType](String propertyTypeAlias)
at uCommentsy.BusinessLogic.SubscriptionService.GetSubscriptionMetaData(IPublishedContent node) in d:\_PROJECTS\Personal\uCommentsy\Source\uCommentsy.BusinessLogic\SubscriptionService.cs:line 157
at uCommentsy.BusinessLogic.SubscriptionService.GetSubscriptionMemberIds(IPublishedContent node) in d:\_PROJECTS\Personal\uCommentsy\Source\uCommentsy.BusinessLogic\SubscriptionService.cs:line 194
at uCommentsy.BusinessLogic.EmailService.SendNotificationEmails(String postUrl, IPublishedContent node, Int32 commentId) in d:\_PROJECTS\Personal\uCommentsy\Source\uCommentsy.BusinessLogic\EmailService.cs:line 72
at uCommentsy.BusinessLogic.EventHandlers.UmbracoNodeEventsForComments.PublishingStrategy_Published(IPublishingStrategy sender, PublishEventArgs`1 e) in d:\_PROJECTS\Personal\uCommentsy\Source\uCommentsy.BusinessLogic\EventHandlers\UmbracoNodeEventsForComments.cs:line 86
2013-06-06 15:21:11,854 [183] INFO umbraco.BusinessLogic.Log - [Thread 112] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Error | User: 0 | NodeId: 1121 | Comment: The given key was not present in the dictionary.
at System.Collections.ObjectModel.KeyedCollection`2.get_Item(TKey key)
at Umbraco.Core.Models.ContentBase.GetValue[TPassType](String propertyTypeAlias)
at uCommentsy.BusinessLogic.SubscriptionService.GetSubscriptionMetaData(IPublishedContent node) in d:\_PROJECTS\Personal\uCommentsy\Source\uCommentsy.BusinessLogic\SubscriptionService.cs:line 157
at uCommentsy.BusinessLogic.SubscriptionService.MetaDataContains(IPublishedContent node, String email) in d:\_PROJECTS\Personal\uCommentsy\Source\uCommentsy.BusinessLogic\SubscriptionService.cs:line 178
at uCommentsy.BusinessLogic.SubscriptionService.SubscribeToPost(IPublishedContent node, CommentInfo commentInfo, Boolean subscribe) in d:\_PROJECTS\Personal\uCommentsy\Source\uCommentsy.BusinessLogic\SubscriptionService.cs:line 79
at uCommentsy.BusinessLogic.CommentService.SubmitComment(HttpRequestBase request, IPublishedContent node, CommentInfo commentInfo, Boolean subscribe) in d:\_PROJECTS\Personal\uCommentsy\Source\uCommentsy.BusinessLogic\CommentService.cs:line 105
Subscribe
Hi!
I'm getting an error if i check the subscribe checkbox. But if i don't check then it works fine.
Umbraco: v6.0.4
uBlogsy: Latest
uCommentsy: Latest
2013-06-06 15:21:11,795 [183] INFO umbraco.BusinessLogic.Log - [Thread 112] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Error | User: 0 | NodeId: 1121 | Comment: The given key was not present in the dictionary. at System.Collections.ObjectModel.KeyedCollection`2.get_Item(TKey key)
at Umbraco.Core.Models.ContentBase.GetValue[TPassType](String propertyTypeAlias)
at uCommentsy.BusinessLogic.SubscriptionService.GetSubscriptionMetaData(IPublishedContent node) in d:\_PROJECTS\Personal\uCommentsy\Source\uCommentsy.BusinessLogic\SubscriptionService.cs:line 157
at uCommentsy.BusinessLogic.SubscriptionService.GetSubscriptionMemberIds(IPublishedContent node) in d:\_PROJECTS\Personal\uCommentsy\Source\uCommentsy.BusinessLogic\SubscriptionService.cs:line 194
at uCommentsy.BusinessLogic.EmailService.SendNotificationEmails(String postUrl, IPublishedContent node, Int32 commentId) in d:\_PROJECTS\Personal\uCommentsy\Source\uCommentsy.BusinessLogic\EmailService.cs:line 72
at uCommentsy.BusinessLogic.EventHandlers.UmbracoNodeEventsForComments.PublishingStrategy_Published(IPublishingStrategy sender, PublishEventArgs`1 e) in d:\_PROJECTS\Personal\uCommentsy\Source\uCommentsy.BusinessLogic\EventHandlers\UmbracoNodeEventsForComments.cs:line 86
2013-06-06 15:21:11,854 [183] INFO umbraco.BusinessLogic.Log - [Thread 112] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Error | User: 0 | NodeId: 1121 | Comment: The given key was not present in the dictionary.
at System.Collections.ObjectModel.KeyedCollection`2.get_Item(TKey key)
at Umbraco.Core.Models.ContentBase.GetValue[TPassType](String propertyTypeAlias)
at uCommentsy.BusinessLogic.SubscriptionService.GetSubscriptionMetaData(IPublishedContent node) in d:\_PROJECTS\Personal\uCommentsy\Source\uCommentsy.BusinessLogic\SubscriptionService.cs:line 157
at uCommentsy.BusinessLogic.SubscriptionService.MetaDataContains(IPublishedContent node, String email) in d:\_PROJECTS\Personal\uCommentsy\Source\uCommentsy.BusinessLogic\SubscriptionService.cs:line 178
at uCommentsy.BusinessLogic.SubscriptionService.SubscribeToPost(IPublishedContent node, CommentInfo commentInfo, Boolean subscribe) in d:\_PROJECTS\Personal\uCommentsy\Source\uCommentsy.BusinessLogic\SubscriptionService.cs:line 79
at uCommentsy.BusinessLogic.CommentService.SubmitComment(HttpRequestBase request, IPublishedContent node, CommentInfo commentInfo, Boolean subscribe) in d:\_PROJECTS\Personal\uCommentsy\Source\uCommentsy.BusinessLogic\CommentService.cs:line 105
The comment container should have a meta data field,...what is the contents?
Also, ensure that the member type is installed. What properties does it have.
The member type is installed.
The comment container has no field. What kind of field should it be?
Umbraco package installer has a bug. Take a look at the blog node to see if it was added there.
The property is:
uCommentsySubscriptionsMetaData of type textbox multiple.
Yesss :D works like a charme!!
THX
TJL
is working on a reply...