Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
Data Extension 1.0.1
-
None
-
Magnolia 4.4.5
magnolia-module-blossom 1.2.3
magnolia-module-blossom-extension-data 1.0.1
magnolia-module-data 1.6.4
Description
I have a calendar structure in the Data Module for which I have all created @DataTypeDialogFactory classes with @DialogValidator or @TabValidator methods.
My test structure is as follows:
Calendar name > Calendar year > Calendar month > Calendar item
-The 'Calendar name' is the first item in this hierarchy. The validation works nicely. Checks if name is not empty (see attached CalendarFactory.java).
-When I create a new 'Calendar year' item below 'Calendar name', the correct TabFactory is called (see attached CalendarYear.java). When I hit save though, the validation method of 'Calendar year' is not called. Instead, the validation method of 'Calendar name' is called in CalendarFactory.java. See the 2 screenshots.
However, when I reopen an already created item, the validation works OK and the right method is called. So it seems to only fail when a new sub-node is created.
Checklists
Attachments
Issue Links
- caused by
-
MGNLDATA-144 Validation does not work for subtype dialogs
-
- Closed
-