Content
View differences
### Description
There is a bug in the _integration\_openproject_ app. The issue happens in the work package creation feature. It is possible to create a work package even when the information is invalid.
### Steps to reproduce
Step 1: Set up the _integration\_openproject_.
Step 2: Connect OpenProject and Nextcloud.
Step 3: Add Nextcloud as the file storage for the "demo" project in OpenProject.
Step 4: On the Nextcloud side, upload a file and create a work package.
Step 5: Fill in the fields with valid data at first.
Step 6: Before clicking `Create` `_Create_` _button_, choose an invalid project as shown in the figure.
Step 7: Click _Create_.
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/912385/content">
### What is the buggy behavior?
There were two bugs:
\- Work packages can be created even when the data is invalid
\- The data in the options field could not be removed (i.e, this cross button is not working)
<img class="image_resized op-uc-image op-uc-image_inline" style="width:556px;" src="/api/v3/attachments/917133/content">
<br>
<br>
### What is the expected behavior?
It should not create a WP stop the user until the fields are filled with invalid values (i.e., nonexist project) in project fields .
Additionally, it should be possible to delete data from the option fields. valid data.
<br>
### Screenshots and other files
<br>
[Screencast\_from\_2025-11-20\_14-17-31.webm](https://community.openproject.org/attachments/861942/Screencast_from_2025-11-20_14-17-31.webm)
<br>
### **Tested on**
**integration\_openproject version:** `2.10.1`
<br>
**Browser**
* [x] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [ ] Windows
* [ ] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [x] Linux (Ubuntu 24.04.2 LTS)
* [ ] Chrome OS
* [ ] Other (please specify)
**Language**
_Please specify the browser language and the language of the OpenProject user for which the bug occurred._
There is a bug in the _integration\_openproject_ app. The issue happens in the work package creation feature. It is possible to create a work package even when the information is invalid.
### Steps to reproduce
Step 1: Set up the _integration\_openproject_.
Step 2: Connect OpenProject and Nextcloud.
Step 3: Add Nextcloud as the file storage for the "demo" project in OpenProject.
Step 4: On the Nextcloud side, upload a file and create a work package.
Step 5: Fill in the fields with valid data at first.
Step 6: Before clicking `Create`
Step 7: Click _Create_.
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/912385/content">
### What is the buggy behavior?
There were two bugs:
\- Work packages can be created even when the data is invalid
\- The data in the options field could not be removed (i.e, this cross button is not working)
<img class="image_resized op-uc-image op-uc-image_inline" style="width:556px;" src="/api/v3/attachments/917133/content">
<br>
<br>
### What is the expected behavior?
It should not create a WP
Additionally, it should be possible to delete data from the option fields.
<br>
### Screenshots and other files
<br>
[Screencast\_from\_2025-11-20\_14-17-31.webm](https://community.openproject.org/attachments/861942/Screencast_from_2025-11-20_14-17-31.webm)
<br>
### **Tested on**
**integration\_openproject version:** `2.10.1`
<br>
**Browser**
* [x] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [ ] Windows
* [ ] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [x] Linux (Ubuntu 24.04.2 LTS)
* [ ] Chrome OS
* [ ] Other (please specify)
**Language**
_Please specify the browser language and the language of the OpenProject user for which the bug occurred._