You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "fabio martelli (JIRA)" <ji...@apache.org> on 2018/12/10 13:24:00 UTC
[jira] [Comment Edited] (SYNCOPE-1411) User/Any object updates
generate attributes with null owner in case of patches involving membership
attributes
[ https://issues.apache.org/jira/browse/SYNCOPE-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16714715#comment-16714715 ]
fabio martelli edited comment on SYNCOPE-1411 at 12/10/18 1:23 PM:
-------------------------------------------------------------------
Remove null attributes by using the following queries and restart.
delete from uplainattruniquevalue where attribute_id in (select id from uplainattr where owner_id IS NULL)
delete from uplainattr where owner_id IS NULL
was (Author: fmartelli):
Remove null value by using the following queries.
delete from uplainattruniquevalue where attribute_id in (select id from uplainattr where owner_id IS NULL)
delete from uplainattr where owner_id IS NULL
> User/Any object updates generate attributes with null owner in case of patches involving membership attributes
> --------------------------------------------------------------------------------------------------------------
>
> Key: SYNCOPE-1411
> URL: https://issues.apache.org/jira/browse/SYNCOPE-1411
> Project: Syncope
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.11, 2.1.2
> Reporter: fabio martelli
> Assignee: fabio martelli
> Priority: Major
> Fix For: 2.0.12, 2.1.3, 3.0.0
>
>
> It seems that JPA "cascade" is not working in case of identity patching involving membership attributes.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)