Comments under issues invisible for non-admin users

Added by Cezary Krzyzanowski over 9 years ago

Dear forum members.

I'm having a bizarre issue with a redmine installation, that has been working flawlessly for a few months now.

Mainly the non-admin users can't see comments under issues (even those which they've typed a second ago). Only the administrative users' comments are seen by all other users.

This happens for some issues, not all of them. I've looked in the logs (both system and administration) and have found nothing. I've set up a new test user and I don't see comments with the test user as well. There have been no plugins installed since november of last year.

Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.6.2
Rack version 1.1.1
Rails version 2.3.11
Active Record version 2.3.11
Active Resource version 2.3.11
Action Mailer version 2.3.11
Active Support version 2.3.11
Application root /var/redmine
Environment production
Database adapter mysql
Database schema version 20110818135620

About your Redmine plugins
Issue Importer 0.3.1
Redmine Charts 0.1.0
Redmine Backlogs v0.6.18
Redmine Schedules plugin 0.4.2
Redmine Harvest plugin 0.1.0
Advanced roadmap & milestones plugin 0.5.1
Knowledgebase 0.3.2-devel
Advanced report plugin 0.2.0

Replies (3)

RE: Comments under issues invisible for non-admin users - Added by El Mojito over 9 years ago

i had the same issue and found out that is caused by "Advanced roadmap" plugin. if you remove it, it starts work well again.
i'm not sure if there is some version of "Advanced roadmap" plugin which has this issue fixed. but if you find some, don't hesitate to post it here ;)

RE: Comments under issues invisible for non-admin users - Added by El Mojito over 9 years ago

it starts to work fine if you apply this patch to "advanced roadmap" plugin:


Index: vendor/plugins/advanced_roadmap/init.rb
===================================================================
--- vendor/plugins/advanced_roadmap/init.rb     (revision 1401)
+++ vendor/plugins/advanced_roadmap/init.rb     (working copy)
@@ -18,7 +18,7 @@
   ApplicationHelper.send(:include, AdvancedRoadmap::ApplicationHelperPatch)
   CalendarsController.send(:include, AdvancedRoadmap::CalendarsControllerPatch)
   Issue.send(:include, AdvancedRoadmap::IssuePatch)
-  IssuesController.send(:include, AdvancedRoadmap::IssuesControllerPatch)
+#  IssuesController.send(:include, AdvancedRoadmap::IssuesControllerPatch)
   Project.send(:include, AdvancedRoadmap::ProjectPatch)
   ProjectsHelper.send(:include, AdvancedRoadmap::ProjectsHelperPatch)
   Query.send(:include, AdvancedRoadmap::QueryPatch)

i simply removed (commented out) the issue controller patch from the plugin init script. looking more closely at the issue controller patch itself, there is nothing essential you can't live without. just mu five cents.

RE: Comments under issues invisible for non-admin users - Added by Satya Sarathy almost 8 years ago

Thank you very much @El Mojito. This worked for me.

(1-3/3)