I've defined a custom property that was only being populated when viewed in Edit mode, I have now narrowed it down to an issue with languages.
I've created a page template called Test.aspx, if I navigate to it using the URL mysite.com/Templates/Pages/Test.aspx?id=141 then everything works fine, the custom properties are populated with data.
However, when I navigate to mysite.com/Test-Page (which is what the above url is re-written to), the custom property values are not populated.
If I view the page in edit mode then again the values are populated, however when I use the View Mode button the values are missing. I think this might have something to do with edit mode having the cookie editlanguagebranch, as mentioned in this globalization article: http://sdk.episerver.com/library/cms6/Developers%20Guide/Core%20Features/Language%20Settings.htm
In our site the only language I have switched on is English UK. I have then performed the following tasks to ensure only this language is used:
Is there anything I've missed here?
Any help is much appreciated
Something else I've noticed, when I am in Edit mode and navigate to the above page in the tree structure the page preview loads twice, first time without any custom property values and the second time with the values populated.