KevinJump / uSync

Database syncing tool for Umbraco CMS
https://jumoo.co.uk/usync/
Mozilla Public License 2.0
110 stars 63 forks source link

USync seems to not be working in version 12.0.1 #509

Closed nikcio closed 1 year ago

nikcio commented 1 year ago

Describe the bug Hey, I have an integration test project where I test my Umbraco package. It runs with uSync with Firstboot to setup the content but when updating Umbraco to v12 and uSync from v11.2.1 to v12.0.1 uSync seems to stop working. I have a branch where you can test it out if you like. The setup is all in memory so it's easy to spin up 😄

To Reproduce Steps to reproduce the behavior:

  1. Go to https://github.com/nikcio/Nikcio.UHeadless/pull/188
  2. Pull the branch
  3. Open src/NikcioUHeadless.sln
  4. Start Nikcio.UHeadless.IntegrationTests.TestProject
  5. The content should be imported on startup with the first boot but isn't.
  6. If you go and manually import everything no content is imported.

Screenshots In uSync v11.2.1 & Umbraco v12 image

In uSync v12.0.1 & Umbraco v12 On boot. image

Import image After the import even if you refresh the content tab there's nothing

About your Site (please complete the following information):

nikcio commented 1 year ago

Btw sorry it's a bit broad I didn't have the time to troubleshoot myself yet😅

KevinJump commented 1 year ago

DOH! 12.0.1 was meant to fix that but I missed the first boot bit.

(At least I know what I did).

Thanks - I will use your repo to get it working locally and I suppose we go to 12.0.2

KevinJump commented 1 year ago

12.0.2 - passes the tests now. (and appears to actually work on firstboot)

https://www.nuget.org/packages/uSync/12.0.2

Silly mistake 🤦 , I have a larger bit of code lines up, but not pushing it until after holidays now.