I edited the files replacing the original two key/value pair with four key/pair values within the <![CDATA[{ }]]>
When i ran import it worked. This leads me to think it was an its an Umbraco upgrade that has changed the checkbox property editor from checkbox to toggle, as usync config files append toggle in the filename instead of checkbox.
Is the above editing to uSync dataType.config files ok to do ?
Hopefully above makes sense and enlighten more information on my issue
it looks like that was a breaking change in v8.8.0. #8477
A proper hard one two, not sure if there is a way for us to maintain full backwards compatibility (e.g., have uSync 8.11.2 work on 8.0.0 which it currently does) and fix this.
editing the files is fine and a possible fix, we might introduce a health check to move from a to b as that won't break existing code, but it's a bit of a pain 😟
Import Fail: Could not convert string to boolean: 0 Path 'Default', line 2, pos....
Hi uSync team
I am using Umbraco v8.17.2 with uSync v8.9.1.0 After an import, i get the error
on all checkbox DataTypes.
This is after i download my source code and build and go through fresh install to a local .sdf database
Any assistance would be great to resolve this issue
Thanks Dibs
Hi,
I can't find any specific fixes for that exact thing, but you should upgrade uSync to the highest version on v8 (v8.11.2) and see if that fixes it.
even if it doesn't it might give a better error message and give a pointer as to where we can look.
Hi Kevin
Thanks for reply back I have update uSync to v8.11.2, but still the same error after import : (
Dibs
Hi Kevin
After enabling debug logging the following warning level entries are in the logs:-
@MessageTemplate : No Handler with {alias} has been loaded alias : contentHandler SourceContext : uSync8.BackOfficeSyncHandlers.SyncHandlerFactory
various entries for the above with alias replaced with contentTemplateHandler, dictionaryHandler, domainHandler, mediaHandler
Does the above help in anyway to resolve my issue ?
Also, looking back i had upgraded from uSync v8.3.0 to v8.9.1
Dibs
Hi Dibs
Couple of questions:
I have done a few checks locally and I can't reproduce. 😔
What does the checkbox file you are importing look like ? e.g. The file in the datatypes folder ?
Hi Kevin
Further troubleshooting steps included reverting to original uSync version 8.3.0. this reulted in usync not displayed in backoffice.
Upgrade to latest veriosn 8.11.2, resulted in no change.
So, my next step was to look at the config files for a checkbox type and compare them with latest version of a checkbox config file.
I found that my files are :-
Latest files are
I edited the files replacing the original two key/value pair with four key/pair values within the
<![CDATA[{ }]]>
When i ran import it worked. This leads me to think it was an its an Umbraco upgrade that has changed the checkbox property editor from checkbox to toggle, as usync config files append toggle in the filename instead of checkbox.
Is the above editing to uSync dataType.config files ok to do ?
Hopefully above makes sense and enlighten more information on my issue
Dibs
Yeah
it looks like that was a breaking change in v8.8.0. #8477
A proper hard one two, not sure if there is a way for us to maintain full backwards compatibility (e.g., have uSync 8.11.2 work on 8.0.0 which it currently does) and fix this.
editing the files is fine and a possible fix, we might introduce a health check to move from a to b as that won't break existing code, but it's a bit of a pain 😟
Reflection to the rescue. https://github.com/KevinJump/uSync/issues/436
there is a nightly build with this fix in if you need it (although i suspect you have fixed it by editing the files?)
https://dev.azure.com/jumoo/Public/_artifacts/feed/nightly/NuGet/uSync/overview/8.11.3-build.20221114.8
Kevin
Cheers Kevin
For now i'll keep ma source code to make use of v8.9.1.0 and edit the files, to get the client requirements out.
Then look at upgrading uSync to 8.11.3 : )
Thanks for assistance Dibs
is working on a reply...