[MGNLUI-8095] Including jcrPublishingStatus within column list breaks the chooser Created: 29/May/23 Updated: 02/Aug/23 Resolved: 28/Jul/23 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 6.2.34 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Carlos Cantalapiedra | Assignee: | Jaromir Sarf |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | 1d 5h | Time Spent: | 1d 5h |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Attachments: |
|
|||||||||||||||||||||||||
| Issue Links: |
|
|||||||||||||||||||||||||
| Sub-Tasks: |
|
|||||||||||||||||||||||||
| 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: | Nucleus 40 | |||||||||||||||||||||||||
| Story Points: | 2 | |||||||||||||||||||||||||
| Team: | ||||||||||||||||||||||||||
| Work Started: | ||||||||||||||||||||||||||
| Approved: |
Yes
|
|||||||||||||||||||||||||
| Description |
| Comments |
| Comment by Quach Hao Thien [ 20/Jun/23 ] |
Discovery:StatusValueProvider of JcrStatusColumnDefinition implements the com.vaadin.data.ValueProvider<javax.jcr.Item, String> (JcrStatusColumnDefinition.java#95), meanwhile the Grid passes the item to value provider, which is info.magnolia.dam.jcr.JcrFolder (implementing the info.magnolia.dam.api.Item) at that moment. So that is the cause of class cast exception. Propose solution:Implement a new ValueProvider<info.magnolia.dam.api.Item, String> for Dam status column, ref: AssetNameColumnDefinition.java |
| Comment by Jaromir Sarf [ 18/Jul/23 ] |
|
As solution we can use these configs customChooser.yaml |