Project

General

Profile

Actions

Issue #2293

open

Redmine: fix crash when retriving page with no author

Added by Denis 'GNUtoo' Carikli almost 3 years ago. Updated 8 months ago.

Status:
In Progress
Priority:
Normal
Category:
Redmine
Target version:
Start date:
01/22/2022
Due date:
% Done:

10%

Estimated time:
Upstream patch status:
Work not started
Grant:
Type of work:
Communication (mails, contacting people, etc)
Actions #1

Updated by Denis 'GNUtoo' Carikli almost 3 years ago

  • Subject changed from Redmine: fix crash when to Redmine: fix crash when retriving page with no author
  • Assignee set to _I3^ RELATIVISM

We want to migrate to MediaWiki for various reasons.

For that we've started working on a script to convert a Redimne wiki to git, so we could then push the commits to a MediaWiki instance (git supports mediawiki:// remotes).

The script uses python-redmine which under the hood retrieve information from the running Redmine instance.

However Redmine returns error 500 on the DeprecatedWikiStart at revision 1:
https://redmine.replicant.us/projects/replicant/wiki/DeprecatedWikiStart/1.json

While it works at revision 2:
https://redmine.replicant.us/projects/replicant/wiki/DeprecatedWikiStart/2.json

So we need to bugreport that in Redmine.

If we look at the history, the revision 1 doesn't have any author:
https://redmine.replicant.us/projects/replicant/wiki/DeprecatedWikiStart/history?page=10&per_page=25

If we look at the content of the page, redmine reports Anonymous as author:
https://redmine.replicant.us/projects/replicant/wiki/DeprecatedWikiStart/1

And the page content looks like content automatically generated by Trac (we first used Trac and then OSUOSL kindly migrated us to Redmine which was easier to maintain).

So we need to open a bug in Redmine as there doesn't seem to be a similar bug last time I looked in their bug tracker.

Now we have the latest Redmine version, so it might be a good time to open a bugreport there:

Environment:
  Redmine version                4.2.3.stable
  Ruby version                   2.7.5-p203 (2021-11-24) [x86_64-linux]
  Rails version                  5.2.6
  Environment                    production
  [...]

Actions #2

Updated by _I3^ RELATIVISM almost 3 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10

https://www.redmine.org/issues/36494

issue has been reported.

Actions #3

Updated by _I3^ RELATIVISM almost 3 years ago

  • Priority changed from Normal to Low
Actions #4

Updated by _I3^ RELATIVISM almost 3 years ago

Redmine developers asked for:
"
Could you paste the error log in production.log (it should be created under /path/to/redmine/log directory) in your Redmine server?
"

Actions #5

Updated by _I3^ RELATIVISM almost 3 years ago

I dont know what is going on with redmine devs, but our issue regarding this on their tracker(Defect #36494) was just closed for no reason, hopefully it is reopen. But anyway what a waste of time :s, hate when people act this way, power is a dangerous thing.

Actions #6

Updated by _I3^ RELATIVISM almost 3 years ago

UPDATE fortunately the issue was reopen in redmine after my reachout to one of the developers from said project

Actions #7

Updated by Denis 'GNUtoo' Carikli 8 months ago

  • Category set to Redmine
Actions #8

Updated by Denis 'GNUtoo' Carikli 8 months ago

  • Target version set to Infrastructure
Actions #9

Updated by Denis 'GNUtoo' Carikli 8 months ago

  • Priority changed from Low to Normal
Actions

Also available in: Atom PDF