-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
Which Umbraco version are you using?
16.4-rc2
Bug summary
So I tried to upgrade to 16.4-rc2 from 13.12. It renders all my nodes unpublished, all of them having multiple issues, from DataType config to other thing.
I suspect some database migration is not in place. The Output windows displays different things on upgrade one or other version.
Upgrading my database from 13.12 to 16.1.1, works fine, and I see some db migrations executed first.
Detected current version 16.0.0 ({CC47C751-A81B-489A-A2BC-0240245DB687}), which needs to be upgraded to 16.1.1+7e82c25 ({D1568C33-A697-455F-8D16-48060CB954A1}). To compare versions and read a report of changes between versions, use the View Report button below.
I do same thing, same database, code, just I bump Umbraco versions:
Detected current version 16.0.0 ({CC47C751-A81B-489A-A2BC-0240245DB687}), which needs to be upgraded to 16.4.0-rc2+be11643 ({6A7D3B80-8B64-4E41-A7C0-02EC39336E97}). To compare versions and read a report of changes between versions, use the View Report button below.
All nodes become unpublished, when I try to publish one, I get errors:
[16:12:24 ERR] Exception (aa9c86a5).
System.InvalidOperationException: The given ColumnMapping does not match up with any column in the source or destination.
at Microsoft.Data.SqlClient.SqlBulkCopy.AnalyzeTargetAndCreateUpdateBulkCommand(BulkCopySimpleResultSet internalResults)
at Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerInternalRestContinuedAsync(BulkCopySimpleResultSet internalResults, CancellationToken cts, TaskCompletionSource`1 source)
at Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerInternalRestAsync(CancellationToken cts, TaskCompletionSource`1 source)
at Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerInternalAsync(CancellationToken ctoken)
at Microsoft.Data.SqlClient.SqlBulkCopy.WriteRowSourceToServerAsync(Int32 columnCount, CancellationToken ctoken)
Specifics
I can not upgrade first to 16.1 and then to 16.4 due to this issue: #20409
No response
Steps to reproduce
Upgrade bit more complex db from 13.12 to 16.4-rc2 directly
Expected result / actual result
Data is visible, but all nodes unpublished. And errors on save.