AEM Assets - Sort by modified feature is not working in AEM 6.5.12
Hi Everyone,
We recently upgrading AEM 6.5 to 6.5.12.
In Assets page ( /content/dam ), we have sort by option in the toolbar to sort the folder in the assets.
Sort by has options like name, created, modified.
Sort by name and created is working fine.
But sort by modified is not working. It gives error "Failed to load data". And this issue is only occurring in "/content/dam" path.
Other paths like "/content/dam/xyz" all the sort by options works perfectly fine.
Only at "/content/dam", sort by modified throws this error "Failed to load data".
Server logs:
/mnt/overlay/dam/gui/content/assets/jcr:content/views/card.0.20.html/content/dam HTTP/1.1] libs .granite.ui.components.coral.foundation.masonry.
Failed to wrap datasource for lookahead
java.lang.NullpointerException: Null
at com.day.cq.dam.commons.sort.impl.ResourceSorterImpl$ModifiedTransformer.transform(ResourceSorterImpl.java:407)
what could be the reason for this issue? Please help.
Thank You,