You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Denis Signoretto (JIRA)" <ji...@apache.org> on 2012/10/26 14:43:11 UTC
[jira] [Created] (SYNCOPE-230) Sync user attributes using a long
schema attribute as accountId
Denis Signoretto created SYNCOPE-230:
----------------------------------------
Summary: Sync user attributes using a long schema attribute as accountId
Key: SYNCOPE-230
URL: https://issues.apache.org/jira/browse/SYNCOPE-230
Project: Syncope
Issue Type: Bug
Components: core
Affects Versions: 1.0.2-incubating
Environment: Linux CentOs x86_64, Oracle 10g, Apache Tomcat 7.0.26, Java(TM) SE Runtime Environment (build 1.6.0_31-b04)- Java HotSpot(TM) 64-Bit Server VM
Reporter: Denis Signoretto
Synching user attributes FROM a resource TO Syncope using DBTable connector.
The attribute used as "Column Key" is a number(10) (it's an Oracle DB).
If I define the attribute on Syncope as String it works well and when the sync starts,
all updated entries are found and triggered for the update.
Definig the same attribue as "Long" the sync task don't works.
After deletions of all users, redefining the attribute in Sycope as Long, forced a Reset Token on external resource, the sync don't match on the attribute and no update operation occur.
As requested I'll attach:
1. the external DB schema: it's DB VIEW so I'll attach desc command result
2. the DBTable connector configuration
3. the DB resource mapping
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SYNCOPE-230) Sync user attributes using a long
schema attribute as accountId
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNCOPE-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13486188#comment-13486188 ]
Hudson commented on SYNCOPE-230:
--------------------------------
Integrated in Syncope-linux-branches #47 (See [https://builds.apache.org/job/Syncope-linux-branches/47/])
[SYNCOPE-230] SyncJob was failing to find existing users when __UID__ was mapped to an internal non-string schema (Revision 1403432)
Result = FAILURE
ilgrosso :
Files :
* /incubator/syncope/branches/1_0_X/build-tools/src/main/resources/testdb.sql
* /incubator/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/persistence/beans/AbstractAttrValue.java
* /incubator/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/persistence/validation/attrvalue/AbstractValidator.java
* /incubator/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/scheduling/SyncJob.java
* /incubator/syncope/branches/1_0_X/core/src/main/resources/META-INF/orm.xml
* /incubator/syncope/branches/1_0_X/core/src/test/java/org/apache/syncope/core/persistence/dao/TaskTest.java
* /incubator/syncope/branches/1_0_X/core/src/test/java/org/apache/syncope/core/rest/TaskTestITCase.java
* /incubator/syncope/branches/1_0_X/core/src/test/resources/content.xml
> Sync user attributes using a long schema attribute as accountId
> ---------------------------------------------------------------
>
> Key: SYNCOPE-230
> URL: https://issues.apache.org/jira/browse/SYNCOPE-230
> Project: Syncope
> Issue Type: Bug
> Components: core
> Affects Versions: 1.0.2-incubating
> Environment: Linux CentOs x86_64, Oracle 10g, Apache Tomcat 7.0.26, Java(TM) SE Runtime Environment (build 1.6.0_31-b04)- Java HotSpot(TM) 64-Bit Server VM
> Reporter: Denis Signoretto
> Assignee: Francesco Chicchiriccò
> Labels: attribute, resource, schema, sync, task
> Fix For: 1.0.3-incubating, 1.1.0-incubating
>
> Attachments: content.xml, h2.sql, resource-files.zip
>
>
> Synching user attributes FROM a resource TO Syncope using DBTable connector.
> The attribute used as "Column Key" is a number(10) (it's an Oracle DB).
> If I define the attribute on Syncope as String it works well and when the sync starts,
> all updated entries are found and triggered for the update.
> Definig the same attribue as "Long" the sync task don't works.
> After deletions of all users, redefining the attribute in Sycope as Long, forced a Reset Token on external resource, the sync don't match on the attribute and no update operation occur.
> As requested I'll attach:
> 1. the external DB schema: it's DB VIEW so I'll attach desc command result
> 2. the DBTable connector configuration
> 3. the DB resource mapping
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (SYNCOPE-230) Sync user attributes using a long
schema attribute as accountId
Posted by "fabio martelli (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNCOPE-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
fabio martelli closed SYNCOPE-230.
----------------------------------
Closed for release 1.0.3-incubating
> Sync user attributes using a long schema attribute as accountId
> ---------------------------------------------------------------
>
> Key: SYNCOPE-230
> URL: https://issues.apache.org/jira/browse/SYNCOPE-230
> Project: Syncope
> Issue Type: Bug
> Components: core
> Affects Versions: 1.0.2-incubating
> Environment: Linux CentOs x86_64, Oracle 10g, Apache Tomcat 7.0.26, Java(TM) SE Runtime Environment (build 1.6.0_31-b04)- Java HotSpot(TM) 64-Bit Server VM
> Reporter: Denis Signoretto
> Assignee: Francesco Chicchiriccò
> Labels: attribute, resource, schema, sync, task
> Fix For: 1.0.3-incubating, 1.1.0-incubating
>
> Attachments: content.xml, h2.sql, resource-files.zip
>
>
> Synching user attributes FROM a resource TO Syncope using DBTable connector.
> The attribute used as "Column Key" is a number(10) (it's an Oracle DB).
> If I define the attribute on Syncope as String it works well and when the sync starts,
> all updated entries are found and triggered for the update.
> Definig the same attribue as "Long" the sync task don't works.
> After deletions of all users, redefining the attribute in Sycope as Long, forced a Reset Token on external resource, the sync don't match on the attribute and no update operation occur.
> As requested I'll attach:
> 1. the external DB schema: it's DB VIEW so I'll attach desc command result
> 2. the DBTable connector configuration
> 3. the DB resource mapping
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (SYNCOPE-230) Sync user attributes using a long
schema attribute as accountId
Posted by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNCOPE-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francesco Chicchiriccò resolved SYNCOPE-230.
--------------------------------------------
Resolution: Fixed
http://svn.apache.org/viewvc?rev=1403432&view=rev
> Sync user attributes using a long schema attribute as accountId
> ---------------------------------------------------------------
>
> Key: SYNCOPE-230
> URL: https://issues.apache.org/jira/browse/SYNCOPE-230
> Project: Syncope
> Issue Type: Bug
> Components: core
> Affects Versions: 1.0.2-incubating
> Environment: Linux CentOs x86_64, Oracle 10g, Apache Tomcat 7.0.26, Java(TM) SE Runtime Environment (build 1.6.0_31-b04)- Java HotSpot(TM) 64-Bit Server VM
> Reporter: Denis Signoretto
> Assignee: Francesco Chicchiriccò
> Labels: attribute, resource, schema, sync, task
> Fix For: 1.0.3-incubating, 1.1.0-incubating
>
> Attachments: content.xml, h2.sql, resource-files.zip
>
>
> Synching user attributes FROM a resource TO Syncope using DBTable connector.
> The attribute used as "Column Key" is a number(10) (it's an Oracle DB).
> If I define the attribute on Syncope as String it works well and when the sync starts,
> all updated entries are found and triggered for the update.
> Definig the same attribue as "Long" the sync task don't works.
> After deletions of all users, redefining the attribute in Sycope as Long, forced a Reset Token on external resource, the sync don't match on the attribute and no update operation occur.
> As requested I'll attach:
> 1. the external DB schema: it's DB VIEW so I'll attach desc command result
> 2. the DBTable connector configuration
> 3. the DB resource mapping
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (SYNCOPE-230) Sync user attributes using a
long schema attribute as accountId
Posted by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNCOPE-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13486045#comment-13486045 ]
Francesco Chicchiriccò edited comment on SYNCOPE-230 at 10/29/12 2:22 PM:
--------------------------------------------------------------------------
Helping files for reproducing the issue in am embedded env.
was (Author: ilgrosso):
Helping files for reproducing the issue.
> Sync user attributes using a long schema attribute as accountId
> ---------------------------------------------------------------
>
> Key: SYNCOPE-230
> URL: https://issues.apache.org/jira/browse/SYNCOPE-230
> Project: Syncope
> Issue Type: Bug
> Components: core
> Affects Versions: 1.0.2-incubating
> Environment: Linux CentOs x86_64, Oracle 10g, Apache Tomcat 7.0.26, Java(TM) SE Runtime Environment (build 1.6.0_31-b04)- Java HotSpot(TM) 64-Bit Server VM
> Reporter: Denis Signoretto
> Assignee: Francesco Chicchiriccò
> Labels: attribute, resource, schema, sync, task
> Fix For: 1.0.3-incubating, 1.1.0-incubating
>
> Attachments: content.xml, h2.sql, resource-files.zip
>
>
> Synching user attributes FROM a resource TO Syncope using DBTable connector.
> The attribute used as "Column Key" is a number(10) (it's an Oracle DB).
> If I define the attribute on Syncope as String it works well and when the sync starts,
> all updated entries are found and triggered for the update.
> Definig the same attribue as "Long" the sync task don't works.
> After deletions of all users, redefining the attribute in Sycope as Long, forced a Reset Token on external resource, the sync don't match on the attribute and no update operation occur.
> As requested I'll attach:
> 1. the external DB schema: it's DB VIEW so I'll attach desc command result
> 2. the DBTable connector configuration
> 3. the DB resource mapping
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SYNCOPE-230) Sync user attributes using a long
schema attribute as accountId
Posted by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNCOPE-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13486678#comment-13486678 ]
Francesco Chicchiriccò commented on SYNCOPE-230:
------------------------------------------------
Build fixed [1] with no code changes.
[1] https://builds.apache.org/job/Syncope-linux-branches/48/
> Sync user attributes using a long schema attribute as accountId
> ---------------------------------------------------------------
>
> Key: SYNCOPE-230
> URL: https://issues.apache.org/jira/browse/SYNCOPE-230
> Project: Syncope
> Issue Type: Bug
> Components: core
> Affects Versions: 1.0.2-incubating
> Environment: Linux CentOs x86_64, Oracle 10g, Apache Tomcat 7.0.26, Java(TM) SE Runtime Environment (build 1.6.0_31-b04)- Java HotSpot(TM) 64-Bit Server VM
> Reporter: Denis Signoretto
> Assignee: Francesco Chicchiriccò
> Labels: attribute, resource, schema, sync, task
> Fix For: 1.0.3-incubating, 1.1.0-incubating
>
> Attachments: content.xml, h2.sql, resource-files.zip
>
>
> Synching user attributes FROM a resource TO Syncope using DBTable connector.
> The attribute used as "Column Key" is a number(10) (it's an Oracle DB).
> If I define the attribute on Syncope as String it works well and when the sync starts,
> all updated entries are found and triggered for the update.
> Definig the same attribue as "Long" the sync task don't works.
> After deletions of all users, redefining the attribute in Sycope as Long, forced a Reset Token on external resource, the sync don't match on the attribute and no update operation occur.
> As requested I'll attach:
> 1. the external DB schema: it's DB VIEW so I'll attach desc command result
> 2. the DBTable connector configuration
> 3. the DB resource mapping
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SYNCOPE-230) Sync user attributes using a long
schema attribute as accountId
Posted by "Denis Signoretto (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNCOPE-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Denis Signoretto updated SYNCOPE-230:
-------------------------------------
Attachment: resource-files.zip
> Sync user attributes using a long schema attribute as accountId
> ---------------------------------------------------------------
>
> Key: SYNCOPE-230
> URL: https://issues.apache.org/jira/browse/SYNCOPE-230
> Project: Syncope
> Issue Type: Bug
> Components: core
> Affects Versions: 1.0.2-incubating
> Environment: Linux CentOs x86_64, Oracle 10g, Apache Tomcat 7.0.26, Java(TM) SE Runtime Environment (build 1.6.0_31-b04)- Java HotSpot(TM) 64-Bit Server VM
> Reporter: Denis Signoretto
> Labels: attribute, resource, schema, sync, task
> Attachments: resource-files.zip
>
>
> Synching user attributes FROM a resource TO Syncope using DBTable connector.
> The attribute used as "Column Key" is a number(10) (it's an Oracle DB).
> If I define the attribute on Syncope as String it works well and when the sync starts,
> all updated entries are found and triggered for the update.
> Definig the same attribue as "Long" the sync task don't works.
> After deletions of all users, redefining the attribute in Sycope as Long, forced a Reset Token on external resource, the sync don't match on the attribute and no update operation occur.
> As requested I'll attach:
> 1. the external DB schema: it's DB VIEW so I'll attach desc command result
> 2. the DBTable connector configuration
> 3. the DB resource mapping
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SYNCOPE-230) Sync user attributes using a long
schema attribute as accountId
Posted by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNCOPE-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francesco Chicchiriccò updated SYNCOPE-230:
-------------------------------------------
Attachment: content.xml
h2.sql
Helping files for reproducing the issue.
> Sync user attributes using a long schema attribute as accountId
> ---------------------------------------------------------------
>
> Key: SYNCOPE-230
> URL: https://issues.apache.org/jira/browse/SYNCOPE-230
> Project: Syncope
> Issue Type: Bug
> Components: core
> Affects Versions: 1.0.2-incubating
> Environment: Linux CentOs x86_64, Oracle 10g, Apache Tomcat 7.0.26, Java(TM) SE Runtime Environment (build 1.6.0_31-b04)- Java HotSpot(TM) 64-Bit Server VM
> Reporter: Denis Signoretto
> Assignee: Francesco Chicchiriccò
> Labels: attribute, resource, schema, sync, task
> Fix For: 1.0.3-incubating, 1.1.0-incubating
>
> Attachments: content.xml, h2.sql, resource-files.zip
>
>
> Synching user attributes FROM a resource TO Syncope using DBTable connector.
> The attribute used as "Column Key" is a number(10) (it's an Oracle DB).
> If I define the attribute on Syncope as String it works well and when the sync starts,
> all updated entries are found and triggered for the update.
> Definig the same attribue as "Long" the sync task don't works.
> After deletions of all users, redefining the attribute in Sycope as Long, forced a Reset Token on external resource, the sync don't match on the attribute and no update operation occur.
> As requested I'll attach:
> 1. the external DB schema: it's DB VIEW so I'll attach desc command result
> 2. the DBTable connector configuration
> 3. the DB resource mapping
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SYNCOPE-230) Sync user attributes using a long
schema attribute as accountId
Posted by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNCOPE-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francesco Chicchiriccò updated SYNCOPE-230:
-------------------------------------------
Fix Version/s: 1.1.0-incubating
1.0.3-incubating
Assignee: Francesco Chicchiriccò
I've been able to reproduce this problem in a "plain" embedded env with 1.0.2-incubating, using the provided H2 external DB as Oracle in the original case.
I am attaching the SQL statements and the configuration as XML.
> Sync user attributes using a long schema attribute as accountId
> ---------------------------------------------------------------
>
> Key: SYNCOPE-230
> URL: https://issues.apache.org/jira/browse/SYNCOPE-230
> Project: Syncope
> Issue Type: Bug
> Components: core
> Affects Versions: 1.0.2-incubating
> Environment: Linux CentOs x86_64, Oracle 10g, Apache Tomcat 7.0.26, Java(TM) SE Runtime Environment (build 1.6.0_31-b04)- Java HotSpot(TM) 64-Bit Server VM
> Reporter: Denis Signoretto
> Assignee: Francesco Chicchiriccò
> Labels: attribute, resource, schema, sync, task
> Fix For: 1.0.3-incubating, 1.1.0-incubating
>
> Attachments: resource-files.zip
>
>
> Synching user attributes FROM a resource TO Syncope using DBTable connector.
> The attribute used as "Column Key" is a number(10) (it's an Oracle DB).
> If I define the attribute on Syncope as String it works well and when the sync starts,
> all updated entries are found and triggered for the update.
> Definig the same attribue as "Long" the sync task don't works.
> After deletions of all users, redefining the attribute in Sycope as Long, forced a Reset Token on external resource, the sync don't match on the attribute and no update operation occur.
> As requested I'll attach:
> 1. the external DB schema: it's DB VIEW so I'll attach desc command result
> 2. the DBTable connector configuration
> 3. the DB resource mapping
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira