[MGNLCT-198] [Test] basic field based on content types on Norsu Created: 30/May/22  Updated: 12/Jan/23  Resolved: 04/Aug/22

Status: Closed
Project: Content Types
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0.0

Type: Task Priority: Neutral
Reporter: Oanh Thai Hoang Assignee: Oanh Thai Hoang
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: 2d 2.5h Time Spent: 2d 2.5h
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2023-01-12 at 17.43.22.png    
Issue Links:
dependency
depends upon MGNLCT-191 Use content types on Norsu Closed
depends upon MGNLUI-7370 Replacement for text field type and c... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLCT-238 Test Sub-task Closed Oanh Thai Hoang  
MGNLCT-239 Implement Sub-task Closed Oanh Thai Hoang  
MGNLCT-240 piQA Sub-task Completed Jaroslav Simak  
MGNLCT-241 Review Sub-task Completed Jaroslav Simak  
MGNLCT-242 QA Sub-task Completed Jaroslav Simak  
Template:
Acceptance criteria:
[ ]* Ensure textField base on content type with type decimal or long can work and can retrieve by open edit mode
Task DoR:
Empty
Epic Link: SaaS TPR - ContentTypes
Sprint: DevX 15, DevX 16
Story Points: 3
Team: DeveloperX

 Description   

This is follow up ticket of  https://jira.magnolia-cms.com/browse/MGNLCT-191  and https://jira.magnolia-cms.com/browse/NORSU-110

to ensure textField base on content type with type decimal or long can work and can retrieve by open edit mode

Example configuration: 

 

datasource:
  $type: norsuContentTypeDatasource
  rootPath: /magnolia-travels
model:
  nodeType: mt:tourGuide
  properties:
    - name: long
      type: Long
    - name: decimal       
      type: Decimal


 Comments   
Comment by Oanh Thai Hoang [ 21/Jul/22 ]

Long and Decimal does not support yet. this ticket will depend to https://jira.magnolia-cms.com/browse/MGNLUI-7370

Comment by Oanh Thai Hoang [ 21/Jul/22 ]

Due to https://jira.magnolia-cms.com/browse/MGNLUI-7101, since 6.3, type and converter will not support

Comment by Oanh Thai Hoang [ 22/Jul/22 ]

The below list of fields are the type currently tested with content app by content type in norsu 

Type Render in ui field Work Related jira ticket from Norsu team
String textField  
Double textField Works but shows deprecations in Definitions app https://jira.magnolia-cms.com/browse/MGNLUI-7370
Decimal textField Not for TPR https://jira.magnolia-cms.com/browse/MGNLUI-7370
Long textField Not for TPR https://jira.magnolia-cms.com/browse/MGNLUI-7370
Boolean comboBoxField  
Date timestampField  
richText richTextField No linking support  
asset damLinkField JCR only  
multiple multiField https://jira.magnolia-cms.com/browse/NORSU-59
option comboBoxField  
subModel compositeField https://jira.magnolia-cms.com/browse/NORSU-59
reference linkField  

 

Comment by Oanh Thai Hoang [ 12/Jan/23 ]

There is one more type this is `page` and it will generate page link field  in ui. See https://jira.magnolia-cms.com/browse/MGNLCT-287

 

Ex: you define in content type

model:
  properties:
    - name: page
      type: page 

 you will see the link field to pages

Generated at Mon Feb 12 00:38:05 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.