أنشطة "Navneet@aol.com.au"

Hi,

Should be:

https://github.com/NavneetProject/abp-commercial-docs/tree/{version}

Not https://github.com/NavneetProject/abp-commercial-docs/tree/1.0.0 .

. . Many thanks, it was easy fix. . .


. .

4

Replace OpenIddictApplication.cs with myOpenIddictApplication.cs Replace OpenIddictDbContextModelCreatingExtensions.cs with myOpenIddictDbContextModelCreatingExtensions.cs

You can't replace the OpenIddictApplication entity with your own. you can consider using the object extensions system: https://docs.abp.io/en/abp/latest/Customizing-Application-Modules-Extending-Entities

. .

In regards to point number number 4, if you need details info, I can send you by email due to client confidential codes. However, summary is below:

As ABP Commercial has OpenID module to add application via UI, my client is looking to add new application & assign Users or Roles to the application so that my client can control the access to application.

How can I achieve without replacing OpenID module code as I my license don't allow to download source code?

Regards, Navneet

screenshot below

Please try:

https://github.com/NavneetProject/abp-commercial-docs/tree/{version}

. . Hi Liangshiwei, I have tried exactly, but didn't work, I have send you GitHub token and Github User Agent by email

https://github.com/NavneetProject/abp-commercial-docs

Hi liangshiwei,

Thanks for your suggestion, Admin side is now working properly. . However public side, I am still getting errors: .

System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at Volo.Docs.GitHub.Projects.ProjectGithubExtensions.GetGitHubInnerUrl(Project project, String languageCode, String documentName)
   at Volo.Docs.GitHub.Documents.GithubDocumentSource.GetLastKnownSignificantUpdateTime(Project project, String documentName, String languageCode, String version, Nullable`1 lastKnownSignificantUpdateTime, Boolean isNavigationDocument, Boolean isParameterDocument, IReadOnlyList`1 commits, DateTime documentCreationTime)
   at Volo.Docs.GitHub.Documents.GithubDocumentSource.GetDocumentAsync(Project project, String documentName, String languageCode, String version, Nullable`1 lastKnownSignificantUpdateTime)
   at Volo.Docs.Documents.DocumentAppService.GetDocumentAsync(String documentName, Project project, String languageCode, String version, Document oldDocument)
   at Volo.Docs.Documents.DocumentAppService.GetDocumentWithDetailsDtoAsync(Project project, String documentName, String languageCode, String version)
   at Volo.Docs.Documents.DocumentAppService.GetDefaultAsync(GetDefaultDocumentInput input)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.GlobalFeatures.GlobalFeatureInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.Auditing.AuditingInterceptor.ProceedByLoggingAsync(IAbpMethodInvocation invocation, AbpAuditingOptions options, IAuditingHelper auditingHelper, IAuditLogScope auditLogScope)
   at Volo.Abp.Auditing.AuditingInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Volo.Docs.Pages.Documents.Project.IndexModel.GetSpecificDocumentOrDefaultAsync(String languageCode)
   at Volo.Docs.Pages.Documents.Project.IndexModel.SetDocumentAsync()
   at Volo.Docs.Pages.Documents.Project.IndexModel.SetPageAsync()
   at Volo.Docs.Pages.Documents.Project.IndexModel.OnGetAsync()
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.ExecutorFactory.GenericTaskHandlerMethod.Convert[T](Object taskAsObject)
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.ExecutorFactory.GenericTaskHandlerMethod.Execute(Object receiver, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeHandlerMethodAsync()
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeNextPageFilterAsync()
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.Rethrow(PageHandlerExecutedContext context)
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeInnerFilterAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ExceptionContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Volo.Abp.AspNetCore.Uow.AbpUnitOfWorkMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Volo.Abp.AspNetCore.ExceptionHandling.AbpExceptionHandlingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Volo.Abp.AspNetCore.ExceptionHandling.AbpExceptionHandlingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Volo.Abp.AspNetCore.Serilog.AbpSerilogMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Volo.Abp.AspNetCore.Auditing.AbpAuditingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Volo.Abp.AspNetCore.Auditing.AbpAuditingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Volo.Abp.AspNetCore.MultiTenancy.MultiTenancyMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Volo.Abp.AspNetCore.Security.AbpSecurityHeadersMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)

Regards, Navneet

Thanks Hinairusu for your suggestions . . . Hi Liangshiwei, can you please suggest how to fix volo.docs, I have attached screenshots in previous post

Regards Navneet

Hi,

Sorry again,

The rich text editor convert my reply and make it wrong.

Please try this: https://gist.github.com/realLiangshiwei/7ffd48434a102097ca9168016a8a5359

We are getting close to fix, however there is still icon missing from list, please see below:


For Point 2, It is already referred in the project, please see screenshot:

You also need to install admin.application , admin.application.contract, admin.httpapi etc... packages.

after adding volo docs admin modules, I can now add documents and pull from GitHub, however I am getting below errors: . . . In UI header and value is mapped incorrectly, however in database everything looks correct: .

. . Maybe because of above, I am getting error while browsing: . . . Regards, Navneet

Hi,

For point 1, it has created another issue, please see below screenshot:

Please update the Default.cshtml

@using Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX.Themes.LeptonX.Components.SideMenu.MainMenu 
@using Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX.Themes.LeptonX.Components.Common.MobileGeneralSettings 
@using Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX.Themes.LeptonX.Components.SideMenu.MobileNavbar 
@using Volo.Abp.LeptonX.Shared.Localization 
@using Microsoft.Extensions.Localization 
@using Volo.Abp.Users 
 
@model MobileNavbarViewModel 
@inject ICurrentUser CurrentUser 
@inject IStringLocalizer<LeptonXResource> L 
 
<div class="lpx-mobile-navbar-container"> 
  <div class="lpx-mobile-navbar"> 
  	<ul class="lpx-mobile-nav-tabs"> 
 
  		@foreach (var viewModel in Model.SelectedMenuItems) 
  		{ 
  			var url = string.IsNullOrEmpty(viewModel.MenuItem.Url) ? "#" : Url.IsLocalUrl(viewModel.MenuItem.Url) ? Url.Content(viewModel.MenuItem.Url.EnsureStartsWith('~')) : viewModel.MenuItem.Url; 
 
  			<li class="lpx-mobile-nav-tab"> 
  				<a id="@viewModel.MenuItem.ElementId" href="@url" target="@viewModel.MenuItem.Target" class="lpx-mobile-nav-item @viewModel.MenuItem.CssClass"> 
  					<i class="menu-item-icon @viewModel.MenuItem.Icon" aria-hidden="true"></i> 
  					<span class="mobile-item-text"> @viewModel.MenuItem.DisplayName </span> 
  				</a> 
  			</li> 
  		} 
 
  		<li class="lpx-mobile-nav-tab menu-toggle"> 
  			<a href="javascript:void(0)" class="lpx-mobile-hamburger" data-lpx-mobile-menu-toggle="routes"> 
  				<span class="hamburger-icon" aria-hidden="true"> 
  					<span class="icon-part"></span> 
  					<span class="icon-part"></span> 
  					<span class="icon-part"></span> 
  					<span class="icon-part"></span> 
  					<span class="icon-part"></span> 
  					<span class="icon-part"></span> 
  				</span> 
  			</a> 
  		</li> 
 
  		<li class="lpx-mobile-nav-tab"> 
  			<a class="lpx-mobile-nav-item" data-lpx-mobile-menu-toggle="settings"> 
  				<i class="menu-item-icon bi bi-gear-wide-connected" aria-hidden="true"></i> 
  				<span class="mobile-item-text">Settings</span> 
  			</a> 
  		</li> 
  		<li class="lpx-mobile-nav-tab"> 
  			@if (CurrentUser.IsAuthenticated) 
  			{ 
  			  <a class="lpx-mobile-nav-item" data-lpx-mobile-menu-toggle="user"> 
  			  <div class="lpx-avatar"> 
  				   <img class="lpx-avatar-img" src="@Model.ProfileImageUrl" alt="admin avatar"> 
  				</div> 
 
  			    <span class="mobile-item-text">@CurrentUser.UserName</span> 
  			  </a> 
  			} 
  			else 
  			{ 
  			  <a href="~/account/login" class="lpx-mobile-nav-item"> 
  			    <i class="menu-item-icon bi bi-person-fill" aria-hidden="true"></i> 
  			    <span class="mobile-item-text">@L["Login"]</span> 
  			  </a> 
  			} 
  		</li> 
  	</ul> 
  </div> 
 
  <div class="lpx-mobile-menu hidden"> 
  	<div class="lpx-logo-container"> 
  		<a href="/"> 
  			<div class="lpx-brand-logo"></div> 
  		</a> 
  	</div> 
  	<ul class="lpx-nav-menu d-none" data-lpx-mobile-menu="routes"> 
  		@await Component.InvokeAsync(typeof(MainMenuViewComponent)) 
  	</ul> 
 
  	<ul class="lpx-nav-menu d-none" data-lpx-mobile-menu="settings"> 
  		@await Component.InvokeAsync(typeof(MobileGeneralSettingsViewComponent)) 
  	</ul> 
 
  	<ul class="lpx-nav-menu d-none" data-lpx-mobile-menu="user"> 
  		<div class="d-flex ps-3 pe-3"> 
  			<div class="lpx-avatar me-2"> 
  				<a class="lpx-mobile-nav-item"><img class="lpx-avatar-img" src="@Model.ProfileImageUrl" alt=""></a> 
  			</div> 
 
  			<div class="d-flex flex-column" style="line-height: normal"> 
  				<span class="fs-12">@L["Welcome"] <span class="color-active-text"> @CurrentUser.UserName </span> </span> 
  				<span class="color-active-text">@CurrentUser.Name @CurrentUser.SurName</span> 
  				<span class="fs-12">@CurrentUser.Email</span> 
  			</div> 
  		</div> 
 
  		@if (Model.UserMenu != null) 
  		{ 
  			foreach (var menuItem in Model.UserMenu.Items) 
  			{ 
  				var url = string.IsNullOrEmpty(menuItem.Url) ? "#" : Url.IsLocalUrl(menuItem.Url) ? Url.Content(menuItem.Url.EnsureStartsWith('~')) : menuItem.Url; 
 
  				<li class="outer-menu-item"> 
  					<a class="lpx-menu-item-link lpx-menu-item @menuItem.CssClass" href="@url" target="@menuItem.Target" id="@menuItem.ElementId"> 
  						<span class="lpx-menu-item-icon"><i class="lpx-icon bi @menuItem.Icon" aria-hidden="true"></i></span> 
 
  						<span class="lpx-menu-item-text hidden-in-hover-trigger">@menuItem.DisplayName</span> 
  					</a> 
  				</li> 
  			} 
  		} 
  	</ul> 
  </div> 
</div> 

For Point 2, It is already referred in the project, please see screenshot:

You also need to install admin.application , admin.application.contract, admin.httpapi etc... packages.

The swagger UI missing some resources, does 7.0.3 has bugs?, please see attached screenshots:

You can move the DocsWebModule to the WebPublic project.

Hi,

Your suggested html didn't fix the issue (Please note, I didn't find any difference in HTML you sent me earlier and Yesterday, both looks same), I am using LeptonX version 2.0.5 and ABP pro 7.0.3

Thanks liangshiwei,

For point 1, it has created another issue, please see below screenshot:

For Point 2, It is already referred in the project, please see screenshot:

The swagger UI missing some resources, does 7.0.3 has bugs?, please see attached screenshots:

Am I doing something incorrect while creating projects via ABP Suite?

Regards, Navneet

HI Liangshiwei,

I have sent you email with download link

Regards, Navneet

عرض 41 الي 50 من 56 إدخالات
Made with ❤️ on ABP v8.2.0-preview Updated on مارس 25, 2024, 15:11