Content
View differences
Updated by Oliver Günther almost 2 years ago
### Steps to reproduce
1. Login as a user
2. Go to the work package
3. Edit description
4. Insert the work package attribute value for "description"
[https://www.openproject.org/docs/user-guide/wysiwyg/#attributes](https://www.openproject.org/docs/user-guide/wysiwyg/#attributes)
e.g. `workPackageValue:XYZ:description` where XYZ is the `ID` of the same work package
5. press save
### What is the buggy behavior?
An endless loop is triggered and the page never returns idle to continue working.
**Warning**: The work package can no longer be opened as the endless loop is triggered.
### What is the expected behavior?
No endless loop.
Implementation: an error is shown when a loop is detected. Macros until the affected loop are still rendered.
### **Logs,** Screenshots and other files
In a work package with id=14 and description `workPackageValue:14:description`
<img class="image_resized op-uc-image op-uc-image_inline" style="width:895px;" src="/api/v3/attachments/105412/content">
Please note:
\* the number before VAL \[HalResource href=/api/v3/work\_packages/14\] is endlessly increasing
\* The log is only visible in DEBUG mode
### Environment information
**OpenProject installation type**
* [x] All
**OpenProject version**
v14.1.1 (likely all below, too)
**Browser**
* [x] All
1. Login as a user
2. Go to the work package
3. Edit description
4. Insert the work package attribute value for "description"
[https://www.openproject.org/docs/user-guide/wysiwyg/#attributes](https://www.openproject.org/docs/user-guide/wysiwyg/#attributes)
e.g. `workPackageValue:XYZ:description` where XYZ is the `ID` of the same work package
5. press save
### What is the buggy behavior?
An endless loop is triggered and the page never returns idle to continue working.
**Warning**: The work package can no longer be opened as the endless loop is triggered.
### What is the expected behavior?
No endless loop.
Implementation: an error is shown when a loop is detected. Macros until the affected loop are still rendered.
### **Logs,** Screenshots and other files
In a work package with id=14 and description `workPackageValue:14:description`
<img class="image_resized op-uc-image op-uc-image_inline" style="width:895px;" src="/api/v3/attachments/105412/content">
Please note:
\* the number before VAL \[HalResource href=/api/v3/work\_packages/14\] is endlessly increasing
\* The log is only visible in DEBUG mode
### Environment information
**OpenProject installation type**
* [x] All
**OpenProject version**
v14.1.1 (likely all below, too)
**Browser**
* [x] All