Bug in CSS Stylesheets app in admin screen

Pedro Costa asked on August 25, 2015 15:44

Hi,

On a recently upgraded site to hotfix 33 we started noticing this behaviour (editing on the left, add on the right):

Image Text

It shows 2 textareas to edit content on, I've checked other sites we have also updated to hotfix 33 and this is not happening, I put it to maybe being the content of the CSS files, but the same happens when adding a new stylesheet (hence the dual screen above)!

Has anyone experienced something of the sort on any of the earlier hotfixes? I can't actually say for sure whether the upgrade to 33 was the culprit for this.

I have however checked source codes against sites without this behaviour and it all matches (except the expected changes of course) and they are also running on the same type of environment, different installs but same server Windows 2012 R2, .net 4, IIS 8.

Please note I run a Web App with Virtual Objects deployment on.

Thanks, P.

P.s. Screenshots above on latest Chrome in Windows 10, no console/JS errors to report.

Correct Answer

Pedro Costa answered on August 26, 2015 17:17

Sorted, issue was macro signatures! Checked everything but forgot to look into the event logs,

Source: MacroResolver Event code: CHECKSECURITY

Security check of the expression '(EditedObject.StylesheetDynamicLanguage == "plaincss") || (EditedObject.StylesheetDynamicLanguage == "") || (StylesheetCodePreview.Value == "preview")|(user)administrator|(hash)' didn't pass. The expression was signed by user ''. Remove the signature and re-save the expression by a user with proper permissions.

Going to System > Macros > Signatures and resigning all macros again fixed the problem.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Brenden Kehren answered on August 25, 2015 15:57

You might try clearing your cache in the browser and on the website. There could be new JS files that are causing this unexpected behavior.

0 votesVote for this answer Mark as a Correct answer

Pedro Costa answered on August 25, 2015 15:58

Hi Brenden,

Thanks, done that, and changed browser as well, no luck :(

Cheers, P.

0 votesVote for this answer Mark as a Correct answer

Pedro Costa answered on August 26, 2015 15:23

Behaviour confirmed on Firefox Developer as weel.

And both on localhost debug development and testing server precompiled deployment (both with virtual objects on).

Cheers, P.

0 votesVote for this answer Mark as a Correct answer

Pedro Costa answered on August 26, 2015 16:58

Another website, that we upgraded today, is also having this! :(

I've recompared everything, dependencies, source codes, etc! It all matches to full base install and the one site that is on hotfix 33 that is not affected by the issue.

Have already emailed support, hopefully they'll get back to me soon.

0 votesVote for this answer Mark as a Correct answer

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