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

Plugins
  1. OpenProject
  2. Forums
  3. Plugins
  4. Cost Plugin: Rates don't save

Cost Plugin: Rates don't save

Added by Sira Sandberg over 6 years ago

Hello OpenProject community,

I'm a Ruby & OpenProject newbie with a fresh V7.4.7 install on my local machine (macOS High Sierra). We're looking for an extendable PM solution that includes budgeting so I added the Costs & Reporting plugin which looked quite promising. However, after diving deeper I noticed I cannot save any rates/hours, neither in the user settings nor the projects' (see Screenshots). At first glance it looked like missing JS as clicking on the recycling bin icon or "Add rate" does nothing. I can add budgets and cost types - but rates won't save anywhere but on the "Cost Types" list in the "Set current Rate" column. Obviously I ran db:migrate and npm after the plugin installation so what am I missing here?

In the development.log i can see that the rate values are passed as followed:

"new_rate_attributes"=>{"INDEX"=>{"valid_from"=>"2018-09-11", "rate"=>"40"}}, "existing_rate_attributes"=>{"1"=>{"valid_from"=>"2018-09-10", "rate"=>"30.0"}}}

And a few lines later it states Unpermitted parameter: INDEX. So I guess that's where the data disappears - doesn't like the "INDEX" param name.

Now, is this a bug in the plugin or a version conflict, ooor...? I had to use "stable/7" for all 3 plugins (reporting_engine, openproject-costs, openproject-reporting) in order make bundle install run through. Could that be an issue here?

Any tips would be appreciated :-)


Loading...