Hi,
I've started to test the migration of our ADempiere instance to iDempiere.
Most of our customizations have been migrated to iDempiere keeping same database structure.
To avoid conflicts (I used centralized ID on ADempiere, starting with 300000), I delete all the Application Dictionnary objets (AD_Element, AD_Table, ...) with an ID >= 300000 AND <999999.
Then I execute all migration scripts to update the database to v2.1
And now, I'm using 2Pack to transfer modules from our "main" iDempiere base to the newly migrated one.
And I'm facing issues because columns were created as NVARCHAR2 (remember
https://idempiere.atlassian.net/browse/IDEMPIERE-1587 ?) and iDempiere is trying to update them using VARCHAR2.
But Oracle complains (as you can't change the datatype of a column when is not empty) and the import of 2Pack fails
I had to change a little the createColumn column of ColumnElementHandler to avoid those issues.
Don't know if it can be integrated in trunk, but you may find the little fix I use in attachment.
Regards,
Nicolas