Open jezs opened 11 years ago
I am facing the same problem with version 1.5. I am running the scrumbler plugin on redmine 2.0.3. Also the drag and drop between using the backlogs ( between backlogs & sprint) doesn't seems to work, Is it a new issue recently introduced? Any suggested solution?
A quick update. In my case since my redmine is running on http://mywebsite/redmine I could work around the problem by editing plugins\redmine_scrumbler\app\helpers\scrumbler_helper.rb file.
Instead of javascript_tag "var Scrumbler = {}; Scrumbler.Translations = #{translations.to_json}; Scrumbler.root_url = '/'; Scrumbler.possible_points = #{ScrumblerIssueCustomField.points.possible_values.to_json};"
use javascript_tag "var Scrumbler = {}; Scrumbler.Translations = #{translations.to_json}; Scrumbler.root_url = '/redmine/'; Scrumbler.possible_points = #{ScrumblerIssueCustomField.points.possible_values.to_json};"
But that expects your redmine is available in /var/www/redmine and you have configured the apache relative to that.
Thank you for the work-around. The links are now working.
Were you also able to determine how to fix the images in the Backlog or Sprint page? Scrumbler tab -> Backlog link
Inspecting the element, it has the ff. code:
<img src="/images/2uparrow.png" title="Move to top" alt="Move to top" class="scrumbler-move-issue-priority">
Where do I fix the codes so that: src="/images/2uparrow.png"
becomes src="/redmine/images/2uparrow.png"
Already saw the fix for this:
File: \plugins\redmine_scrumbler\assets\javascripts\scrumbler-backlog.js
Change the src: '/images/' to src: '/redmine/images/'.
...
function makeMovePriorityLink(config) {
var title = Scrumbler.Translations['label_sort_'+config.issue_action];
var a = new Element('img', {
src: '/images/'+config.image,
...
Change to :
...
function makeMovePriorityLink(config) {
var title = Scrumbler.Translations['label_sort_'+config.issue_action];
var a = new Element('img', {
src: '/redmine/images/'+config.image,
...
Redmine is currently setup in a sub-URI. i.e., http://localhost/*_redmine_
In the Scrumbler tab, when I click on the tracker or issue number link, it goes to: http://localhost/projects/4/issues?tracker_id=1 http://localhost/issues/20 respectively, which results to a 404 Page not found error.
The correct links are: http://localhost/**redmine**/projects/4/issues?tracker_id=1 http://localhost/**redmine**/issues/20