ControllerBase
? https://github.com/OrchardCMS/OrchardCore/blob/339d74b251b53393dd510f8ad3027aa17d78500d/src/OrchardCore/OrchardCore.Mvc.Core/Utilities/ControllerTypeExtensions.cs#L10 . When creating an API controller, one would using ControllerBase not Controller
@/all we have released on the cloudsmith feed the packages that we intend to ship for 1.1.0.
To test them you need to add this url in your nuget.config with <add key="OrchardCore" value="https://nuget.cloudsmith.io/orchardcore/preview/v3/index.json" />
, and reference OrchardCore packages with version 1.1.0-preview-16522
As soon as enough people have verified these packages work, I'll publish them on NuGet.
Testing means going through the Setup, testing some features work, and ensuring our guides from the documentation work too.
Thanks
.Add(S["Colors"], "5", t => t
.Action("List", adminControllerName, new { area = "OrchardCore.Contents", ContentType = "Color" })
.Permission(CommonPermissions.EditContent)
.LocalNav()
var userData = await Orchard.GetUserByIdAsync(User.Identity.Name);
(using decoupled razor pages) and it would return all of the info and fields for that user. However, when I create a new user in v1.0.0 or v1.1.0, all I get is a null when using this method. The method works for the older users created in the previous version, but this method doesn't seem to work for users created in the new version for some reason. Is there another method or process for retrieving custom fields/info for users?