1. Sebastian Sebastian
  2. scm-manager

Issues

Issue #416 resolved

Statistics error 500 for non-admin user

idbill_pugetworks
created an issue

Selecting a statistic as a non-admin user results in a 500 error (both Safari and Chrome w/ OS 10.8).

Maybe statistics should be disabled for non-admin users?

note: 'test' is a git repo

debugging from the javascript console in Safari: test selected 7e4d159c66f0bcd4a850bd207ba66bdc943eed49.js:1815add history element repositoryPanel;DVOASiwto3 7e4d159c66f0bcd4a850bd207ba66bdc943eed49.js:1817could not find xtype statisticCommitsPerAuthorPanel set xtype as id 7e4d159c66f0bcd4a850bd207ba66bdc943eed49.js:1815add history element statisticCommitsPerAuthorPanel http://scm.pugetworks.com/scm/api/rest/plugins/statistic/DVOASiwto3/commits-per-author.jsonFailed to load resource: the server responded with a status of 500 (Server Error) 7e4d159c66f0bcd4a850bd207ba66bdc943eed49.js:1859store returned statuscode 500 7e4d159c66f0bcd4a850bd207ba66bdc943eed49.js:1859error during store load, status: 500 7e4d159c66f0bcd4a850bd207ba66bdc943eed49.js:2110handle failure for status code: 500 7e4d159c66f0bcd4a850bd207ba66bdc943eed49.js:2111 Error 7e4d159c66f0bcd4a850bd207ba66bdc943eed49.js:1815add history element repositoryPanel;DVOASiwto3 7e4d159c66f0bcd4a850bd207ba66bdc943eed49.js:1817could not find xtype statisticCommitsPerMonthPanel set xtype as id 7e4d159c66f0bcd4a850bd207ba66bdc943eed49.js:1815add history element statisticCommitsPerMonthPanel http://scm.pugetworks.com/scm/api/rest/plugins/statistic/DVOASiwto3/commits-per-month.jsonFailed to load resource: the server responded with a status of 500 (Server Error) 7e4d159c66f0bcd4a850bd207ba66bdc943eed49.js:1859store returned statuscode 500 7e4d159c66f0bcd4a850bd207ba66bdc943eed49.js:1859error during store load, status: 500 7e4d159c66f0bcd4a850bd207ba66bdc943eed49.js:2110handle failure for status code: 500 7e4d159c66f0bcd4a850bd207ba66bdc943eed49.js:2111 Error

Comments (11)

  1. idbill_pugetworks reporter

    Ok, I verified that is true. But now I'm more confused. Of the 10 or so repos (mostly svn), only 1 repo is shown for the given user. So I was assuming that since the one repo was shown, they had some permissions to it.

    Ah, now I see. I had checked it as 'public' which is why it was listed. So I guess the next question is... on public repos should statistics be enabled?

  2. Log in to comment