Content
View differences
Updated by Alexander Coles about 3 hours ago
### Steps to reproduce (QA - in browser - theoretical, but hard
_Please write down the steps to reproduce) reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:_
1. Login and open as a project/Backlogs module user with permissions to manage members in project A
2. Make sure you have several versions and work packages Go to the members page
3. Try to drag and drop one of the stories from one version to another Click on "Add new member"
4. _An unexpected error happens for some reason_ Type the following string: "foo@example.org"
### Steps to reproduce (devs - in code)
* Test against `dev` - 2c0d82bfa34125dade74cb7caa2c13a302fbd5c1 - with new Agile Sprint feature flag enabled.
* Change `rb_stories_controller.rb` to:
```ruby
unless false
render_error_flash_message_via_turbo_stream(
message: I18n.t(:notice_unsuccessful_update_with_reason, reason: call.message)
)
return respond_with_turbo_streams(status: :unprocessable_entity)
end
```
### What is the buggy behavior?
_Please describe the bug in as much detail as possible. Example:_
* The user may be shown both button to invite a success and error message on error. member did not work
* The item stays dropped in There was an error notification shown with the new location and is not moved back to its original backlog. message "XYZ"
### What is the expected behavior?
* On success only a success message should be shown.
* On failure only a failure message _Describe how the application should be shown.
* behave like. Example:_
1. The item application should invite the new user with the selected role
2. An email should have been sent to that user
### Important note
_Please note that unless you are a contributor to OpenProject, you can no longer edit this bug report after saving. You can still add new comments, new images and upload attachments though, but updating description or modifying fields will not be moved back possible after saving. Please make sure that all necessary information and attachments are added, and the following attributes are set:_
### **Logs**
_Are there errors in the browser console? (_[_Click here for information on how to its original location open your browser's console_](https://webmasters.stackexchange.com/a/77337)_) For a local installation: Are there relevant logs output by_ `_openproject logs_` _(packaged installation) (_[_click here for details_](https://docs.openproject.org/installation-and-operations/operation/monitoring/#show-logs)_) or in a log/production.log or /var/log/openproject/ ? Please attach error output in these log files if the move was unsuccessful.
applicable_
### Screenshots and other files
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/919598/content"> _If you have screenshots of the application&#39;s bug behavior or other relevant files, please drag them into this place or attach them using the &quot;Files&quot; section._
### 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**
* Hosted cloud edition
* Packaged installation
* What distribution?
* Docker All-in-one container
* Docker-compose installation
* Other (please specify)
**OpenProject version**
_dev_ _If you&#39;re not running on the cloud edition, please specify the version of OpenProject you&#39;re running. Example: v12.1.5_
**Browser**
* [x] [ ] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [ ] Windows
* [x] [ ] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [ ] Linux (please specify distro)
* [ ] Chrome OS
* [ ] Other (please specify)
**Language**
_en\_GB_ _Please specify the browser language and the language of the OpenProject user for which the bug occurred._
_Please write down the steps
1. Login and open
2. Make sure you have several versions and work packages
3. Try to drag and drop one of the stories from one version to another
4. _An unexpected error happens for some reason_
### Steps to reproduce (devs - in code)
* Test against `dev` - 2c0d82bfa34125dade74cb7caa2c13a302fbd5c1 - with new Agile Sprint feature flag enabled.
* Change `rb_stories_controller.rb` to:
```ruby
unless false
render_error_flash_message_via_turbo_stream(
message: I18n.t(:notice_unsuccessful_update_with_reason, reason: call.message)
)
return respond_with_turbo_streams(status: :unprocessable_entity)
end
```
### What is the buggy behavior?
* The item stays dropped in
### What is the expected behavior?
* On success only a success message should be shown.
* On failure only a failure message
*
1.
2. An email should have been sent to that user
### Important note
_Please note that unless you are a contributor to OpenProject, you can no longer edit this bug report after saving. You can still add new comments, new images and upload attachments though, but updating description or modifying fields will not
### **Logs**
_Are there errors in the browser console? (_[_Click here for information on how
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/919598/content">
### Environment information
* Hosted cloud edition
* Packaged installation
* What distribution?
* Docker All-in-one container
* Docker-compose installation
* Other (please specify)
**OpenProject version**
_dev_
**Browser**
* [x]
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [ ] Windows
* [x]
* [ ] Mobile iOS
* [ ] Mobile Android
* [ ] Linux (please specify distro)
* [ ] Chrome OS
* [ ] Other (please specify)
**Language**
_en\_GB_