Skip to content

How do we get a new nuget package for ContentPermissions updated to OrchardCore 3.0.0? #291

Description

@dalenewman

How do we get a new nuget package for ContentPermissions updated to OrchardCore 3.0.0 published?

Presently, https://www.nuget.org/packages/OrchardCoreContrib.ContentPermissions is 1.1.0 and bound to OrchareCore 2. Looks like OrchardCore.Security.Services.IRoleService has moved 😬. I see runtime errors like this:

19:52:06||0HNMN09KA569H:0000006F|OrchardCore.ContentManagement.Display.ContentItemDisplayManager|ERR|TypeLoadException thrown from IContentDisplayHandler by OrchardCore.ContentManagement.Display.ContentItemDisplayCoordinator
System.TypeLoadException: Could not load type 'OrchardCore.Security.Services.IRoleService' from assembly 'OrchardCore.Infrastructure.Abstractions, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
2
   at System.Signature.Init(ObjectHandleOnStack _this, Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, RuntimeMethodHandleInternal methodHandle)
   at System.Reflection.RuntimeConstructorInfo.<get_Signature>g__LazyCreateSignature|21_0()
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateConstructorCallSite(ResultCache lifetime, ServiceIdentifier serviceIdentifier, Type implementationType, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateExact(ServiceDescriptor descriptor, ServiceIdentifier serviceIdentifier, CallSiteChain callSiteChain, Int32 slot)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateCallSite(ServiceIdentifier serviceIdentifier, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at OrchardCore.ContentManagement.Display.ContentDisplay.ContentPartDisplayDriverResolver.GetEditorDrivers(String partName, String editor)
   at OrchardCore.ContentManagement.Display.ContentItemDisplayCoordinator.BuildEditorAsync(ContentItem contentItem, BuildEditorContext context)
   at OrchardCore.Modules.InvokeExtensions.<InvokeAsyncCore>g__InvokeAsyncAwaited|14_0[TEvents,TState](IEnumerator`1 enumerator, TEvents sink, Task task, TState state, Func`3 dispatch, ILogger logger)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions