[MGNLUI-3959] Incorrect fieldTypes bootstraps since 5.4.4 Created: 22/Jul/16  Updated: 09/Feb/17  Resolved: 27/Jul/16

Status: Closed
Project: Magnolia UI
Component/s: framework
Affects Version/s: 5.4.4
Fix Version/s: 5.4.8, 5.5

Type: Bug Priority: Neutral
Reporter: Mikaël Geljić Assignee: Hieu Nguyen Duc
Resolution: Fixed Votes: 0
Labels: fieldtype
Remaining Estimate: 5.5h
Time Spent: 2d 2.5h
Original Estimate: 3d

Issue Links:
causality
caused by MGNLUI-3707 Provide JCR node type selector field Closed
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
Sprint: Saigon 54
Story Points: 3

 Description   

As part of MGNLUI-2496/MGNLUI-3707 (new JCR browser), a new NodeTypeField definition/factory mapping was added.
However the whole fieldTypes were seemingly re-exported, with extra stuff bootstrapped by other modules in there:

  • RichTextFieldDefinition is mistakenly mapped to the dam's AssetsEnabledRichTextFieldFactory. That one is reconfigured upon dam install, so without dam, rich-text field currently doesn't work.
  • formStaticField (info.magnolia.module.form.fields.definition.StaticFormFieldDefinition) has nothing to do here; form module should also bootstrap this field in its own module instead (follow-up).
  • workbenchField is redundant with a sibling bootstrap file. We should get rid of one.

I provide the reverted bootstrap: but now we also need an MVH task (delta for 5.4.8). If dam or form modules are not installed, then we need to fix configuration.

See https://git.magnolia-cms.com/projects/PLATFORM/repos/ui/pull-requests/40/commits/a433396faf0f2b47987d92732cefb71e74f41a65#magnolia-ui-framework/src/main/resources/mgnl-bootstrap/ui-framework/config.modules.ui-framework.fieldTypes.xml


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