Unable to save widget(s)

Jake Platford asked on September 18, 2020 10:47

One of our clients has reported an intermittent issue, when they save one of their widgets (either adding a new one or editing + save an existing one) they are given a message saying:

"The object does not exist, it may have been deleted by someone else" (see image or https://ibb.co/8r6ZF9t)

Image Text

Additionally, this does not seem specific to one widget, or one page type or template. It's difficult to replicate as it is not happening for anyone on our side, but two of the clients. It also does not seem browser specific as it has been reported in both Chrome and Edge.

The main widget they are testing though, is very simple, has a few text fields, a dropdown (of a list of colors) and an media selector. The issue occurs even when the only mandatory field is populated (a text field) and also when other fields are populated too.

We have had this issue occur previously on another site, which was using v12 of Kentico rather than v10.0.11 seen here.

Restarting the application via the System module, seemed to resolve the issue temporarily.

Recent Answers


Dmitry Bastron answered on September 18, 2020 11:16 (last edited on September 18, 2020 11:17)

Hi Jake,

I've seen a similar issue which was in our case related to a specific user. We have deleted and created this user again and strangely this solved it. What I'd try also is to install the latest Hotfix for v10 as I've seen there were a few bugs fixed related to saving widget's data in 10.0.40s hotfixes. Probably this could help.

Also, in some strange issues re-signing macroses helps. You can try this as well.

0 votesVote for this answer Mark as a Correct answer

David te Kloese answered on September 18, 2020 11:33

One additional way I've seen this happen is when you have pages using workflow, check in/out or just the haven't saved the page yet. Meaning the page doesn't exist, and when saving the widget it tries to reload it...

In the controller of your page make sure you check these when retrieving the page:

.LatestVersion(boolValue)
.Published(!boolValue)

As a reference if you have the sample sites setup these are also used. Published is for live site, LatestVersion is usually in editor mode.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.