I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Bug #2260

Conflicting with redmine_ckeditor plugin using preview

Added by Vyacheslav K about 6 years ago. Updated over 5 years ago.

Status:
Incomplete
Priority:
Normal
Assignee:
Target version:
-
Start date:
30 Oct 2013
Due date:
% Done:

0%

Redmine version:
External issue:

Description

It seems that it’s not compatible with redmine_ckeditor plugin.
When using “preview” it returns nothing, but only 403 forbidden error.

History

#1 Updated by Andriy Lesyuk over 5 years ago

  • Status changed from New to Open
  • Assignee set to Andriy Lesyuk

Vyacheslav, could you please provide logs?

#2 Updated by Vyacheslav K over 5 years ago

Hello Anriy.

It seems that preview is not allowed. It’s not related to redmine_ckeditor.

I changed

before_filter :check_settings, :except => :settings
to
before_filter :check_settings, :except => [ :preview, :settings ]

at app/controllers/contact_form_controller.rb

and everything is ok.

#3 Updated by Andriy Lesyuk over 5 years ago

  • Status changed from Open to Under Verification
  • Target version set to 0.1.1

#4 Updated by Andriy Lesyuk over 5 years ago

  • Status changed from Under Verification to Incomplete
  • Target version deleted (0.1.1)

Hm... The problem is that you should not be able to access the contact form, if the preview gives 403...

Are you able to submit the form without preview? What is this form – for a user or the global one?

#5 Updated by Vyacheslav K over 5 years ago

User is allowed to submit form (it works), but not allowed to preview.
I tried to send by administrator to user and by user to administrator - the same result.
Yes, a bit weird.

Also available in: Atom PDF

Terms of use | Privacy policy