London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Nested Blocks keep disappearing!!

Vote:
 

I have a very strange phenomenon whereby when i add blocks to content areas in other blocks, a few minutes later they disappear. I thought i was going mad, but its reliably repeatable. I have never encountered this before and have no idea what could be happening? I even copied the database down to my local machine but that made no difference. Does anyone have an idea what might be happening?

#201540
Feb 22, 2019 10:14
Vote:
 

Hi what version of Episerver are you running? I do remember a bug a couple of months back in the UI that would exhibit similar behaviour and updating to the latest and a hard refresh solved it.

#201547
Feb 22, 2019 11:14
Vote:
 

11.9

#201551
Feb 22, 2019 11:19
Vote:
 

I thought it was a websockets issue, but the problem is still there.

#201557
Edited, Feb 22, 2019 11:31
Vote:
 

Assume this is production? Are you using load balancing? Are the remote events configured correctly if so?

#201566
Feb 22, 2019 13:02
Vote:
 

Hi David,

No, it is not happening on Production, only on my dev environment. When i posted the error I thought that I was using ContentAreas, but its actually  IList<ContentReference>.

I am getting JSON errors in the logs, so i think its a problem with using IList<ContentReference>, and changes to EPi regarding the use of JSON in storing these types.

[AllowedTypes(typeof(ContactItemBlock))]
public virtual IList<ContentReference> Contacts { get; set; }

I have now decorated the lists with [JsonProperty], and they are not disappearing now - but all the references are gone, so I will have to put in all the data again when i deploy to production.

#201571
Edited, Feb 22, 2019 13:46
Vote:
 
#201581
Feb 22, 2019 14:10
Vote:
 

Hi Dejan,

Looks like that is the way to go!

Marshall

#201582
Edited, Feb 22, 2019 14:22
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.