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

      OpenProject ID 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

Updated by Wieland Lindenthal 5 months ago

### Steps to reproduce

_Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:_

1. Open Time and Costs section, and try to make a Time and Cost report

2. Click Apply


### What is the buggy behavior?

On _On top of the screen there is err: "There was an error handling the query" query"_

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/307311/content">

### What is the expected behavior?

This _This should work - it&#39;s actually urgent for us, we cannot send invoices without this hourly reports. reports._

### **Logs**

```text
Feb 03 15:49:56 coyote openproject-web-1.service[3449102]: I, [2025-02-03T15:49:56.723427 #3449102] INFO -- : [dd1d3a9e-735e-41b2-8a39-1f6a2176e7ab] method=POST path=/projects/goopti/cost_reports/134 format=*/* controller=CostReportsController action=update status=500 allocations=5091 duration=22.27 view=0.00 db=9.46 user=8
Feb 03 15:49:56 coyote openproject-web-1.service[3449102]: F, [2025-02-03T15:49:56.725639 #3449102] FATAL -- : [dd1d3a9e-735e-41b2-8a39-1f6a2176e7ab]
Feb 03 15:49:56 coyote openproject-web-1.service[3449102]: [dd1d3a9e-735e-41b2-8a39-1f6a2176e7ab] NoMethodError (undefined method `migrate' for nil):
Feb 03 15:49:56 coyote openproject-web-1.service[3449102]: [dd1d3a9e-735e-41b2-8a39-1f6a2176e7ab]
Feb 03 15:49:56 coyote openproject-web-1.service[3449102]: [dd1d3a9e-735e-41b2-8a39-1f6a2176e7ab] modules/reporting/app/controllers/cost_reports_controller.rb:180:in `update'
Feb 03 15:49:56 coyote openproject-web-1.service[3449102]: E, [2025-02-03T15:49:56.745263 #3449102] ERROR -- : [dd1d3a9e-735e-41b2-8a39-1f6a2176e7ab] user=8 undefined method `migrate' for nil: undefined method `migrate' for nil
Feb 03 15:49:56 coyote openproject-web-1.service[3449102]: I, [2025-02-03T15:49:56.752361 #3449102] INFO -- : [dd1d3a9e-735e-41b2-8a39-1f6a2176e7ab] method=GET path=/500 format=*/* controller=ErrorsController action=internal_error status=500 allocations=27575 duration=24.83 view=4.97 db=4.11 user=8
```

### Screenshots and other files

_<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/307312/content">_

### Environment information

_Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs_


**OpenProject installation type**

* Self hosted

* Packaged installation

* Ubuntu 20


**OpenProject version**

_v15.2.0_

**Browser**

* [x] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)

<br>

<br>

Back

Loading...