Top Menu

Jump to content
Home
    • Projects
    • Work packages
    • 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
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Professional 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?
      Create a new account

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
  • Roadmap
  • Work packages
  • Calendars
  • Team planners
  • Boards
  • Forums
  • Wiki
    • Table of contents
      • Expanded. Click to collapseCollapsed. Click to showDeveloper
        • Hierarchy leafAccessibility Checklist
        • Hierarchy leafCode Review Guidelines
        • Expanded. Click to collapseCollapsed. Click to showContribution
          • Hierarchy leafGit Workflow
          • Hierarchy leafTranslations
        • Expanded. Click to collapseCollapsed. Click to showDeveloping Plugins
          • Hierarchy leafDeveloping an OmniAuth Authentication Plugin
        • Hierarchy leafRelease Process
        • Hierarchy leafReport a bug
        • Hierarchy leafSecurity
        • Hierarchy leafSetting up an OpenLDAP server for testing
        • Hierarchy leafTheme Features
      • Hierarchy leafDownload
      • Expanded. Click to collapseCollapsed. Click to showFeature tour
        • Hierarchy leafRelease Notes OpenProject 30
        • Expanded. Click to collapseCollapsed. Click to showRelease Notes OpenProject 30 - Overview
          • Hierarchy leafGlossary
          • Hierarchy leafRelease Notes - Accessibility
          • Hierarchy leafRelease Notes - Accessibility changes
          • Hierarchy leafRelease Notes - Add work package queries as menu items to sidebar
          • Hierarchy leafRelease Notes - Copy projects based on Templates
          • Hierarchy leafRelease Notes - Design changes
          • Hierarchy leafRelease Notes - Fixed Bugs
          • Hierarchy leafRelease Notes - Keyboard Shortcuts
          • Hierarchy leafRelease Notes - Project settings
          • Hierarchy leafRelease Notes - Ruby&Rails Update
          • Hierarchy leafRelease Notes - Security
          • Hierarchy leafRelease Notes - Timelines
          • Hierarchy leafRelease Notes - Work packages
      • Hierarchy leafHowto create animated gifs
      • Hierarchy leafMigration Squashing
      • Hierarchy leafMod security
      • Hierarchy leafNew work package page
      • Hierarchy leafOP3 to OP4 Debian upgrade
      • Hierarchy leafOP4 Ubuntu1404 Stable with MySQL in production
      • Hierarchy leafOpenProject 40 Development Setup
      • Expanded. Click to collapseCollapsed. Click to showOpenProject Foundation
        • Hierarchy leafBoards
        • Hierarchy leafMembers
        • Hierarchy leafOPF-Meetings
        • Hierarchy leafStatutes
      • Expanded. Click to collapseCollapsed. Click to showRelease Notes
        • Hierarchy leafOpenProject released on Bitnami
      • Expanded. Click to collapseCollapsed. Click to showRelease Notes OpenProject 40 - Overview
        • Hierarchy leafRelease Notes OpenProject 40 - Accessibility improvements
        • Hierarchy leafRelease Notes OpenProject 40 - Column header functions in work package table
        • Hierarchy leafRelease Notes OpenProject 40 - Improved Design
        • Hierarchy leafRelease Notes OpenProject 40 - Integrated query title on work package page
        • Hierarchy leafRelease Notes OpenProject 40 - Integrated toolbar on work package page
        • Hierarchy leafRelease Notes OpenProject 40 - OmniAuth integration for OpenProject
        • Hierarchy leafRelease Notes OpenProject 40 - Work package details pane
      • Expanded. Click to collapseCollapsed. Click to showSecurity and privacy
        • Hierarchy leafFAQ
      • Expanded. Click to collapseCollapsed. Click to showSupport
        • Expanded. Click to collapseCollapsed. Click to showDownload and Installation
          • Hierarchy leafInstallation MacOS
          • Expanded. Click to collapseCollapsed. Click to showInstallation OpenProject 3 0
            • Hierarchy leafDebian Stable with MySQL in production
            • Hierarchy leafInstallation Ubuntu
            • Hierarchy leafInstallation Windows
            • Hierarchy leafInstallation on Centos 65 x64 with Apache and PostgreSQL 93
          • Expanded. Click to collapseCollapsed. Click to showInstallation OpenProject 40
            • Hierarchy leafOP4 Debian Stable with MySQL in production
          • Expanded. Click to collapseCollapsed. Click to showMigration paths
            • Hierarchy leafFrom Chilliproject to OpenProject
            • Hierarchy leafMigration 15 to 30
            • Hierarchy leafMigration 24 to 30
            • Hierarchy leafMigration Redmine 2x › OpenProject 30
            • Hierarchy leafOpenProject 3 Migration
          • Hierarchy leafOpenProject 40
        • Expanded. Click to collapseCollapsed. Click to showNews
          • Hierarchy leafNew OpenProject Translations Plugin
          • Hierarchy leafNew Plugin on OpenProjectorg Local Avatars
          • Hierarchy leafNew design for OpenProject
          • Hierarchy leafNews Accessibility workshop for OpenProject
          • Hierarchy leafNews Glossary for OpenProject
          • Hierarchy leafNews Heartbleed fixed
          • Hierarchy leafNews Icon Fonts
          • Hierarchy leafNews OpenProject 30 Release
          • Hierarchy leafNews Release GitHub Integration Plugin
          • Hierarchy leafNews Success Story Deutsche Telekom
          • Hierarchy leafNews Timelines
          • Hierarchy leafOpenProject 3013 released
          • Hierarchy leafOpenProject 3017 released
          • Hierarchy leafOpenProject 40 released
          • Hierarchy leafOpenProject 40 will be coming soon
          • Hierarchy leafOpenProject 405 released
          • Hierarchy leafOpenProject and pkgrio
          • Hierarchy leafOpenProject news moved to a new blog
          • Hierarchy leafOpenProjectBitnami
          • Hierarchy leafPackager version with plugins released ("Community edition")
          • Hierarchy leafRegistration OpenProject-Foundation
          • Hierarchy leafRelease OpenProject AuthPlugins
          • Hierarchy leafUpdates on OpenProject
          • Hierarchy leafWe need your feedback for the the new fullscreen view for work packages
        • Hierarchy leafOpenProject Plug-Ins
      • Expanded. Click to collapseCollapsed. Click to showWiki
        • Hierarchy leaf2nd Level Support
You are here:
  • Forums
  • Development

Content

Wiki Save Bug - Openproject 3.0.4

Added by ciuino magno over 8 years ago

Hi i have noticed a bug while i was for the frist time saving something in the wiki;

I have Ubuntu 14.04 amd x64 with openproject 3.0.4 (stable branch)

This is the Report:

NoMethodError in WikiController#update

undefined method `journaled_attributes’ for nil:NilClass

Rails.root: /home/openproject/openproject

Trace

app/models/journal_manager.rb:51:in `attributes_changed?’
app/models/journal_manager.rb:38:in `changed?’
lib/plugins/acts_as_journalized/lib/redmine/acts/journalized/save_hooks.rb:67:in `save_journals’
app/controllers/wiki_controller.rb:199:in `update’

Full Trace

app/models/journal_manager.rb:51:in `attributes_changed?’
app/models/journal_manager.rb:38:in `changed?’
lib/plugins/acts_as_journalized/lib/redmine/acts/journalized/save_hooks.rb:67:in `save_journals’
activesupport (3.2.18) lib/active_support/callbacks.rb:453:in `_run_3599216878398418119save817731885920195695_callbacks’
activesupport (3.2.18) lib/active_support/callbacks.rb:405:in `__run_callback’
activesupport (3.2.18) lib/active_support/callbacks.rb:385:in `_run_save_callbacks’
activesupport (3.2.18) lib/active_support/callbacks.rb:81:in `run_callbacks’
activerecord (3.2.18) lib/active_record/callbacks.rb:264:in `create_or_update’
activerecord (3.2.18) lib/active_record/persistence.rb:84:in `save’
activerecord (3.2.18) lib/active_record/validations.rb:50:in `save’
activerecord (3.2.18) lib/active_record/attribute_methods/dirty.rb:22:in `save’
activerecord (3.2.18) lib/active_record/transactions.rb:259:in `block (2 levels) in save’
activerecord (3.2.18) lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status’
activerecord (3.2.18) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction’
activerecord (3.2.18) lib/active_record/transactions.rb:208:in `transaction’
activerecord (3.2.18) lib/active_record/transactions.rb:311:in `with_transaction_returning_status’
activerecord (3.2.18) lib/active_record/transactions.rb:259:in `block in save’
activerecord (3.2.18) lib/active_record/transactions.rb:270:in `rollback_active_record_state!’
activerecord (3.2.18) lib/active_record/transactions.rb:258:in `save’
activerecord (3.2.18) lib/active_record/autosave_association.rb:392:in `save_has_one_association’
activerecord (3.2.18) lib/active_record/autosave_association.rb:197:in `block in add_autosave_association_callbacks’
activesupport (3.2.18) lib/active_support/callbacks.rb:405:in `_run_8752797849610596create817731885920195695_callbacks’
activesupport (3.2.18) lib/active_support/callbacks.rb:405:in `__run_callback’
activesupport (3.2.18) lib/active_support/callbacks.rb:385:in `_run_create_callbacks’
activesupport (3.2.18) lib/active_support/callbacks.rb:81:in `run_callbacks’
activerecord (3.2.18) lib/active_record/callbacks.rb:268:in `create’
activerecord (3.2.18) lib/active_record/persistence.rb:348:in `create_or_update’
activerecord (3.2.18) lib/active_record/callbacks.rb:264:in `block in create_or_update’
activesupport (3.2.18) lib/active_support/callbacks.rb:447:in `_run_8752797849610596save817731885920195695_callbacks’
activesupport (3.2.18) lib/active_support/callbacks.rb:405:in `__run_callback’
activesupport (3.2.18) lib/active_support/callbacks.rb:385:in `_run_save_callbacks’
activesupport (3.2.18) lib/active_support/callbacks.rb:81:in `run_callbacks’
activerecord (3.2.18) lib/active_record/callbacks.rb:264:in `create_or_update’
activerecord (3.2.18) lib/active_record/persistence.rb:84:in `save’
activerecord (3.2.18) lib/active_record/validations.rb:50:in `save’
activerecord (3.2.18) lib/active_record/attribute_methods/dirty.rb:22:in `save’
activerecord (3.2.18) lib/active_record/transactions.rb:259:in `block (2 levels) in save’
activerecord (3.2.18) lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status’
activerecord (3.2.18) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction’
activerecord (3.2.18) lib/active_record/transactions.rb:208:in `transaction’
activerecord (3.2.18) lib/active_record/transactions.rb:311:in `with_transaction_returning_status’
activerecord (3.2.18) lib/active_record/transactions.rb:259:in `block in save’
activerecord (3.2.18) lib/active_record/transactions.rb:270:in `rollback_active_record_state!’
activerecord (3.2.18) lib/active_record/transactions.rb:258:in `save’
app/controllers/wiki_controller.rb:199:in `update’
actionpack (3.2.18) lib/action_controller/metal/implicit_render.rb:4:in `send_action’
actionpack (3.2.18) lib/abstract_controller/base.rb:167:in `process_action’
actionpack (3.2.18) lib/action_controller/metal/rendering.rb:10:in `process_action’
actionpack (3.2.18) lib/abstract_controller/callbacks.rb:18:in `block in process_action’
activesupport (3.2.18) lib/active_support/callbacks.rb:546:in `_run_2212863437404851985process_action3886130057933493804_callbacks’
activesupport (3.2.18) lib/active_support/callbacks.rb:405:in `__run_callback’
activesupport (3.2.18) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks’
activesupport (3.2.18) lib/active_support/callbacks.rb:81:in `run_callbacks’
actionpack (3.2.18) lib/abstract_controller/callbacks.rb:17:in `process_action’
actionpack (3.2.18) lib/action_controller/metal/rescue.rb:29:in `process_action’
actionpack (3.2.18) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action’
activesupport (3.2.18) lib/active_support/notifications.rb:123:in `block in instrument’
activesupport (3.2.18) lib/active_support/notifications/instrumenter.rb:20:in `instrument’
activesupport (3.2.18) lib/active_support/notifications.rb:123:in `instrument’
actionpack (3.2.18) lib/action_controller/metal/instrumentation.rb:29:in `process_action’
actionpack (3.2.18) lib/action_controller/metal/params_wrapper.rb:207:in `process_action’
activerecord (3.2.18) lib/active_record/railties/controller_runtime.rb:18:in `process_action’
actionpack (3.2.18) lib/abstract_controller/base.rb:121:in `process’
actionpack (3.2.18) lib/abstract_controller/rendering.rb:45:in `process’
actionpack (3.2.18) lib/action_controller/metal.rb:203:in `dispatch’
actionpack (3.2.18) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch’
actionpack (3.2.18) lib/action_controller/metal.rb:246:in `block in action’
actionpack (3.2.18) lib/action_dispatch/routing/route_set.rb:73:in `call’
actionpack (3.2.18) lib/action_dispatch/routing/route_set.rb:73:in `dispatch’
actionpack (3.2.18) lib/action_dispatch/routing/route_set.rb:36:in `call’
journey (1.0.4) lib/journey/router.rb:68:in `block in call’
journey (1.0.4) lib/journey/router.rb:56:in `each’
journey (1.0.4) lib/journey/router.rb:56:in `call’
actionpack (3.2.18) lib/action_dispatch/routing/route_set.rb:608:in `call’
request_store (1.0.5) lib/request_store/middleware.rb:9:in `call’
/home/openproject/.rvm/gems/ruby-2.1.2/bundler/gems/i18n-js-8801f8d17ef9/lib/i18n/js/middleware.rb:11:in `call’
actionpack (3.2.18) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call’
rack (1.4.5) lib/rack/etag.rb:23:in `call’
rack (1.4.5) lib/rack/conditionalget.rb:35:in `call’
actionpack (3.2.18) lib/action_dispatch/middleware/head.rb:14:in `call’
actionpack (3.2.18) lib/action_dispatch/middleware/params_parser.rb:21:in `call’
actionpack (3.2.18) lib/action_dispatch/middleware/flash.rb:242:in `call’
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context’
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call’
actionpack (3.2.18) lib/action_dispatch/middleware/cookies.rb:341:in `call’
activerecord (3.2.18) lib/active_record/query_cache.rb:64:in `call’
activerecord (3.2.18) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call’
actionpack (3.2.18) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call’
activesupport (3.2.18) lib/active_support/callbacks.rb:405:in `_run_2018834566239312937call817731885920195695_callbacks’
activesupport (3.2.18) lib/active_support/callbacks.rb:405:in `__run_callback’
activesupport (3.2.18) lib/active_support/callbacks.rb:385:in `_run_call_callbacks’
activesupport (3.2.18) lib/active_support/callbacks.rb:81:in `run_callbacks’
actionpack (3.2.18) lib/action_dispatch/middleware/callbacks.rb:27:in `call’
rails-dev-tweaks (0.6.1) lib/rails_dev_tweaks/granular_autoload/middleware.rb:34:in `call’
actionpack (3.2.18) lib/action_dispatch/middleware/remote_ip.rb:31:in `call’
actionpack (3.2.18) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call’
actionpack (3.2.18) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call’
railties (3.2.18) lib/rails/rack/logger.rb:32:in `call_app’
railties (3.2.18) lib/rails/rack/logger.rb:16:in `block in call’
activesupport (3.2.18) lib/active_support/tagged_logging.rb:22:in `tagged’
railties (3.2.18) lib/rails/rack/logger.rb:16:in `call’
actionpack (3.2.18) lib/action_dispatch/middleware/request_id.rb:22:in `call’
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call’
rack (1.4.5) lib/rack/runtime.rb:17:in `call’
activesupport (3.2.18) lib/active_support/cache/strategy/local_cache.rb:72:in `call’
rack (1.4.5) lib/rack/lock.rb:15:in `call’
actionpack (3.2.18) lib/action_dispatch/middleware/static.rb:63:in `call’
railties (3.2.18) lib/rails/engine.rb:484:in `call’
railties (3.2.18) lib/rails/application.rb:231:in `call’
railties (3.2.18) lib/rails/railtie/configurable.rb:30:in `method_missing’
/home/openproject/.rvm/gems/ruby-2.1.2/bundler/gems/rack-protection-5a7d1bd2f05c/lib/rack/protection/frame_options.rb:31:in `call’
/home/openproject/.rvm/gems/ruby-2.1.2/bundler/gems/rack-protection-5a7d1bd2f05c/lib/rack/protection/json_csrf.rb:18:in `call’
rack (1.4.5) lib/rack/builder.rb:134:in `call’
rack (1.4.5) lib/rack/urlmap.rb:64:in `block in call’
rack (1.4.5) lib/rack/urlmap.rb:49:in `each’
rack (1.4.5) lib/rack/urlmap.rb:49:in `call’
rack (1.4.5) lib/rack/content_length.rb:14:in `call’
railties (3.2.18) lib/rails/rack/log_tailer.rb:17:in `call’
thin (1.5.1) lib/thin/connection.rb:81:in `block in pre_process’
thin (1.5.1) lib/thin/connection.rb:79:in `catch’
thin (1.5.1) lib/thin/connection.rb:79:in `pre_process’
thin (1.5.1) lib/thin/connection.rb:54:in `process’
thin (1.5.1) lib/thin/connection.rb:39:in `receive_data’
eventmachine (1.0.3) lib/eventmachine.rb:187:in `run_machine’
eventmachine (1.0.3) lib/eventmachine.rb:187:in `run’
thin (1.5.1) lib/thin/backends/base.rb:63:in `start’
thin (1.5.1) lib/thin/server.rb:159:in `start’
rack (1.4.5) lib/rack/handler/thin.rb:13:in `run’
rack (1.4.5) lib/rack/server.rb:268:in `start’
railties (3.2.18) lib/rails/commands/server.rb:70:in `start’
railties (3.2.18) lib/rails/commands.rb:55:in `block in <top (required)>’
railties (3.2.18) lib/rails/commands.rb:50:in `tap’
railties (3.2.18) lib/rails/commands.rb:50:in `<top (required)>’
script/rails:6:in `require’
script/rails:6:in `

’

Request

Parameters:

{“utf8”=>“✓”,
“_method”=>“put”,
“authenticity_token”=>“TJZL52ZSgSZLBAJHnCWeceFLmOuH8DP45p0y9IDgLm4=”,
“content”=>{“lock_version”=>“0”,
“text”=>“h1. Wiki”,
“comments”=>“”},
“attachments”=>{“1”=>{“description”=>“”}},
“commit”=>“Save”,
“project_id”=>“project_test”,
“id”=>“Wiki”}

Show session dump

_csrf_token: “TJZL52ZSgSZLBAJHnCWeceFLmOuH8DP45p0y9IDgLm4=”
boards_show_sort: “updated_on:desc”
query: {:project_id=>2, :filters=>[#<Queries::WorkPackages::Filter:0x000000213b2218 field=:status_id, operator=“o”, values=[""], validation_context=nil, errors=#<ActiveModel::Errors:0x000000213b1f98 base=#<Queries::WorkPackages::Filter:0x000000213b2218 …>, @messages={}>>], :group_by=>nil, :display_sums=>false, :column_names=>nil}
session_id: “52cb2893663ca009658c0220e278e781”
updated_at: 2014-07-03 10:14:05 +0200
user_id: 2
users_index_sort: “login”
work_packages_index_sort: “parent:desc”

Show env dump

GATEWAY_INTERFACE: “CGI/1.2”
HTTP_ACCEPT: “text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8”
HTTP_ACCEPT_ENCODING: “gzip, deflate”
HTTP_ACCEPT_LANGUAGE: “it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3”
REMOTE_ADDR: “192.168.0.3”
SERVER_NAME: “192.168.0.9”
SERVER_PROTOCOL: “HTTP/1.1”

Response

Headers:

None


Replies (1)

RE: Wiki Save Bug - Openproject 3.0.4 - Added by Robin Wagner over 8 years ago

Hi Ciuino,

I could not reproduce this bug in OpenProject 3.0.12.
Could you update to the current version and see if the error is gone?

If it persists, please create a bug report in the bug backlog stating your version of OpenProject, the plugins you installed as well as well as the log message.
You can also follow our guideline on reporting a bug.

Thanks,
Robin

  • (1 - 1/1)
Loading...