Project

General

Profile

problem with uploading pictures into existing issues

Added by Andrew Rudenko about 14 years ago

I've a problem after upgrading to 0.9.2 version.

I could not upload pictures into already existing issues. It is OK if add picture while creating a new issue.

Uploaded file size is 0 bytes in ./files/ directory.
Picture is added twice
also there is RackMultipart file left in the /tmp directory of my system, not in the redmine's tmp dir.

redmine@redmine.org ~ $ ls -l /tmp
-rw------- 1 redmine redmine 1424 Feb 15 13:19 RackMultipart.15052.0</tmp>

Does anyone have the same problem?

Any help will be appreciated!

I'm on @Redmine 0.9.2.devel.3412 (PostgreSQL)@
<pre>About your application's environment
Ruby version              1.8.6 (i486-linux)
RubyGems version          1.3.5
Rack version              1.0
Rails version             2.3.5
Active Record version     2.3.5
Active Resource version   2.3.5
Action Mailer version     2.3.5
Active Support version    2.3.5
Application root          /var/redmine
Environment               production
Database adapter          postgresql
Database schema version   20091227112908

About your Redmine plugins
Redmine Code Review plugin       0.2.9.3
Redmine Wiki Extensions plugin   0.2.0</pre>


Replies (3)

RE: problem with uploading pictures into existing issues - Added by Felix Schäfer about 14 years ago

The upload is handled through rails by rack, so it's expected behavior that it goes through /tmp. What is not expected is that uploading a file with the same name should replace the former one. Could you please file a bug? Thanks.

RE: problem with uploading pictures into existing issues - Added by Andrew Rudenko about 14 years ago

Felix Schäfer wrote:

The upload is handled through rails by rack, so it's expected behavior that it goes through /tmp. What is not expected is that uploading a file with the same name should replace the former one. Could you please file a bug? Thanks.

Thank you for reply. I've reported a new issue #4849

RE: problem with uploading pictures into existing issues - Added by Andrew Rudenko about 14 years ago

It was my mistake while merging code so I got this error :)

I asked to close the opened issue as INVALID.

I'm sorry.

    (1-3/3)