Vulnerability in EPiServer.Forms
Having a problem with a Relate attribute not showing in Edit mode when suppling SiteHandler.CurrentSite to the SetAttributeValue method.
If I set the attribute with this:
user.SetAttributeValue("EPiServerMailSubscriber", SiteHandler.CurrentSite, newsletter);
(newsletter is a bool) the value isn't shown in edit mode.
If I on the other hand add the value like this:user.SetAttributeValue("EPiServerMailSubscriber", newsletter);
the value is shown in Edit mode.
It doesn't matter if I have one or more sites, I still get the same problem.
Has anyone experienced the same issue before?
// Regards, Torbjörn