Starts in:
1 DAY
14 HRS
35 MIN
47 SEC
Starts in:
1 D
14 H
35 M
47 S

Activities of "balessi75"

Abp Commercial 5.2.0 / Blazor Server / EF / Non-tiered

Hi, we are receiving the below exception when using the virtual file system to override the default email confirmation text template. Everything works fine when running locally in VS, but the exception:

Volo.Abp.AbpException: Could not find a file/folder at the location: /Email/Templates/EmailConfirmation.tpl

occurs when running in azure. We noticed that this has been encountered before in the following post, but nothing posted there seems to work in our situation. https://support.abp.io/QA/Questions/2187/TemplateDefinitionProvider-ABP---Virtual-File-Path-not-working-after-deployment-to-Azure

We've looked at https://support.abp.io/QA/Questions/2187/TemplateDefinitionProvider-ABP---Virtual-File-Path-not-working-after-deployment-to-Azure Our .tpl files are flagged as an 'Embedded Resource' in our Application.Contracts Project and we have the following defined in the ConfigureServices method of the Application.Contracts project:

  Configure<AbpVirtualFileSystemOptions>(options =>
        {
            options.FileSets.AddEmbedded<TimepieceApplicationContractsModule>();
        });
2022-05-10 22:31:02.338 +00:00 [INF] Executed endpoint '/Account/Login'
2022-05-10 22:31:02.357 +00:00 [ERR] An unhandled exception has occurred while executing the request.
Volo.Abp.AbpException: Could not find a file/folder at the location: /Email/Templates/EmailConfirmation.tpl
   at Volo.Abp.TextTemplating.VirtualFiles.LocalizedTemplateContentReaderFactory.CreateInternalAsync(TemplateDefinition templateDefinition)
   at Volo.Abp.TextTemplating.VirtualFiles.LocalizedTemplateContentReaderFactory.CreateAsync(TemplateDefinition templateDefinition)
   at Volo.Abp.TextTemplating.VirtualFiles.VirtualFileTemplateContentContributor.GetOrNullAsync(TemplateContentContributorContext context)
   at Volo.Abp.TextTemplating.TemplateContentProvider.GetContentOrNullAsync(ITemplateContentContributor[] contributors, TemplateContentContributorContext context)
   at Volo.Abp.TextTemplating.TemplateContentProvider.GetContentOrNullAsync(TemplateDefinition templateDefinition, String cultureName, Boolean tryDefaults, Boolean useCurrentCultureIfCultureNameIsNull)
   at Volo.Abp.TextTemplating.TemplateRenderingEngineBase.GetContentOrNullAsync(TemplateDefinition templateDefinition)
   at Volo.Abp.TextTemplating.Scriban.ScribanTemplateRenderingEngine.RenderSingleTemplateAsync(TemplateDefinition templateDefinition, Dictionary`2 globalContext, Object model)
   at Volo.Abp.TextTemplating.Scriban.ScribanTemplateRenderingEngine.RenderInternalAsync(String templateName, Dictionary`2 globalContext, Object model)
   at Volo.Abp.TextTemplating.Scriban.ScribanTemplateRenderingEngine.RenderAsync(String templateName, Object model, String cultureName, Dictionary`2 globalContext)
   at Volo.Abp.TextTemplating.AbpTemplateRenderer.RenderAsync(String templateName, Object model, String cultureName, Dictionary`2 globalContext)
   at Volo.Abp.Account.Emailing.AccountEmailer.SendEmailConfirmationLinkAsync(IdentityUser user, String confirmationToken, String appName, String returnUrl, String returnUrlHash)
   at Volo.Abp.Account.AccountAppService.SendEmailConfirmationTokenAsync(IdentityUser user, String applicationName, String returnUrl, String returnUrlHash)
   at Volo.Abp.Account.AccountAppService.SendEmailConfirmationTokenAsync(SendEmailConfirmationTokenDto input)

Thanks in advance.

Abp Commercial 5.2.0 / Blazor Server / EF

Hi we are trying to troubleshoot an issue by creating a new solution at an older version by using the following CLI command

abp new FM.Test2 -u blazor-server -o c:\temp\FM.Test2 -v 4.2.0

The solution gets created, but for some reason there is no Blazor project in the solution that is created.

Please advise. Thanks in advance.

Abp Commercial 5.2.0 / Blazor Server / EF / Non-tiered

Hi, I was wondering if anyone had any insight or recommendations for an issue we are having after publishing our Abp solution to an Azure App Service.

Everything works perfectly when we run locally in VS, but when hitting the URL in Azure, we see the index start page right away, but when licking on 'login', after about 15 seconds, we receive a 502 error as shown below. We have monitored the application using Azure's Application Insights and we se no exceptions occurring and we see nothing in any of the Azure logs.

"502 - Web server received an invalid response while acting as a gateway or proxy server. There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server."

Any suggestions is greatly appreciated as this one really has us scratching our heads.

Great, thank you @gterdem

Abp Commercial 5.2.0 / Blazor Server / EF Core

We've overridden the User Management page, but noticed that the Grid is built using AbpExtensibleDataGrid, so it appears that UI customizations are not possible, is that correct?

We are attempting to modify the Actions drop-down button so that it has an icon within it (similar to what is seen in the Easy CRM demo that is not built with Blazor).

Is there a recommended approach to doing this?

Thanks in advance, -Brian

Abp Commercial 5.2.0 / Blazor Server / EF / Non-tiered

When there are more than 10 users to add to an organization unit (10 is the default page size), and you try to navigate to another page, nothing happens.

Please advise.

Thanks

Hi, as I know there is not any way to do that unless overriding the related page and applying the logic.

Or is there a way to manually create the input without using the <ExtensionProperties> component?

We use this component in modules to show extended properties on UI and it basically creates HTML tags for the extended properties by their type.

You can check the ExtensionProperties component component and create a new component for you to show extended properties on UI by your needs.

BTW, I've created an issue (#12249) for your suggestion and we'll consider it.

Excellent, thanks for the support @EngincanV

Hi @balessi75, it seems there is not any check on UI for Create and Edit forms. I've created an issue for this. Thanks for reporting.

Thanks @EngincanV!

While working on this, would you also be able to add the following two properties as a new feature? We actually have a business need for them...

property.UI.OnCreateForm.IsReadOnly; property.UI.OnEditForm.IsReadOnly;

Abp Commercial 5.2.0 / Blazor Server / EF Core

Hi,

We created an extended property on the IdentityUser entity and have overriden the UserManagment.razor page. We see the the expended property is rendered with the following...

<ExtensionProperties TEntityType="IdentityUserCreateDto" TResourceType="IdentityResource" Entity="@NewEntity" LH="@LH" />

How can one make the extended property read only? Is there a configuration somewhere? Or is there a way to manually create the input without using the <ExtensionProperties> component?

Thanks in advance, -Brian

Abp Commercial 5.2.0 / Blazor Server / EF Core / Non-tiered

Hi, We are using the ObjectExtensionManager to create a custom property on the IdentityUser entity and would like to do validation that requires an App Service call.

In the documentation (https://docs.abp.io/en/abp/latest/Object-Extensions#custom-validation) we see that custom validation can be accomplished with:

 options.Validators.Add(context =>
            {... }

... and that context.ServiceProvider can be used to call an application service for advanced validation scenarios.

The problem we are having is that ObjectExtensionManager is templated to reside in the Domain.Shared project which cannot have a reference to our application services due to circular dependency issues.

Are we missing something here, or is there a better/recommended way of accomplishing what we are looking for?

Thanks in advance, Brian

Showing 191 to 200 of 245 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06