Content
View differences
Updated by Christophe Bliard almost 2 years ago
### Steps to reproduce
1. Login as a user with permissions to edit work packages
2. Go any project > Work packages
3. Open a work package that has content in the description
4. Edit the title without clicking outside the field to trigger saving the change
5. Go to the description and edit it
### What is the buggy behavior?
* Description disappears
### What is the expected behavior?
_Describe how the application should behave like. Example:_
1. Title is saved
2. Description stays displayed and is editable
### Important note
* Christophe found this bug :)
* This also happens when the user edits other work package fields, then clicks not just the description (if the field autosaves on focus lost)
* Console shows below error
```text
toolbarview-item-unavailable
Object { item: "macroList" }
item: "macroList"
<prototype>: Object { … }
__defineGetter__: function __defineGetter__()
__defineSetter__: function __defineSetter__()
__lookupGetter__: function __lookupGetter__()
__lookupSetter__: function __lookupSetter__()
__proto__:
constructor: function Object()
hasOwnProperty: function hasOwnProperty()
isPrototypeOf: function isPrototypeOf()
propertyIsEnumerable: function propertyIsEnumerable()
toLocaleString: function toLocaleString()
toString: function toString()
valueOf: function valueOf()
<get __proto__()>: function __proto__()
<set __proto__()>: function __proto__()
Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#error-toolbarview-item-unavailable ckeditorerror.js:119:12
```
###
Screenshots and other files
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/112363/content">
### Environment information
_14.2.1_
**Browser**
* [ ] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
1. Login as a user with permissions to edit work packages
2. Go any project > Work packages
3. Open a work package that has content in the description
4. Edit the title without clicking outside the field to trigger saving the change
5. Go to the description and edit it
### What is the buggy behavior?
* Description disappears
### What is the expected behavior?
_Describe how the application should behave like. Example:_
1. Title is saved
2. Description stays displayed and is editable
### Important note
* Christophe found this bug :)
* This also happens when the user edits other work package fields, then clicks
* Console shows below error
```text
toolbarview-item-unavailable
Object { item: "macroList" }
item: "macroList"
<prototype>: Object { … }
__defineGetter__: function __defineGetter__()
__defineSetter__: function __defineSetter__()
__lookupGetter__: function __lookupGetter__()
__lookupSetter__: function __lookupSetter__()
__proto__:
constructor: function Object()
hasOwnProperty: function hasOwnProperty()
isPrototypeOf: function isPrototypeOf()
propertyIsEnumerable: function propertyIsEnumerable()
toLocaleString: function toLocaleString()
toString: function toString()
valueOf: function valueOf()
<get __proto__()>: function __proto__()
<set __proto__()>: function __proto__()
Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#error-toolbarview-item-unavailable ckeditorerror.js:119:12
```
###
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/112363/content">
### Environment information
_14.2.1_
**Browser**
* [ ] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)