If you say they are removed in the newer version, does that mean these two pages are no longer available? Do you think we should upgrade our project abp version again?
Hi, after some testing, we figure out that we are not able to access to these two pages after commenting out those two lines
so these two files are sitting under here(this is my local env and i don't know how they are being generated)
I am pretty sure these files are generated by abp install-libs command right? but we are not able to run it in the Account.Pro project
We are trying to deploy our application on Azure, the build was succeeded and the application was able to start up. But it shows a 500 internal server server and blocking the log in UI after the application starts.
The Runtime error exception is below:
2024-09-05 19:45:25.561 +00:00 [ERR] An unhandled exception has occurred while executing the request.
Volo.Abp.AbpException: Could not find file '/_content/Volo.Abp.Account.Pro.Public.Blazor.Shared/libs/account/link-user.js'
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundlerBase.GetFileInfo(IBundlerContext context, String file)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundlerBase.GetAndMinifyFileContent(IBundlerContext context, String fileName)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundlerBase.GetFileContentConsideringMinification(IBundlerContext context, String fileName)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundlerBase.AddFileToBundle(IBundlerContext context, StringBuilder bundleContentBuilder, String fileName)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundlerBase.Bundle(IBundlerContext context)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleManager.<>c__DisplayClass17_0.<AddToBundleCache>b__0()
at System.Collections.Generic.AbpDictionaryExtensions.<>c__DisplayClass7_02.<GetOrAdd>b__0(TKey k) at System.Collections.Concurrent.ConcurrentDictionary
2.GetOrAdd(TKey key, Func2 valueFactory) at System.Collections.Generic.AbpDictionaryExtensions.GetOrAdd[TKey,TValue](ConcurrentDictionary
2 dictionary, TKey key, Func1 factory) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleCache.GetOrAdd(String bundleName, Func
1 factory)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleManager.AddToBundleCache(String bundleName, IBundler bundler, List1 bundleFiles) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleManager.GetBundleFilesAsync(BundleConfigurationCollection bundles, String bundleName, IBundler bundler) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleManager.GetScriptBundleFilesAsync(String bundleName) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpTagHelperScriptService.GetBundleFilesAsync(String bundleName) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpTagHelperResourceService.ProcessAsync(ViewContext viewContext, TagHelper tagHelper, TagHelperContext context, TagHelperOutput output, List
1 bundleItems, String bundleName)
at Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpBundleTagHelperService2.ProcessAsync(TagHelperContext context, TagHelperOutput output) at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner.<RunAsync>g__Awaited|0_0(Task task, TagHelperExecutionContext executionContext, Int32 i, Int32 count) at AboveGoal.Blazor.Pages.Pages__Host.<ExecuteAsync>b__18_1() at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext.SetOutputContentAsync() at AboveGoal.Blazor.Pages.Pages__Host.ExecuteAsync() in /home/vsts/work/1/s/src/AboveGoal.Blazor/Pages/_Host.cshtml:line 9 at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context) at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable
1 statusCode)
at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable`1 statusCode)
After investigation, It seems like it can not find three files at the following path: "/_content/Volo.Saas.Host.Blazor/libs/chart/chart.min.js /_content/Volo.Abp.Account.Pro.Public.Blazor.Shared/libs/account/link-user.js /_content/Volo.Abp.Account.Pro.Public.Blazor.Shared/libs/account/authority-delegation.js
and we replace the Account Module with the source code.
After commenting out the lines in AbpAccountBlazorBundleContributor, we were able to get away from this issue. public override void ConfigureBundle(BundleConfigurationContext context) { //context.Files.AddIfNotContains("/_content/Volo.Abp.Account.Pro.Public.Blazor.Shared/libs/account/link-user.js"); if (context.ServiceProvider.GetRequiredService<IOptions
Thanks, I found it myself actually.
I was following this https://abp.io/docs/latest/framework/ui/angular/data-table-column-extensions#data-table-column-or-entity-prop-extensions-for-angular-ui
but I was not able to find the correct import.
I was importing PropContributers from @abp/ng.tenant-manegement
, but infact the correct import is '@volo/abp.ng.saas'
Hello,
Is there any other efficient way to execute the DeleteAsync without running a select query (line 21 )
The task here is to soft delete the record for the given documentID
FYI: documentID and primary key of the table is different. So I am running a select query (line 21) to fetch the records and passing the file.id after that.
But I am wondering somehow, I can maybe remove the extra select query before running DeleteAsync()
How do I change the UI for login page ?
I see the login is redirecting to https://localhost:44000/ server side
Also, I want to keep login page as my landing page, how can I achieve that ?
Thanks, I will try this
I tried to follow this: https://docs.abp.io/en/abp/latest/UI/Angular/Component-Replacement#how-to-replace-logocomponent
However, I am finding it difficult to customize it as my logo overlaps with a few UI components here. Also, I couldn't find article on how to change favicon, title, etc.
Also, I want to change the content of this Home section. Can I get some reference URL on how to do that ?