Kentico 12 MVC CMS tree nodes not expanding issue

S T asked on November 20, 2024 13:24

Hi, On the production website CMS admin I get a weird error when trying to open a node in the Pages module. It seems to load indefinitely and never opens. The thing is that sometimes it works and sometime it doesn't and varies across browsers. In chrome currently I get a 403 Forbidden in the console log whenever I try to open a node "POST https://admin.websitename.com/CMSModules/Content/CMSDesk/Default.aspx?action=edit&nodeid=31407&culture=en-US 403 (Forbidden)" and there is nothing in the Event Log. Has anyone else had this issue? Kentico v12.0.101 Regards

Correct Answer

S T answered on November 22, 2024 10:09

It was a Cloudflare firewall issue. The managed ruleset, specifically, 'XSS - JavaScript Events'. The exemption had previously been created for this, but that it appeared to have been automatically migrated and didn't work properly. We had to re-create the rule and immediately worked normally. Hope this helps someone with the same problem. 

2 votesVote for this answer Unmark Correct answer

Recent Answers


Juraj Ondrus answered on November 21, 2024 13:39

What were the most recent changes made? Any recent deployments? Does this also happen when you are on the Content tab? If not, does it happen when you are on the Page tab with page builder? If yes, then if you are using any custom scripts, you should execute them in the live site mode only. It looks like some custom scripts are interfering with the admin scripts.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on November 21, 2024 22:18

We've had this on several v12 and older sites. We have had clients who've had issues with this and their website was behind CloudFlare or some other firewall or WAF set up. The solution for this was to allow more communication between the firewall and the website. I don't know exactly what the settings or features the network team allowed but I know there was some intervention on their end.

For those sites where the firewall or WAF didn't cause a problem and this issue persisted, the solution/hack is to select the page you want to expand and click the refresh icon inside the content tree. We've not really found a better solution other than this.

Image Text

0 votesVote for this answer Mark as a Correct answer

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