[ 
https://issues.apache.org/jira/browse/ISIS-2649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17402248#comment-17402248
 ] 

Andi Huber commented on ISIS-2649:
----------------------------------

https://the-asf.slack.com/team/U01QS5BF1CP

There is no easy fix,
because abstract base classes, which are inherited by concrete entity classes, 
do not have any runtime/meta-data information, that would hint that these end 
up as entity instances at runtime. In other words ObjectSpecifications for 
these abstract classes are of bean type ABSTRACT and they don't contain any 
EntityFacet either.

> 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.3.4#803005)

Reply via email to