-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 4.6.1, 4.8.3
-
Component/s: Repository - Source / Diff
-
Severity 3 - Minor
-
1
Summary
Setting commit.list.follow.renames=false property causes a JS error to occur when loading the file history.
Steps to Reproduce
- Set commit.list.follow.renames=false in bitbucket.properties
- Restart Bitbucket Server
- Navigate to a file in a repository and click the History dropdown
Expected Results
File history loads normally.
Actual Results
The below exception is thrown in the browser JS console:
file-content.js?_statichash=56e1ecc…-T%2F597422509%2F7047e72%2F9%2F09a048a5…:10 Uncaught TypeError: Cannot read property 'change' of undefineditemUrl @ file-content.js?_statichash=56e1ecc…-T%2F597422509%2F7047e72%2F9%2F09a048a5…:10(anonymous function) @ commit-selector.js?_statichash=56e1ecc…-T%2F597422509%2F7047e72%2F9%2F09a04…:9c.attachNewContent @ commit-selector.js?_statichash=56e1ecc…-T%2F597422509%2F7047e72%2F9%2F09a04…:9b._addPage @ paged-scrollable.js?_statichash=56e1ecc…-T%2F597422509%2F7047e72%2F9%2F09a0…:10b.onDataLoaded @ paged-scrollable.js?_statichash=56e1ecc…-T%2F597422509%2F7047e72%2F9%2F09a0…:10(anonymous function) @ paged-scrollable.js?_statichash=56e1ecc…-T%2F597422509%2F7047e72%2F9%2F09a0…:2j @ jquery.js?_statichash=e425d40…-CDN%2F597422509%2F7047e72%2F9%2Fcb59095215e1…:2fireWith @ jquery.js?_statichash=e425d40…-CDN%2F597422509%2F7047e72%2F9%2Fcb59095215e1…:2e.(anonymous function) @ jquery.js?_statichash=e425d40…-CDN%2F597422509%2F7047e72%2F9%2Fcb59095215e1…:2j @ jquery.js?_statichash=e425d40…-CDN%2F597422509%2F7047e72%2F9%2Fcb59095215e1…:2add @ jquery.js?_statichash=e425d40…-CDN%2F597422509%2F7047e72%2F9%2Fcb59095215e1…:2(anonymous function) @ jquery.js?_statichash=e425d40…-CDN%2F597422509%2F7047e72%2F9%2Fcb59095215e1…:2j @ jquery.js?_statichash=e425d40…-CDN%2F597422509%2F7047e72%2F9%2Fcb59095215e1…:2fireWith @ jquery.js?_statichash=e425d40…-CDN%2F597422509%2F7047e72%2F9%2Fcb59095215e1…:2x @ jquery.js?_statichash=e425d40…-CDN%2F597422509%2F7047e72%2F9%2Fcb59095215e1…:4(anonymous function) @ jquery.js?_statichash=e425d40…-CDN%2F597422509%2F7047e72%2F9%2Fcb59095215e1…:4
Workaround
Remove the commit.list.follow.renames=false property and restart Bitbucket Server.
- mentioned in
-
Page Loading...