[MGNLDAM-974] Add column to show asset sizes in the list view Created: 17/Jun/21  Updated: 09/Feb/24

Status: Open
Project: Magnolia DAM Module
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Martin Drápela Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
caused by MGNLDAM-719 Sortable File Size Column Closed
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)
Epic Link: AuthorX improvements
Team: AuthorX

 Description   

The outcome of MGNLDAM-719 has been merged to docs master as:

file:///home/martin/dev/DACS/product-docs/6.2/Modules/List-of-modules/Digital-Asset-Management-module/Magnolia-DAM-JCR-implementation.html#_displaying_asset_sizes_in_the_asset_browser

However, the asset-size config only works in the tree view:

(https://jira.magnolia-cms.com/browse/MGNLDAM-719?focusedCommentId=260970&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-260970)

size-sorting only works in the tree view. In the list view, an error is produced, leaving an empty view:

2021-05-07 15:54:43,228 ERROR nfo.magnolia.admincentral.AdmincentralErrorHandler: AdmincentralUI has encountered an unhandled exception. com.machinezoo.noexception.WrappedException: javax.jcr.query.InvalidQueryException: '/' not allowed in name

Developer notes

Roman, May 7 via slack

Not working cause,

  • in the tree view, sorting is done by Vaadin
  • in the list view, it is the JCR query directly

Suggestion: 

Add a custom column for sizes in the list view.

 
 


Generated at Mon Feb 12 05:05:08 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.