Giter Site home page Giter Site logo

Error in redmine 2.3 about redmine_private_wiki HOT 10 CLOSED

f0y avatar f0y commented on August 17, 2024
Error in redmine 2.3

from redmine_private_wiki.

Comments (10)

f0y avatar f0y commented on August 17, 2024

You have to run migration for plugin. As noted in README

from redmine_private_wiki.

majkinetor avatar majkinetor commented on August 17, 2024

I did, somehow it didn't do anything, its behaving like its already having that migration installed..
I had it previously installed, then uninstalled, a year ago.

The new problem is that after hiding/restoring page I am redirected to blank screen where project name is added after the wiki like this.

http://redmine .... /my_project/wiki.my_project

It looks like something is bad with installation and I can reveret migration or add it the usual way.

How could I force removal and reinstall again?

from redmine_private_wiki.

 avatar commented on August 17, 2024

majkinetor,
bundle exec rake redmine:plugins NAME=redmine_private_wiki VERSION=0 RAILS_ENV=production

But it will not help. :) I also have this issue with redmine 2.3 when redirecting to wiki.Page instead of wiki/Page

from redmine_private_wiki.

 avatar commented on August 17, 2024

So as I see
redirect_to project_wiki_path(@project, @page.title)

need to be changed to

redirect_to project_wiki_page_path(@project, @page.title)

at redmine_private_wiki/lib/private_wiki/wiki_controller_patch.rb

from redmine_private_wiki.

f0y avatar f0y commented on August 17, 2024

Can you create a pull request with some tests covering this bug?

On Thu, Apr 18, 2013 at 2:07 PM, Slava Komarov [email protected]:

So as I see
redirect_to project_wiki_path(@project https://github.com/project,
@page.title)

need to be changed to

redirect_to project_wiki_page_path(@project https://github.com/project,
@page.title)

at redmine_private_wiki/lib/private_wiki/wiki_controller_patch.rb


Reply to this email directly or view it on GitHubhttps://github.com//issues/20#issuecomment-16568100
.

Best Wishes,
Oleg Kandaurov

from redmine_private_wiki.

 avatar commented on August 17, 2024

Oleg, I would be glad to do it, but I'm a not ruby developer, just a system administrator. So I have a lack of knowledge in it.

from redmine_private_wiki.

f0y avatar f0y commented on August 17, 2024

Ок, fine. Is this a proven solution? In other words, does your solution
work?

On Thu, Apr 18, 2013 at 2:22 PM, Slava Komarov [email protected]:

Oleg, I would be glad to do it, but I'm a not ruby developer, just a
system administrator. So I have a lack of knowledge in it.


Reply to this email directly or view it on GitHubhttps://github.com//issues/20#issuecomment-16568672
.

Best Wishes,
Oleg Kandaurov

from redmine_private_wiki.

 avatar commented on August 17, 2024

Yes, it works fine with renaming to project_wiki_page_path.
I simple grep'ed redmine directory and did not find anything like project_wiki_path, but only project_wiki_page_path, so I thought that it should work for redmine_private_wiki. :)
Thanks for your plugin. It's useful. Spasibo :)

from redmine_private_wiki.

f0y avatar f0y commented on August 17, 2024

nezachto =)

On Thu, Apr 18, 2013 at 2:28 PM, Slava Komarov [email protected]:

Yes, it works fine with renaming to project_wiki_page_path.
I simple grep'ed redmine directory and did not find anything like *
project_wiki_path_, but only *project_wiki_page_path_, so I thought that
it should work for redmine_private_wiki. :)
Thanks for your plugin. It's useful. Spasibo :)


Reply to this email directly or view it on GitHubhttps://github.com//issues/20#issuecomment-16568917
.

Best Wishes,
Oleg Kandaurov

from redmine_private_wiki.

cforce avatar cforce commented on August 17, 2024

You are welcome!

from redmine_private_wiki.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.