[MGNLUI-4309] CompositeField & NoOpCompositeTransformer & CKEditor field: text disappears upon blur Created: 23/Oct/17 Updated: 27/Oct/17 Resolved: 27/Oct/17 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | dialogs |
| Affects Version/s: | 5.5.7 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Mercedes Iruela | Assignee: | Evzen Fochr |
| Resolution: | Outdated | Votes: | 0 |
| Labels: | support | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Template: |
|
||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||||||
| Story Points: | 5 | ||||||||||||||||||||||||
| Description |
|
When a Richtext Field is defined as part of a Composite Field within a Multivalue Field, using as transformers: info.magnolia.ui.form.field.transformer.composite.NoOpCompositeTransformer The Richtext Field disappears from the dialog when it is filled and after that the user is filling other fields and focus is lost (see support ticket to see the steps to follow to reproduce the issue). In Browser developer tools we can see in 'Network tab' the requests, and it seems to be related to information lost, because we can see a the following info: "state": { "323": { "errorMessage":"<div>Text field headline: This field is required.</div>\n" }, "341": { "errorMessage":"<div>Text field headline: This field is required.</div>\n" }, "344": { "hideErrors":false, "errorMessage":null } }, Attached you can find the requests using NoOpCompositeTransformer and MultiValueSubChildrenNodePropertiesTransformer, when the error comes up: [^requests_richText_disappears.txt] And requests using DelegatingCompositeFieldTransformer and DelegatingMultiValueTransformer , no error: |
| Comments |
| Comment by Evzen Fochr [ 23/Oct/17 ] |
|
This clones |
| Comment by Federico Grilli [ 27/Oct/17 ] |
|
Raising the version of CKEditor Vaadin add-on fixes the issue. |