November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Hi Bhavin,
Can you include the exception and the stack trace and I'll see what might be the issue.
Best regards,
Mattias
|
|
Hi Bhavin,
I would suggest you report this as an incident at http://world.episerver.com/Support/Register-Support-Incident/. When describing the problem include the code with all subsequently called methods (AddEntityTags and SetAttributeValues) and exception + stacktrace, and we'll take it from there.
Hello,
We are using Netstar StarCommunity for our community website. I am working on the Club module of the StarCommunity.
In Club module I am having problem while updating the club. It thows me error while updating the tags. Update code is working fine for the first time but throwing error after updating the Club for more than once.
Below is the code...for Updating Club....
public void UpdateUserGroup(Group group, ICategory groupType) {
bool alreadyInTransaction = DatabaseHandler.InTransaction;
if (!alreadyInTransaction)
DatabaseHandler.BeginTransaction();
Club clubToUpdate = (Club)GetGroup(group.Name).Clone();
clubToUpdate.Description = group.Description;
clubToUpdate.SecurityStatus = group.SecurityStatus;
// store group type as category
clubToUpdate.Categories.Clear();
clubToUpdate.Categories.Add(groupType);
clubToUpdate.EntityTags.Clear();
AddEntityTags(clubToUpdate, group.CSVTags);
SetAttributeValues(clubToUpdate, group);
ClubHandler.UpdateClub(clubToUpdate);
if (!alreadyInTransaction)
DatabaseHandler.Commit();
}
==============
Aslo pls Note that group in the above code is actually the club of StarCommunity.
Regards,
bhavin.chheda@vizualize.com