Project

General

Profile

Actions

Feature #6887

closed

Upgrade to Rails 2.3.11

Feature #6887: Upgrade to Rails 2.3.11

Added by Jean-Philippe Lang about 16 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Normal
Category:
Rails support
Target version:
Resolution:
Fixed

Related issues 7 (0 open — 7 closed)

Related to Redmine - Defect #6193: 500 error in Issues listClosedActions
Related to Redmine - Defect #6218: Search feature is brokenClosedActions
Related to Redmine - Defect #6673: Error with links of users and projectsClosedActions
Related to Redmine - Defect #6495: Convert translations to the new format for i18n 4.xClosedActions
Related to Redmine - Defect #7688: Redmine's trunk (rails 2.3.11) doesn't work with Mongrel 1.1.xClosedActions
Related to Redmine - Defect #7843: Add a relation between issues = explicit login window ! (basic authentication popup is prompted on AJAX request)ClosedActions
Blocks Redmine - Defect #7516: Redmine does not work with RubyGems 1.5.0ClosedActions

Updated by Jean-Philippe Lang about 16 years ago Actions #1

  • Assignee set to Jean-Philippe Lang

Updated by Jean-Philippe Lang about 16 years ago Actions #2

  • Tracker changed from Defect to Feature

Updated by Jean-Philippe Lang about 16 years ago Actions #3

After a few tests, moving to Rails 2.3.10 is pretty straightforward.

It breaks one test (MailHandlerTest#test_add_issue_with_japanese_keywords), because of the updated TMail (1.2.3 -> 1.2.7) vendor'd in action_mailer. The fixture email doesn't get unquoted at all. I was able to fix it by disabling TMail::Unquoter.convert_to_with_fallback_on_iso_8859_1 that is added in 1.2.7.

It seems that deprecations introduced since Rails 2.3.5 can be easily fixed as well.

Locales will be changed to use %{key} instead of {{key}}. All pending translation patches need to be committed before.

Updated by Jean-Baptiste Barth about 16 years ago Actions #4

Some of us closed issues related to Rails 2.3.8 (especially ActiveRecord 2.3.8 if I remember correctly). Maybe it would be a good idea to have a look at them when the upgrade is done (#6193, #6218, #6673 at least).

For the i18n upgrade, there's already an open ticket (#6495), pointing to my tiny note in #5608.

If I can help on specific points, let me know.

Updated by Jean-Philippe Lang about 16 years ago Actions #5

Jean-Baptiste Barth wrote:

If I can help on specific points, let me know.

It would be great if you could make sure that these errors do not occur with 2.3.10.

Updated by Jean-Philippe Lang almost 16 years ago Actions #6

  • Target version changed from 1.1.0 to 1.2.0

It was decided to keep 1.1 using Rails 2.3.5.

Updated by Etienne Massip almost 16 years ago Actions #7

2.3.11 is out

Updated by Jean-Philippe Lang almost 16 years ago Actions #8

  • Subject changed from Upgrade to Rails 2.3.10 to Upgrade to Rails 2.3.11
  • Status changed from New to Closed
  • Resolution set to Fixed

Upgraded to Rails 2.3.11 in r4904.

We still force i18n 0.4.2 to load before Rails to avoid further compatibility problems with future i18n releases and/or Redmine plugins that use the old syntax.

Updated by Etienne Massip almost 16 years ago Actions #9

Note that Mongrel 1.1.5 does not work anymore with Rails 2.3.8 or later because of 2 bugs respectively in rack 1.1.x and Mongrel 1.1.5.

See ticket 4690 in Rails tracker and ticket 5 in Mongrel's.

Until Mongrel 1.2.0 is out, it is required to add a mongrel.rb initializer to config/initializers.

Updated by Jean-Baptiste Barth almost 16 years ago Actions #10

Weird. I opened a new defect for this, see #7688

edit: s/7668/7688/ sorry..

Updated by Etienne Massip over 15 years ago Actions #11

  • Category set to Rails support
Actions

Also available in: PDF Atom