Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Activity View broken after enabling more filters. Am i missing something?

Activity View broken after enabling more filters. Am i missing something?

Added by Marc Braun about 11 years ago

After installing plugins ( meeting, documents, etc ) I realized that the Activity View is broken after ticking more filters.

Causes a 500.

I created a demo to see if it’s a problem with my installation but the same behavior is present with the demo instance on openproject-demo.org.
Just create an instance go to Activity and enable more filters.

Am I missing something here?

Also when I click on the user who is linked with that activity ( in the case of the demo instance ( OpenProjectAdmin ) I also get a 500
independent of selected filters.

I don’t think I could be missing something on that one.

Edit: It’s the documents module.

As soon as a document is uploaded accessing the activity view causes a 500 if document filter is enabled.

The log entry for that problem.

Activity::BaseActivityProvider::UndefinedEventTypeError (Abstract method event_type called): app/models/activity/base_activity_provider.rb:131:in `event_type' app/models/activity/base_activity_provider.rb:135:in `event_name' app/models/activity/base_activity_provider.rb:89:in `block in format_event' app/models/activity/base_activity_provider.rb:88:in `each' app/models/activity/base_activity_provider.rb:88:in `format_event' lib/plugins/acts_as_activity_provider/lib/acts_as_activity_provider.rb:229:in `block in fill_events' lib/plugins/acts_as_activity_provider/lib/acts_as_activity_provider.rb:212:in `each' lib/plugins/acts_as_activity_provider/lib/acts_as_activity_provider.rb:212:in `each_with_object' lib/plugins/acts_as_activity_provider/lib/acts_as_activity_provider.rb:212:in `fill_events' lib/plugins/acts_as_activity_provider/lib/acts_as_activity_provider.rb:141:in `find_events_for_class' lib/plugins/acts_as_activity_provider/lib/acts_as_activity_provider.rb:96:in `block in find_events' lib/plugins/acts_as_activity_provider/lib/acts_as_activity_provider.rb:95:in `each' lib/plugins/acts_as_activity_provider/lib/acts_as_activity_provider.rb:95:in `find_events' lib/redmine/activity/fetcher.rb:98:in `block (2 levels) in events' lib/redmine/activity/fetcher.rb:97:in `each' lib/redmine/activity/fetcher.rb:97:in `block in events' lib/redmine/activity/fetcher.rb:96:in `each' lib/redmine/activity/fetcher.rb:96:in `events' app/controllers/users_controller.rb:95:in `show'

Final edit: fixed it and saying it’s slightly awkward is a monumental understatement.

The document activity model lacks the obvious method event_type in dev and stable. I’m going with ‘document’ for now…


Loading...