Kentico 13 widget properties apply button not working

Nic Lubbers asked on January 12, 2024 18:07

We're working on upgrading from MVC 5 to .Net Core 8 and we're having issues with widgets in the admin. When we click configure, the widget properties dialog comes up with the correct properties and we can edit them, but clicking apply doesn't apply the change. We're not having the same issue with widget section properties. We are testing this with the latest hotfix, which is currently 13.0.134. It appears to be submitting, but the dialog stays open and we can only close and cancel any changes.

Recent Answers


Brenden Kehren answered on January 12, 2024 18:35

Have you checked the event log for any errors? Have you tried to debug locally and see what errors are thrown when you click the apply/save button?

0 votesVote for this answer Mark as a Correct answer

Nic Lubbers answered on January 12, 2024 20:36

There are no errors in the event log and no errors are thrown locally when I click the apply button. The main difference I see between the widget and the widget section is when the form posts to validate (KenticoWidgetPropertiesForm/Validate for widget, KenticoSectionPropertiesForm/Validate for widget section), the widget returns the widget properties form, but the widget section returns a json string of the properties and their values. It's like it's not being validated, but I don't know what kind of validation it would be doing since we haven't defined any and we can't even submit the existing values, which were previously working.

0 votesVote for this answer Mark as a Correct answer

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