Hello David! Could you provide full stacktrace? Do you use basic or oauth authentication?
Could you try following: "AbstractPersistableCustom implements Serializable"? Ivan ср, 29 янв. 2020 г. в 20:26, David Yahalomi <[email protected]>: > Hey there, > > We've tried using Fineract 1.4 release tag and got this exception while > trying to create a new entity (tried user, client, glaccount and office) on > a new clean database: > > org.apache.openjpa.persistence.InvalidStateException: Encountered > unmanaged object > "org.apache.fineract.useradministration.domain.AppUser@3ac92522" in life > cycle state unmanaged while cascading persistence via field "org.apach > e.fineract.portfolio.client.domain.Client.submittedBy" during flush. > However, this field does not allow cascade persist. You cannot flush > unmanaged objects or graphs that have persistent associations to unmanaged > objects. > Suggested actions: a) Set the cascade attribute for this field to > CascadeType.PERSIST or CascadeType.ALL (JPA annotations) or "persist" or > "all" (JPA orm.xml), > b) enable cascade-persist globally, > c) manually persist the related field value prior to flushing. > d) if the reference belongs to another context, allow reference to it by > setting StoreContext.setAllowReferenceToSiblingContext(). > > Has anyone experienced the same? > > Thanks ahead, > > David Yahalomi > Co-Founder > > Rothschild Blvd 3, Tel Aviv-Yafo, Israel > mobile: + 972 52 817 9787 > email: [email protected] > <https://articode.co> > ᐧ >
