Try our conversational search powered by Generative AI!

Missing references in PageReferenceCollection

Vote:
 

Related to my other post I have a problem with PageReferenceCollection losing its reference list.

As you can see I've made a custom property named PropertyMunicipalityListing which lists all the municipalities in Finland. User can attach zero or more municipalities to a page named AreaPage. This works fine. I can list all the municipalities attached to areas and display them to the end user.

But after a while municipalities gets lost. With debugger I can see that Municipalities property has gotten empty, its Count is zero (so it's not null). First I thought that someone has edited the page and done something wrong but page history shows that it isn't so. And top of all this happens randomly. Not every area page loses its municipalities.

Now if I go and edit area's municipality listing in edit mode, lo and behold, there they are, selected just nicely! So the custom property knows about them but PageReferenceCollection has lost them. Republishing the page repopulates the PageReferenceCollection.

How this can be?

#69850
Apr 08, 2013 13:04
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.