Your message dated Thu, 05 Dec 2013 11:50:38 +0100
with message-id <1386240638.18346.55823493.4e645...@webmail.messagingengine.com>
and subject line Re: Bug#655896: [DRE-maint] Bug#655896: Rails depends on the 
wrong version of librack-ruby, which leads to a loss of data in redmine.
has caused the Debian Bug report #655896,
regarding Rails depends on the wrong version of librack-ruby, which leads to a 
loss of data in redmine.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
655896: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655896
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libactivesupport-ruby1.8 
Source: rails
Version: 2.3.5-1.2+squeeze1
Tags: redmine librack-ruby libactivesupport-ruby
Severity: grave

In squeeze, when redmine package is installed, rails 2.3.5-11.2+squeeze1
and librack-ruby 1.1.0-4 are installed at the same time for its dependency.

But in the upstream document of the Redmine 1.0.1,
rack 1.0.1 is officially supported, not 1.1.0.

This version mismatch actually leads to the loss of data in redmine.

The minimum example is as follows:

1. Create a project under the Redmine instance.

2. Create a ticket in the project above.

3. Click "Update" link and add a note to the ticket
   above by typing:

X (
'A'
)

4. On the ticket page, click the edit button of
   the note #1 under the History.

5. Click the "Save" button

6. The note is changed to the one-line text below:

'A'


More information:

* During the above procdure, the user does not have a chance
  to notice losing the content of the note.

* Whether the loss of data in the note occurs depends 
 on the content of the text. Only the very limited
 patterns of text is lost.

* Preview function of the ticket editor and the wiki editor
  also change and trim the text like the above example.
  So, preview function is also broken.


Investigation:

I tried to figure out the cause, and found out that 
this phenomenon does not occurs with the Rack 1.0.1.


In my opinion, the cause is that the packages out of
the rails source package depends on the wrong version
of librack-ruby. 

The dependency declarations bellow seems wrong.

Source: rails
Build-Depends-Indep: librack-ruby (>> 1.1.0)

Package: libactivesupport-ruby1.8
Depends: librack-ruby (>> 1.1.0)

Package: libactivesupport-ruby1.9.1
Depends: librack-ruby (>> 1.1.0)


Thank you in advance.
---
Kubo Hiroshi <h-k...@geisya.or.jp>



--- End Message ---
--- Begin Message ---
Version: 1.4.1-1

oldstable (squeeze) is no longer supported, so we can close this bug.

O.

On Sun, Jan 15, 2012, at 20:48, Ondřej Surý wrote:
> reassign 655896 librack-ruby1.8
> thank you
> 
> So, reassigning to rack, I guess this simple small fix can go
> via stable updates.
> 
> O.
> 
> 2012/1/15 Jérémy Lal <je...@edagames.com>:
> > Hi,
> > https://github.com/chneukirchen/rack/commit/6fa19e3a268c
> >
> > is a simple patch that fixes the issue, and is probably
> > the cause of the 1.1.1 release...
> >
> > Jérémy.
> >
> >
> >
> 
> 
> 
> -- 
> Ondřej Surý <ond...@sury.org>


-- 
Ondřej Surý <ond...@sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server

--- End Message ---

Reply via email to