Bug #27114
openMany diffs no longer display in event logs
Description
it seems that many JS code that are executed as AJAX in the Event logs (also the change logs page in starting from 8.3) are not executed.
We use diff libraries and we inject JS code that does not seem to be executed at all, makeDiff
and jsondiffpatch
So, we can no longer see the diff of tags for directives/rules (see #15019), or JSON semantic diff for node properties.
Screenshot for a missing directive diff on tags
There is a CSP violation in the page which could be the cause of that.
Files
Updated by Clark ANDRIANASOLO about 22 hours ago
- Effort required changed from Very Small to Medium
- Priority changed from 103 to 58
The JS queries the event logs endpoint which returns JS code in some field, but in #25352 we made assumptions about the response of the API, which may only contain JS, but no HTML.
So we should find a way to run diffs, we can not longer run script
tags from the server, it will be far from trivial
Updated by Clark ANDRIANASOLO about 22 hours ago
- Related to Bug #25352: Event log rollback action is prevented from CSP headers added