Page 1 of 1
Admin edit email templates error EventId key
Posted: Tue Aug 03, 2010 4:18 am
by ThinkNoodle
Since we upgraded to 7.0.4.13424 we have been unable to edit any email templates when the save button is pressed, even if we have not made any changes. We get the message "Item has already been added. Key in dictionary: "EventId" Key being added: "EventId"
This also effects the event triggers as well as message content tab.
We've checked the permissions using testpermissions.aspx and they are all ok
Any ideas anyone?
Re: Admin edit email templates error EventId key
Posted: Thu Sep 23, 2010 7:39 am
by relish1227
Hi, we are also having this issue. Our site was also an upgrade to 7.0.4.
Any help on this would be appreciated.
Re: Admin edit email templates error EventId key
Posted: Fri Sep 24, 2010 4:29 am
by plugables
It looks like it has to do with the event triggers. You could move forward in detecting the problem if you follow the following steps and report the behavior
- Create a new test email template.
- Edit it and in its event trigger settings un-select all
- Try to save (Do you get an error?)
- One by one select the email triggers and try to save. When do you start getting error?
Re: Admin edit email templates error EventId key
Posted: Fri Sep 24, 2010 12:21 pm
by relish1227
Okay. I went to add a new email template.
On the "Message Content" tab I just added "Test" for most fields and my own email address for the email fields. I didn't even look at the Event Triggers tab. When I submitted the page, I got a standard error page with this text:
Server Error in '/' Application.
Item has already been added. Key in dictionary: 'EventId' Key being added: 'EventId'
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Item has already been added. Key in dictionary: 'EventId' Key being added: 'EventId'
I tried adding it with one of the event triggers checked and I got the same result. Thoughts?
Re: Admin edit email templates error EventId key
Posted: Sat Sep 25, 2010 9:27 am
by plugables
I suspect there is something wrong with the aspx files after the upgrade.
If you can replace the files in Admin/Store/EmailTemplates folder with stock files form fresh 7.0.4 installation it may help.