Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
-
Empty show more show less
-
Yes
-
DevX 43
-
3
-
Yes
Description
This ticket is for DX-Core, CFGUI-182 is for SaaS.
When developer specifies a field $type that does not exist, a useful warning is displayed in the logs, but no "problem" is displayed in the "Definitions app". A problem should be displayed otherwise it is difficult for a developer to find the cause of the problem.Â
The same problem happens on DXCORE and SaaS, but the problem is slightly worse on SaaS as the logs cannot be seen by the developer and the "Configuration Monitor" does not report any problem.
Â
To reproduce:
Note that "textArea" is not a valid $type here.
Use the following dialog for a page template:Â
Â
label: My Page form:  properties:   title:    label: Title    $type: textField    i18n: true   text2:    label: Test    $type: textArea    i18n: true
Â
Â
Then create a page of that type and try to edit that page in the page editor.Â
> You get an exception that the page cannot be edited.
Go to the Definitions App - notice that there are no problems shown in the Definitions or Problems tab for the incorrect dialog.
Here is the useful warning message in the logs on DXCORE
2023-06-23 11:38:09,763 WARNÂ a.config.resolver.AnnotationProcessingTypeResolver: Encountered the '$type' property but failed to resolved the type from its value: [textArea]. Available types: [jcrMultiField,radioButtonGroupField,pageLinkField,staticField,textField,comboBoxField,twinColSelectField,checkBoxField,multiField,switchableField,checkBoxGroupField,jcrMultiLinkField,passwordField,compositeField,listSelectField,richTextField,codeField,resourceLinkField,tokenField,linkField,dateField,uploadField,sliderField,jcrMultiValueField,damLinkField,hiddenField]
Â
Checklists
Attachments
Issue Links
- is cloned by
-
CFGUI-182 [SAAS] - Definitions app should show problem when dialog field $type is wrong
-
- Open
-
- relates to
-
MGNLTEST-428 CE 6.2 and 6.3 pipelines unstable due to light-module setup failures
-
- Closed
-
1.
|
Implement |
|
Completed | Valeria Robles-Garzon |
2.
|
Review |
|
Completed | Javier Benito |
3.
|
QA 6.3 |
|
Completed | Dai Ha |
4.
|
Pre-Integration QA |
|
Completed | Javier Benito |
5.
|
QA 6.2 |
|
Completed | Rishab Dhar |