Method or a property marked with the setting attribute?
If it's a property marked with the setting attribute there might be a value stored in UFSettings for the old name and Contour is trying to set the value
If not, do you have a stack trace to see where the error is coming from
Back office Contour is not loading following a method rename in a custom fieldtype
Hello Tim,
I renamed a method in a custom field type that I created.
When I go to the back office contour tab, I get this error:
Method [old method name] not found. (a System.MissingMethodException is raised)
Cheers,
Steven
Comment author was deleted
Method or a property marked with the setting attribute?
If it's a property marked with the setting attribute there might be a value stored in UFSettings for the old name and Contour is trying to set the value
If not, do you have a stack trace to see where the error is coming from
Hi Tim,
Yes it is indeed marked with the setting attribute.
As I've said on http://stackoverflow.com/questions/14860788/where-does-umbraco-contour-store-the-forms I have looked through all of the UF tables, but have not found any trace of the old (or new) method name. That's why I'm asking the question of where things are stored.
This is the stack trace from the YSOD:
Cheers,
Steven
Comment author was deleted
Yeah it's like I thought, it's not a method but a property decorated with the setting attribute
A value for the old naming is stored and Contour is trying to set that but it can't find the property
To fix delete it from the UFSettings table
delete from UFSettings where key = 'AgressLookup'
I'll make sure that this also get's fixed in the core so it will ignore these in the future
http://issues.umbraco.org/issue/CON-266
Hi Tim,
I feel like an idiot now. I was only running my SQL queries against the value columns in the different tables... Oh well!
Thank you for your help!
Cheers,
Steven
is working on a reply...