You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Daniel Keir Haywood (Jira)" <ji...@apache.org> on 2021/07/04 19:09:00 UTC
[jira] [Updated] (ISIS-2546) CollectionLayout#sortedBy should be
effective based on actual runtime type
[ https://issues.apache.org/jira/browse/ISIS-2546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Keir Haywood updated ISIS-2546:
--------------------------------------
Fix Version/s: (was: 2.0.0-M6)
2.0.0
> CollectionLayout#sortedBy should be effective based on actual runtime type
> ---------------------------------------------------------------------------
>
> Key: ISIS-2546
> URL: https://issues.apache.org/jira/browse/ISIS-2546
> Project: Isis
> Issue Type: Improvement
> Components: Isis Core
> Reporter: Andi Huber
> Priority: Major
> Fix For: 2.0.0
>
>
> Double check whether for an entity that holds a relation of type Set<?> annotated with @CollectionLayout, the framework actually applies the specified comparator. (default is natural order).
> My suspicion is that it only does this for compile time type SortedSet<?>. We might need to do a runtime type inspection, rather than rely on the meta-model, which does compile time inspection.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)