[ https://issues.apache.org/jira/browse/SYNCOPE-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francesco Chicchiriccò resolved SYNCOPE-1364. --------------------------------------------- Resolution: Fixed Thanks for reporting; the problem is now fixed. 2_1_X: https://git-wip-us.apache.org/repos/asf?p=syncope.git;h=38dc035 master: https://git-wip-us.apache.org/repos/asf?p=syncope.git;h=8ebd80a > Upgrade tool from 2.0 script error > ---------------------------------- > > Key: SYNCOPE-1364 > URL: https://issues.apache.org/jira/browse/SYNCOPE-1364 > Project: Syncope > Issue Type: Bug > Components: core > Affects Versions: 2.1.1 > Reporter: Filipe Silva > Assignee: Francesco Chicchiriccò > Priority: Blocker > Fix For: 2.1.2, 3.0.0 > > > The upgrade.sql file generated with the upgrade tool has a script error: > wrong column name > {code:java} > INSERT INTO RealmAction(task_id,implementation_id) VALUES( ... > {code} > and should be > {code:java} > INSERT INTO RealmAction(realm_id,implementation_id) VALUES( ... > {code} > I think the problem is in > core/upgrade/src/main/java/org/apache/syncope/core/upgrade/GenerateUpgradeSQL.java > (line 381) > {code:java} > OUT.write("_INSERT_ _INTO_ _RealmAction_(task_id,implementation_id) VALUES(" > {code} > should be corrected to > {code:java} > OUT.write("_INSERT_ _INTO_ _RealmAction_(realm_id,implementation_id) VALUES(" > {code} > (test with postgres DB) -- This message was sent by Atlassian JIRA (v7.6.3#76005)