Project

General

Profile

Actions

Defect #4723

closed

HTML is shown while the target version selection

Added by Guillaume Camera about 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
2010-02-03
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

With Chrome and iceweasel web brower and the 0.9.1-1 redmine version,
on the target version selection, HTML is shown.
Obviously, the target selection doesn't work.

Screenshot : http://sky-sacrament.fr/redmine-bug.png

Actions #1

Updated by Guillaume Camera about 14 years ago

I'm using Debian and installed redmine by the debian packages manager.

The following code is that I think to be the code around the bug:

<p><label for="issue_fixed_version_id">Target version</label><select id="issue_fixed_version_id" name="issue[fixed_version_id]"><option value=""></option> 
<option value="&lt;option value=&quot;2&quot;&gt;0.1.1&lt;/option&gt;">&lt;option value=&quot;2&quot;&gt;0.1.1&lt;/option&gt;
</option> 
<option value="&lt;option value=&quot;3&quot; selected=&quot;selected&quot;&gt;0.2.0&lt;/option&gt;">&lt;option value=&quot;3&quot; selected=&quot;selected&quot;&gt;0.2.0&lt;/option&gt;</option></select> 
<a href="/issues/14" onclick="promptToRemote('New version', 'version[name]', '/projects/bigbangcode/versions/new'); return false;" tabindex="200" title="New version"><img alt="Add" src="/images/add.png?1264849245" style="vertical-align: middle;" /></a> 
</p> 

Actions #2

Updated by Jean-Philippe Lang about 14 years ago

Looks very similar to #4376. Make sure you're using the appropriate Rails version for 0.9.1, which is Rails 2.3.5.

Actions #3

Updated by Guillaume Camera about 14 years ago

Indeed my rails version is under the rails version required, but, I installed redmine from the sid debian packagin,
May be there is an error on rails version dependency ?

Actions #4

Updated by Eric Davis about 14 years ago

Guillaume Camera wrote:

Indeed my rails version is under the rails version required, but, I installed redmine from the sid debian packagin,
May be there is an error on rails version dependency ?

If I recall, the maintainer of the Debain package had to include a patched Redmine for Rails 2.2 because Debian doesn't have Rails 2.3.5 which Redmine requires. If ruby script/about doesn't say Rails 2.3.5, then I think this is a packaging bug for the Debian bug tracker.

Actions #5

Updated by Nick Semenkovich about 14 years ago

Actions #6

Updated by Jérémy Lal about 14 years ago

I've fixed it and will release a new package soon.
This issue should be rejected as it is not a bug in the official redmine release.

Please report bugs to the debian bug tracking system,
since most of the time it will be rails 2.2 backporting bugs.

Actions #7

Updated by Eric Davis about 14 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Thanks Jérémy Lal.

Actions #8

Updated by David Ang almost 14 years ago

  • Status changed from Closed to Reopened

Hi

This doesn't seem to be fixed on the latest version, I just deployed redmine now and i still see the html on the target version combo box.

Actions #9

Updated by Felix Schäfer almost 14 years ago

David Ang wrote:

This doesn't seem to be fixed on the latest version, I just deployed redmine now and i still see the html on the target version combo box.

What OS? Packaged redmine or from source? (if the answers are debian and packaged, please report to their bugtracker) What rails/ruby/rack versions?

Actions #10

Updated by David Ang almost 14 years ago

thanks for the quick response.

I deployed mine from the source(revision 3769). I am running on ruby 1.8.6, rails 2.3.8. I am not using rack.

Actions #11

Updated by Felix Schäfer almost 14 years ago

David Ang wrote:

thanks for the quick response.

I deployed mine from the source(revision 3769). I am running on ruby 1.8.6, rails 2.3.8. I am not using rack.

I'll be damned if you don't use rack... Anyway, rails 2.3.8 is not supported, try 2.3.5.

Actions #12

Updated by David Ang almost 14 years ago

oh wow thanks, that kinda do the trick.

On second thought, I guess rack is built into rails already, not sure what its use is, I suppose its working doing its deeds behind the scene.

Actions #13

Updated by Felix Schäfer almost 14 years ago

  • Status changed from Reopened to Closed
Actions

Also available in: Atom PDF