[BLOSSOM-68] Incorrect validation method called on creation of nested new item Created: 26/Jan/12 Updated: 12/Apr/14 Resolved: 12/Apr/14 |
|
| Status: | Closed |
| Project: | Blossom |
| Component/s: | data-extension |
| Affects Version/s: | Data Extension 1.0.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Erik Alphenaar | Assignee: | Tobias Mattsson |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Magnolia 4.4.5 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| 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
|
||||||||
| Date of First Response: | |||||||||
| 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: -The 'Calendar name' is the first item in this hierarchy. The validation works nicely. Checks if name is not empty (see attached CalendarFactory.java). 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. |
| Comments |
| Comment by Tobias Mattsson [ 01/Feb/12 ] |
|
Thanks for reporting this. I can reproduce the error. The problem is with the data module itself. Reported as |
| Comment by Tobias Mattsson [ 12/Apr/14 ] |
|
Closing as duplicate since the problem needs to be fixed in the data module and is being tracked as |