This issue can't be edited

Because it belongs to an archived project. Jira admins can restore projects from the archive.

Bean Populator not working correctly when ORM entity inherits from other

Description

We have abstract entities with the component attribute mappedSuperClass="true".
When using populate() in VirtualEntityService on an ORM entity that extends such an abstract entity and the abstract entity contains foreign keys to other entities we get an error. We have located the problem in \coldbox\system\core\dynamic\BeanPopulator.cfc in the function getRelationshipMetaData(). This method only checks for getMetaData( arguments.target ).properties but doesn't check if there's getMetaData( arguments.target ).extends.properties. Could you please set that right!

Meanwhile is there a way to overwrite core components?

Thanks!

Gliffy Diagrams

Activity

Show:

Luis Majano November 17, 2015 at 7:24 PM

Wrong project

Luis Majano November 17, 2015 at 7:24 PM

I will close tis, since this is for the ColdFusion Builder Utilities

Tanja Zogg November 17, 2015 at 11:51 AM

Yes, that's it exactly. I'm watching the issue now. Thanks.

Wil de Bruin November 17, 2015 at 11:46 AM

same as this one
https://ortussolutions.atlassian.net/browse/COLDBOX-485

I think it belongs to core, not utilities

Won't Fix
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Components

Priority

Sentry

Created October 28, 2015 at 9:36 AM
Updated November 17, 2015 at 7:24 PM
Resolved November 17, 2015 at 7:24 PM