I posted this in the archetype forum but I think the issue may be more so related to the property type converter.
I have this perplexing issue that throws an intermittent error that happens to go away when restarting the site. Eventually the issue resurfaces after time. The issue even occurs on multiple servers. Running 7.22, but had the same issue with 7.16
The error reported doesn't detail the issue other then not returning the value from the Archetype MNTP field. As I said the odd thing about this is that it will work for a period of time, then its stop working out of the blue.
Here's my snippet of code.
.......
@foreach (var fieldset in childPage.GetPropertyValue("committeeselect"))
{
if (fieldset.HasProperty("member") && fieldset.HasValue("member"))
{
string members = fieldset.GetValue("member");
string[] split = members.Split(',');
foreach (string item in split)
{
@item ( Where it fails. If it fails it just returns System.Int32 othewise it returns the correct value)
MNTP, Property type converter and Archetype
I posted this in the archetype forum but I think the issue may be more so related to the property type converter.
I have this perplexing issue that throws an intermittent error that happens to go away when restarting the site. Eventually the issue resurfaces after time. The issue even occurs on multiple servers. Running 7.22, but had the same issue with 7.16
The error reported doesn't detail the issue other then not returning the value from the Archetype MNTP field. As I said the odd thing about this is that it will work for a period of time, then its stop working out of the blue.
Here's my snippet of code.
.......
....
Hi Jeff,
Sorry I missed this post, did you solve it?
Jeavon
is working on a reply...