[
https://issues.apache.org/jira/browse/ISIS-2649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andi Huber closed ISIS-2649.
----------------------------
Resolution: Won't Fix
For non-scalar (collection) types, the meta-model inspects the generic type
parameter or the type-of attribute if found within associated annotation. This
makes the ObjectSpecification for the - as we call it - element type of the
collection.
Now this is the one and only binding contract, for various framework supported
areas:
UI Table Rendering (what columns should appear), RO-Viewer (what type upcast to
use), Single/Multi Choice Providers (what title to use), there might be more.
On the other hand seems not relevant for Command/Execution-publishing and
Change Tracking.
That said, I have a feeling, there is no quick and easy fix.
Can always reiterate if fresh ideas pop up.
> [WON'T FIX] Regression: ObjectSpecification Predicates isEntity() and
> isViewModel() are always false when abstract
> ------------------------------------------------------------------------------------------------------------------
>
> Key: ISIS-2649
> URL: https://issues.apache.org/jira/browse/ISIS-2649
> Project: Isis
> Issue Type: Bug
> Components: Isis Core
> Affects Versions: 2.0.0-M5
> Reporter: Martin Hesse
> Assignee: Andi Huber
> Priority: Major
> Fix For: 2.0.0-M7
>
>
> the {{ObjectBulkLoader_builtinHandlers.BulkLoadEntity}} could just handle the
> abstract types as well
> the {{isHandling(ObjectBulkLoader.Request objectQuery)}} method should
> probably just ask if the spec has an EntityFacet, independently of the
> BeanSort
--
This message was sent by Atlassian Jira
(v8.20.1#820001)