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

Updated by Christophe Bliard 2 days ago

###

###
Steps to reproduce

1. Create 3 work packages: one parent with 2 children following each other

2. Select them all in work package list view (there are no checkboxes, you have to select them one by one with the mouse by keeping Ctrl or Command key pressed)

3. Right click and select "Bulk delete",

4. In the confirmation dialog, check "I acknowledge that ALL descendants of the listed work packages will be recursively removed." and click "Delete" button.


_??_

### What is the buggy behavior?

* 500 error.

*
Appsignal:

* [https://appsignal.com/openproject-gmbh/sites/681379ae55b0b20ed3735994/exceptions/incidents/586](https://appsignal.com/openproject-gmbh/sites/681379ae55b0b20ed3735994/exceptions/incidents/586)

* [https://appsignal.com/openproject-gmbh/sites/681379ae55b0b20ed3735994/exceptions/incidents/582](https://appsignal.com/openproject-gmbh/sites/681379ae55b0b20ed3735994/exceptions/incidents/582)

* [https://appsignal.com/openproject-gmbh/sites/6813715a55b0b20ed373597c/exceptions/incidents/596](https://appsignal.com/openproject-gmbh/sites/6813715a55b0b20ed373597c/exceptions/incidents/596)

* [https://appsignal.com/openproject-gmbh/sites/674718f1d2a5e4a7cb8b2298/exceptions/incidents/939](https://appsignal.com/openproject-gmbh/sites/674718f1d2a5e4a7cb8b2298/exceptions/incidents/939)

* [https://appsignal.com/openproject-gmbh/sites/63ce63dc83eb6762736f5052/exceptions/incidents/1361](https://appsignal.com/openproject-gmbh/sites/63ce63dc83eb6762736f5052/exceptions/incidents/1361)

* [https://appsignal.com/openproject-gmbh/sites/673c529383eb67b55471dda2/exceptions/incidents/503](https://appsignal.com/openproject-gmbh/sites/673c529383eb67b55471dda2/exceptions/incidents/503)

* Message: `Attempted to update a stale object: WorkPackage.`

* Backtrace:

* app/services/work\_packages/delete\_service.rb:98 in block in WorkPackages::DeleteService#reschedule\_related

* app/services/base\_services/write.rb:36 in BaseServices::Write#persist


### What is the expected behavior?

* Work packages should be deleted without any errors


_??_ 

### Notes

This error on bulk delete has also been reported in this ticket ##60580 by Markus. This has been added to the existing issue with bulk edit because the symptoms are the same.

Back

Loading...