Issue #362: Error in comments in changelog (conservancy/kallithea)

vyom issues-reply at bitbucket.org
Tue Feb 25 07:54:17 UTC 2020


New issue 362: Error in comments in changelog
https://bitbucket.org/conservancy/kallithea/issues/362/error-in-comments-in-changelog

vyom:

System shows an error when trying to comment on the changelog. This is a major bug for code review on the front-end.

```plaintext
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.




More information about the kallithea-general mailing list