Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wiki pages with tags cannot be deleted #10

Closed
tobenschmidt opened this issue Nov 2, 2018 · 1 comment
Closed

Wiki pages with tags cannot be deleted #10

tobenschmidt opened this issue Nov 2, 2018 · 1 comment

Comments

@tobenschmidt
Copy link

Wiki pages with one or more tags cannot be deleted. The production log shows the following error message:

Started DELETE "/redmine/projects/project-foo/wiki/My_Obsolete_Wiki_Page" for xx.xx.xx.xx at 2018-11-02 10:53:19 +0100
Processing by WikiController#destroy as HTML
  Parameters: {"authenticity_token"=>"foobar", "project_id"=>"project-foo", "id"=>"My_Obsolete_Wiki_Page"}
  Current user: baz (id=x)
Completed 500 Internal Server Error in 48ms (ActiveRecord: 19.8ms)

ActiveRecord::RecordNotDestroyed (Failed to destroy the record):
  app/controllers/wiki_controller.rb:281:in `destroy'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Workaround:

  1. Remove all tags from wiki page
  2. Save wiki page
  3. Delete wiki page

redmine_wiki_extensions: 0.8.1
redmine: 3.4.6
Ruby: 2.3.3
Rails: 4.2.8

haru added a commit that referenced this issue Nov 7, 2018
@haru
Copy link
Owner

haru commented Nov 7, 2018

Thanks. I've fixed this problem.

@haru haru closed this as completed Nov 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants