You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Andi Huber (Jira)" <ji...@apache.org> on 2022/05/03 06:43:00 UTC
[jira] [Updated] (ISIS-2546) [JUnit] 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 ]
Andi Huber updated ISIS-2546:
-----------------------------
Summary: [JUnit] CollectionLayout#sortedBy should be effective based on actual runtime type (was: CollectionLayout#sortedBy should be effective based on actual runtime type )
> [JUnit] 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.20.7#820007)