Activities of "Sergei.Gorlovetsky"

  • ABP Framework version: v8.0.0
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace: 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'
  • Steps to reproduce the issue:

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.ConcurrentDictionary2.GetOrAdd(TKey key, Func2 valueFactory) at System.Collections.Generic.AbpDictionaryExtensions.GetOrAdd[TKey,TValue](ConcurrentDictionary2 dictionary, TKey key, Func1 factory) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleCache.GetOrAdd(String bundleName, Func1 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, List1 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, Nullable1 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'

  • ABP Framework version: v8.0
  • UI Type: Angula
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:

How to show tenant ID in HOST > Saas > Tenant list. I want to add a new column.

  • ABP Framework version: v8.0
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

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

  • ABP Framework version: v8.0
  • UI Type: Angular
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

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 ?

  • ABP Framework version: v8.0
  • UI Type: Angular
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

My API is already running in Azure App services. Now, after deploying Angular UI to Azure static web app, I am getting these errors:

Hello,

I have used this method (https://docs.abp.io/en/abp/latest/Object-Extensions#object-extension-manager) to extend Saas.Tenants

I have BlobConnectionString as new column in Saas.Tenants Table. I am wondering, how can I add that extra property in the API call while creating a new tenant ?

I tried to add that under extraproperties in the JSON body, but that did not help.

End point : /api/saas/tenants

{
    "extraProperties": {
        "blobConnectionString" : "abc"
    },
    "name": "tenant7",
    "editionId": null,
    "adminEmailAddress": "tenant3@mellowoodmedical.com",
    "adminPassword": "Test@123",
    "activationState": 0,
    "activationEndDate": "",
    "connectionStrings": {
        "id": "",
        "default": null,
        "databases": []
    }
}

Thanks, I appreciate your help. I will use /connect/token

Showing 11 to 20 of 68 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13