Activities of "mikeolofernes"

We recently updated the version of ABP from 6.0 to 7.0.3

I added a property using ABP Suite and the issue occured. didnt change anything other than adding a property and a navigational property.

This is the code before:

So when I updated the entity, the ABP Suite removed the ? on the backend codes.

Thanks, Mike

  • ABP Framework version: v7.0.3
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

How to use Telerik Reporting on Blazor WASM ABP Suite. Is there a right place to put the JS files need to use Telerik Reporting? IM having this errror.

I put the js url on the index.html under wwwroot

  • ABP Framework version: v6.0
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
Answer

Our API.Host is on Azure not on local. I dont know how to get it from there. Have you reproduced the issue? If not, may I know how to delete an Entity/Table from ABP Suite instead? I will just start from scratch. I noticed when deleting Entity on ABP is not fully deleted. Error will occur if I reused the Entity name.

Answer

hi

What's the error logs of API.Host?

I didnt checked the API.Host logs. You can reproduce it by

  1. create an entity
  2. add properties
  3. add navigation field
  4. save and generate then close the abp suite
  5. open abp again then update the entity you created
  6. remove the navigation then add another navigation but use other look up tables. save and generate.
  7. load the app then load the entity you created. try to add new entry

OR

  1. create an entity
  2. add properties
  3. save and generate then close the abp suite
  4. open abp again then update the entity you created
  5. add navigation, use other look up tables. save and generate.
  6. load the app then load the entity you created. try to add new entry

I also tried to delete the whole table/entity but its not fully deleted. tried to start from scratch. How to fully delete a table in abp suite?

Thanks, Mike

Question

Hi,

I created an entity using ABP suite. Then after a while, I updated the entity, added some fields and changed a datatype of one field. Then this error occurs.

Full error message: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component: Internal Server Error Volo.Abp.Http.Client.AbpRemoteCallException: Internal Server Error at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.<ThrowExceptionForResponseAsync>d__40[[FireBird.Jobs.IJobsAppService, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.<RequestAsync>d__34[[FireBird.Jobs.IJobsAppService, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.<RequestAsync>d__331[[FireBird.Jobs.IJobsAppService, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Volo.Abp.Application.Dtos.PagedResultDto1[[FireBird.Jobs.JobWithNavigationPropertiesDto, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptorClientProxy1.<CallRequestAsync>d__01[[FireBird.Jobs.IJobsAppService, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Volo.Abp.Application.Dtos.PagedResultDto1[[FireBird.Jobs.JobWithNavigationPropertiesDto, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1.<CallRequestAsync>d__261[[FireBird.Jobs.IJobsAppService, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Volo.Abp.Application.Dtos.PagedResultDto1[[FireBird.Jobs.JobWithNavigationPropertiesDto, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1.<GetResultAsync>d__27[[FireBird.Jobs.IJobsAppService, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1.<InterceptAsync>d__24[[FireBird.Jobs.IJobsAppService, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.<InterceptAsync>d__31[[Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1[[FireBird.Jobs.IJobsAppService, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Http.Client, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null],[Volo.Abp.Application.Dtos.PagedResultDto1[[FireBird.Jobs.JobWithNavigationPropertiesDto, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Castle.DynamicProxy.AsyncInterceptorBase.<ProceedAsynchronous>d__141[[Volo.Abp.Application.Dtos.PagedResultDto1[[FireBird.Jobs.JobWithNavigationPropertiesDto, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.<ProceedAsync>d__7[[Volo.Abp.Application.Dtos.PagedResultDto1[[FireBird.Jobs.JobWithNavigationPropertiesDto, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.<InterceptAsync>d__31[[Volo.Abp.Validation.ValidationInterceptor, Volo.Abp.Validation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null],[Volo.Abp.Application.Dtos.PagedResultDto1[[FireBird.Jobs.JobWithNavigationPropertiesDto, FireBird.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at FireBird.Blazor.Pages.Jobs.GetJobsAsync() in C:\Users\mikee\source\repos\FireBird-Modular\src\FireBird.Blazor\Pages\Jobs.razor.cs:line 136 at FireBird.Blazor.Pages.Jobs.OnInitializedAsync() in C:\Users\mikee\source\repos\FireBird-Modular\src\FireBird.Blazor\Pages\Jobs.razor.cs:line 99 at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync() at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

  • ABP Framework version: v6.0
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / blazor
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Password sent. You did not respond.

Do I need to share also the password?

I put the code in the backend of Blazor razor page then just created a button on the frontend to trigger the code.

using System; using System.Threading.Tasks; using Volo.Abp.Emailing; using Volo.Abp.Emailing.Templates; using Volo.Abp.TextTemplating;

namespace FireBird.Blazor.Pages;

public partial class Index { private readonly IEmailSender _emailSender; private readonly ITemplateRenderer _templateRenderer;

public Index(
IEmailSender emailSender,
ITemplateRenderer templateRenderer)
{
    _emailSender = emailSender;
    _templateRenderer = templateRenderer;
}

public async Task email()
{
    try
    {
        var body = await _templateRenderer.RenderAsync(
        StandardEmailTemplates.Message,
        new
        {
            message = "This is email body ABP test..."
        }
    );

        await _emailSender.SendAsync("mikeo@theservicemanager.com",
            "mikeo@theservicemanager.com",
            "ABP Email subject test",
            "This is email body ABP test..."
        );
    }
    catch (Exception ex)
    {
        var x = ex.Message;
    }
    
}

}

I am confused. Why are you asking me to create a new template? We used command lines to create the solution. something like abp new Acme.IssueManagement -t module-pro

Showing 1 to 10 of 20 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11