Issue #362: Error in comments in changelog and pull request review comments
Reported by: | vyom |
State: | resolved |
Created on: | 2020-02-25 07:54 |
Updated on: | 2020-02-25 17:48 |
Description
System shows an error when trying to comment on the changelog. This is a major bug for code review on the front-end.
Content Security Policy: This site (https://kallithea.testserver.com) has a Report-Only policy without a report URI. CSP will not block and cannot report violations of this policy. Content Security Policy: The page’s settings observed the loading of a resource at https://kallithea.testserver.com/css/style.css?ver=0.5.99 (“style-src”). A CSP report is being sent. This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. 3d503c7968ca6222e7a48618c6dbdbc9c1448f2d ReferenceError: assignment to undeclared variable AJAX_COMMENT_URL 3d503c7968ca6222e7a48618c6dbdbc9c1448f2d:495:5 <anonymous> https://kallithea.testserver.com/test/testrepo/changeset/3d503c7968ca6222e7a48618c6dbdbc9c1448f2d:495 Content Security Policy: The page’s settings observed the loading of a resource at https://kallithea.testserver.com/js/jquery.min.js?ver=0.5.99 (“script-src”). A CSP report is being sent. Content Security Policy: The page’s settings observed the loading of a resource at https://kallithea.testserver.com/js/jquery.dataTables.js?ver=0.5.99 (“script-src”). A CSP report is being sent. Content Security Policy: The page’s settings observed the loading of a resource at https://kallithea.testserver.com/js/dataTables.bootstrap.js?ver=0.5.99 (“script-src”). A CSP report is being sent. Content Security Policy: The page’s settings observed the loading of a resource at https://kallithea.testserver.com/js/bootstrap.js?ver=0.5.99 (“script-src”). A CSP report is being sent. Content Security Policy: The page’s settings observed the loading of a resource at https://kallithea.testserver.com/js/select2.js?ver=0.5.99 (“script-src”). A CSP report is being sent. Content Security Policy: The page’s settings observed the loading of a resource at https://kallithea.testserver.com/js/jquery.caret.min.js?ver=0.5.99 (“script-src”). A CSP report is being sent. Content Security Policy: The page’s settings observed the loading of a resource at https://kallithea.testserver.com/js/jquery.atwho.min.js?ver=0.5.99 (“script-src”). A CSP report is being sent. Content Security Policy: The page’s settings observed the loading of a resource at https://kallithea.testserver.com/js/base.js?ver=0.5.99 (“script-src”). A CSP report is being sent. ReferenceError: AJAX_COMMENT_URL is not defined base.js:694:9 Content Security Policy: The page’s settings observed the loading of a resource at https://kallithea.testserver.com/css/style.css?ver=0.5.99 (“style-src”). A CSP report is being sent. 2 NetUtil.jsm:148:14
Probably needs some changes in js code.
Attachments
Comments
Comment by vyom, on 2020-02-25 07:57
Comment by Mads Kiilerich, on 2020-02-25 17:48
Sorry. Fixed in https://kallithea-scm.org/repos/kallithea/changeset/169539b32b90 .
Thanks for testing!
Comment by Mads Kiilerich, on 2020-02-25 17:48
Fixed