[MGNLUI-819] Creating a new "Promo" component raises exception Created: 06/Mar/13 Updated: 09/Jul/13 Resolved: 09/Jul/13 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 5.0 |
| Fix Version/s: | 5.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Eric Hechinger | Assignee: | Eric Hechinger |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | alpha3 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| 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 |
|
When trying to create an New Promos Component this generate the following exception: |
| Comments |
| Comment by Eric Hechinger [ 06/Mar/13 ] |
|
Seems to be related to bad Dialog definition from STK. In STK: dialogs50/components/promos/stkPromo/formDefinition/tabs/fields/hideTeaserImage hideTeaserImage has no properties.... so at the end we have a hideTeaserImage without properties (no field class definition...) Node2BeanTransformerImpl will create a Node for this hideTeaserImage and define default properties (as none are defiend) and set <type-mapping> defining an extends=override propertie on a field that do not define other properties is wrong. |
| Comment by Jozef Chocholacek [ 06/Mar/13 ] |
|
Happens also in the Extras column. |
| Comment by Jozef Chocholacek [ 07/Mar/13 ] |
|
Fixed, but it's rather a quick hack for Alpha3, so the proper solution should be created by resolving |