leekelleher
06/06/2022, 3:06 PMKevin Jump
06/06/2022, 3:08 PM<ItemGroup>
<PackageReference Include="Our.Umbraco.Community.Contentment" Version="4.0.0-alpha004" />
<PackageReference Include="Umbraco.Cms" Version="10.0.0-rc4" />
<PackageReference Include="uSync" Version="10.0.0-beta1" />
</ItemGroup>
Kevin Jump
06/06/2022, 3:08 PMKevin Jump
06/06/2022, 3:08 PMKevin Jump
06/06/2022, 3:08 PMleekelleher
06/06/2022, 3:12 PMleekelleher
06/06/2022, 3:12 PM10.0.0-beta1
Kevin Jump
06/06/2022, 3:13 PMdotnet clean
will remove the old app_plugins/uSync
folderKevin Jump
06/06/2022, 3:14 PMp-m-j
06/06/2022, 3:15 PM/umbraco/LocalizedText
leekelleher
06/06/2022, 3:16 PMApp_Plugins/uSync
folder, uninstalling/reinstalling uSync ... but not getting Contentment's localizationsKevin Jump
06/06/2022, 3:17 PMleekelleher
06/06/2022, 3:18 PMleekelleher
06/06/2022, 3:19 PMpackage.manifest
leekelleher
06/06/2022, 3:20 PMp-m-j
06/06/2022, 3:21 PMp-m-j
06/06/2022, 3:25 PMp-m-j
06/06/2022, 3:27 PMp-m-j
06/06/2022, 3:27 PMleekelleher
06/06/2022, 3:27 PMp-m-j
06/06/2022, 3:28 PMp-m-j
06/06/2022, 3:28 PMKevin Jump
06/06/2022, 3:29 PMleekelleher
06/06/2022, 3:30 PMleekelleher
06/06/2022, 3:32 PMp-m-j
06/06/2022, 3:33 PMp-m-j
06/06/2022, 3:53 PMdotnet run
perform install
3. Stop site added package ref for contentment
4. Launch site with dotnet run
confirm contentment keys in /umbraco/localizedtext
5. Stop site added package ref for usync
6. Launch site with dotnet run
and only keys for usync show in /umbraco/localizedtext, contentment missing.
7. Stop site
8. Launch site with dotnet run
and keys show for both packages.leekelleher
06/06/2022, 3:56 PMp-m-j
06/06/2022, 3:56 PMSystem.NotSupportedException
HResult=0x80131515
Message=EntityType "dictionary-item" does not have a matching UmbracoObjectType.
Source=Umbraco.Core
StackTrace:
at Umbraco.Cms.Core.UdiEntityTypeHelper.ToUmbracoObjectType(String entityType) in C:\Users\Paul Johnson\Dev\umbraco\v10\src\Umbraco.Core\UdiEntityTypeHelper.cs:line 100
at uSync.Core.uSyncObjectType.ToUmbracoObjectType(String entityType)
p-m-j
06/06/2022, 3:58 PMp-m-j
06/06/2022, 3:59 PMleekelleher
06/06/2022, 4:04 PMp-m-j
06/06/2022, 4:05 PMleekelleher
06/06/2022, 4:06 PMleekelleher
06/06/2022, 4:33 PMwwwroot/App_Plugins/Contentment/Lang
then it will work every time!
From looking at umb core code, appears to be from here: https://github.com/umbraco/Umbraco-CMS/blob/release-10.0.0-rc4/src/Umbraco.Web.BackOffice/DependencyInjection/UmbracoBuilder.LocalizedText.cs#L45
should that be using webFileProvider
or contentFileProvider
to scan the App_Plugins folder?leekelleher
06/06/2022, 4:34 PMp-m-j
06/06/2022, 7:26 PMKevin Jump
06/06/2022, 8:05 PMp-m-j
06/06/2022, 9:00 PMdotnet pack umbraco.sln -o dist
p-m-j
06/06/2022, 9:01 PMleekelleher
06/07/2022, 10:58 AMleekelleher
06/07/2022, 11:04 AMdotnet run
) - which is pretty much my dev workflow, for debugging, etc.
If I don't need to do anything - I'm wondering what I say to folks who discover the same issue and think it's Contentment's bug/fault.
Feels like my options are to put the lang files in wwwroot (I'd like to avoid that), or remove the lang files and have hardcode labels (it's not like ALL of my pkg is localized anyway 😆 ) 🤷leekelleher
06/07/2022, 11:09 AMp-m-j
06/07/2022, 11:09 AMleekelleher
06/07/2022, 11:10 AMp-m-j
06/07/2022, 11:10 AMleekelleher
06/07/2022, 11:11 AMleekelleher
06/07/2022, 11:11 AMp-m-j
06/07/2022, 11:12 AMleekelleher
06/07/2022, 11:15 AMStaticWebAssetBasePath
and Umbraco 😆 )p-m-j
06/07/2022, 11:22 AMp-m-j
06/07/2022, 11:23 AMleekelleher
06/07/2022, 11:29 AMp-m-j
06/07/2022, 11:30 AMleekelleher
06/07/2022, 12:05 PMp-m-j
06/07/2022, 12:12 PMKevin Jump
06/07/2022, 8:22 PMp-m-j
06/07/2022, 8:38 PMKevin Jump
06/08/2022, 8:53 AMKevin Jump
06/08/2022, 8:54 AMKevin Jump
06/08/2022, 8:56 AMKevin Jump
06/08/2022, 8:56 AMKevin Jump
06/08/2022, 8:56 AMKevin Jump
06/08/2022, 8:57 AMKevin Jump
06/08/2022, 8:57 AMKevin Jump
06/08/2022, 9:27 AMp-m-j
06/08/2022, 9:28 AMKevin Jump
06/08/2022, 9:32 AMp-m-j
06/08/2022, 9:40 AMKevin Jump
06/08/2022, 10:09 AMUseUmbracoPluginStatic
files was moved up above the UseUmbracoCoreMiddleware
then anything triggering this early wouldn't cause this issue because the file provider would be loaded ?? https://github.com/umbraco/Umbraco-CMS/blob/v10/contrib/src/Umbraco.Web.Common/ApplicationBuilder/UmbracoApplicationBuilder.cs#L105~~ edit: yeah that doesn't change anything on that side of things .Kevin Jump
06/08/2022, 11:45 AMp-m-j
06/08/2022, 11:48 AMKevin Jump
06/08/2022, 11:50 AMleekelleher
06/08/2022, 7:56 PMleekelleher
06/09/2022, 7:23 AMKevin Jump
06/09/2022, 7:24 AMleekelleher
06/09/2022, 7:28 AM