[MGNLUI-1376] JCR Multiple property values not supported yet. Created: 16/May/13 Updated: 24/Jun/13 Resolved: 30/May/13 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 5.0 |
| Fix Version/s: | 5.0 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Eric Hechinger | Assignee: | Eric Hechinger |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| 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: | |||||||||
| Sprint: | Beta 3 | ||||||||
| Description |
|
Currently JCR property defined as multiple is not supported JcrNodeAdapter should be able to:
In addition we should adapt the AbstractFieldBuilder. The following class will never call the getDefaultFieldType(...) as by default in the ConfiguredFieldDefinition the type is set by default to String. protected Class<?> getFieldType(FieldDefinition fieldDefinition) { return getDefaultFieldType(fieldDefinition); |
| Comments |
| Comment by Eric Hechinger [ 16/May/13 ] |
|
In AbstractJcrNodeAdapter.getItemProperty(), Use We will have to take care of the conversion back from VaadinProperty to JCR multiple property value. |
| Comment by Tobias Mattsson [ 29/May/13 ] |
|
Copyright headers should have been changed to 2011-2013 and 2012-2013 OptionGroupFieldBuilder default inits with HashSet, is this intended? Shouldn't it be ArrayList to preserve order? |
| Comment by Eric Hechinger [ 29/May/13 ] |
|
unfortunately yes, as Vaadin internally handle the multiselect as a Set. |