[MGNLFORM-320] Static field converter Created: 19/Jun/20 Updated: 25/Jun/21 Resolved: 17/Aug/20 |
|
| Status: | Closed |
| Project: | Magnolia Form Module |
| Component/s: | field |
| Affects Version/s: | 2.5.2 |
| Fix Version/s: | 2.7 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Richard Gange | Assignee: | Sang Ngo Huu |
| Resolution: | Fixed | Votes: | 4 |
| Labels: | 622 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 3d 0.05h | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||||||
| 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: | |||||||||||||||||||||||||
| Epic Link: | UI framework: migration and backwards compatibility | ||||||||||||||||||||||||
| Sprint: | UI FW 8 | ||||||||||||||||||||||||
| Story Points: | 5 | ||||||||||||||||||||||||
| Description |
|
Static field conversion is failing in dialogs. To see an example simple open the pages app and go to the page /travel/book-tour. Click the main section, edit the Form component and go to the Confirmation Email tab. |
| Comments |
| Comment by Mercedes Iruela [ 20/Jul/20 ] |
|
This field needs to be migrated to the new UI: info.magnolia.module.form.fields.definition.StaticFormFieldDefinition This issue appears in dialogs~form:form~form~tabs~tabConfirmEmail and dialogs~form:form~form~tabs~tabContactEmail |
| Comment by Anne Meister [ 24/Jun/21 ] |
|
@Sang Ngo Huu This ticket is on "fixed", but the problem still occurs in Mgnl Version 6.2.9. Could you provide some information on the status, please? |
| Comment by Simon Lutz [ 25/Jun/21 ] |
|
ameister - I cannot reproduce it on our latest version. Could you provide more details on where the problem still occurs for you? Thanks, |
| Comment by Anne Meister [ 25/Jun/21 ] |
|
Hi Simon When using the new Magnolia dialog structure, we can't get the field to work: Neither with this: Best, Anne |
| Comment by Richard Gange [ 25/Jun/21 ] |
|
It should be staticField. Like this:
form:
properties:
static:
label: Test
$type: staticField
value: Hello World!
|
| Comment by Anne Meister [ 25/Jun/21 ] |
|
Hi Richard That does work for the dialog, but does not provide any of the freemarker params used in the form. I'd like to get the same functionality as with the old dialog structure, meaning that all fieldNames used in the form that are available for the email as freemarker parameters are displayed there. staticField does not doe that. formStaticField does not work at all. |
| Comment by Richard Gange [ 25/Jun/21 ] |
|
Hey Anne. Let's move this to a support ticket and I'll investigate for you. I'll open one on your behalf. |