Project

General

Profile

Actions

Defect #6724

closed

Wiki uploads does not work anymore (SVN 4266)

Defect #6724: Wiki uploads does not work anymore (SVN 4266)

Added by Adrian S. about 16 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Wiki
Target version:
Resolution:
Fixed
Affected version:

Description

Hi,

I updated last night Redmine to SVN revision 4266. I noticed that I can't upload attachments in wiki pages anymore.

It seems it's a routing problem. Hopefully I have two trackers working on the same server and I found those differences in the html pages:

SVN REVISION 4214

<form action="/wiki/PROJECT-NAME/WIKIPAGE-NAME/add_attachment"> ...

SVN REVISION 4266

<form action="/wiki/add_attachment"> ...

I have fully migrated my DB and the other tracker (SVN4214) works like a charm on Apache2/Passenger 3.0.0. Gem updates are also done.

Here is the script/about output:

About your application's environment
Ruby version              1.8.7 (x86_64-linux)
RubyGems version          1.3.7
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/www/XXXXXX/tracker
Environment               production
Database adapter          postgresql
Database schema version   20100819172912

About your Redmine plugins
Redmine Blazing Textiles plugin   0.0.2

Is there a quick way to fix this?


Files

wiki_attachment_fix_svn4266.patch (1.98 KB) wiki_attachment_fix_svn4266.patch Wiki Attachement Fix for REVISION 4266 Adrian S., 2010-10-22 12:16

Updated by Adrian S. about 16 years ago Actions #1

I noticed that revision 4265 changed some routes for the wiki. So corrected some in routes.rb and it works now.
(But I'm not totally sure of what I did). Especially that the first 3 changes didn't work. It was the last one that made the difference.

Please check it out :)

Regards,

Adrian S.

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

  • Assignee set to Eric Davis

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

  • Status changed from New to Resolved
  • Resolution set to Fixed

Should be fixed by r4274.
Eric, can you confirm the fix is OK?

Updated by Adrian S. about 16 years ago Actions #4

I've updated to the latest SVN version. Wiki uploads work now.

But I've found new problems dealing with wiki in general:

  • In the activity view, links do not work
  • In the history page, the differences does not work either

Should I submit a new issue with these points?

Regards,

Adrian S.

Updated by Felix Schäfer about 16 years ago Actions #5

Adrian S. wrote:

Should I submit a new issue with these points?

Please do.

Updated by Eric Davis about 16 years ago Actions #6

  • Assignee deleted (Eric Davis)

I am stepping down from working on Redmine. If someone else is interesting in working on this issue, feel free to reassign it to them.

Eric Davis

Updated by Mischa The Evil almost 16 years ago Actions #7

  • Category set to Wiki
  • Status changed from Resolved to Closed
  • Target version set to 1.1.0

Initial issue seems indeed generally confirmed to be fixed by r4274. Closing this issue accordingly against Redmine 1.1.0.

@Adrian S.: the issues you mentioned in #note-4 seems to be all fixed also by now. Please do open new issue(s) if necessary.

Actions

Also available in: PDF Atom