incodehq / incode-platform

Combines incode.org modules and isisaddons.org into a single set of modules.
http://platform.incode.org
Apache License 2.0
8 stars 9 forks source link

Security - All Tenancies show error #90

Open sschong opened 6 years ago

sschong commented 6 years ago

Dear Sir/Madam,

I'm adding security module for my Apache Isis web application and when try to add multiple tenancy and go to List All function the page show error, as attached in the stack trace.

Stacktrace.txt a b c d e

echiphn commented 6 years ago

org.datanucleus.exceptions.NucleusUserException: Identity "/[OID]org.isisaddons.module.security.dom.tenancy.ApplicationTenancy" is assigned to class "org.isisaddons.module.security.dom.tenancy.ApplicationTenancy", but its not the correct object-id type for this class

The stacktrace tell you a little bit about issue. It can be an issue with persistence layer of the app. Take a closer look at this place