[MGNLUI-4746] Dialog UI omits form fields using the fieldType property Created: 30/Oct/18  Updated: 14/Nov/18  Resolved: 09/Nov/18

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.0
Fix Version/s: 6.0

Type: Bug Priority: Neutral
Reporter: Christoph Meier Assignee: Hieu Nguyen Duc
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: 0d
Time Spent: 4d
Original Estimate: 3d

Attachments: PNG File Bildschirmfoto 2018-10-30 um 22.50.31.png    
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
Epic Link: 6.0 requisite
Sprint: Saigon 157
Story Points: 8

 Description   

In dialogs, form fields defining the property fieldType are not rendered.

:^(

In Definitions app these field definition are listed as major problem.
However, the dialog renders all other fields using the class property and the item can be saved.

To reproduce

  • Follow Hello Magnolia or
  • do CLI mgnl create-page dau-page
    and edit the dialog replacing some class with fieldType properties., e.g.
fields:
  - name: title
    #class: info.magnolia.ui.form.field.definition.TextFieldDefinition
    fieldType: text

 
Referencing field types by name has been introduced with M.-5.7 (and works on 5.7.1 too), but with 6.0-SNAPSHOT such fields are not displayed.
This is a regression.
 
Work around:
Avoid using the fieldType property. 


Generated at Mon Feb 12 09:19:41 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.