Activities of "ddelamare"

I am seeing wrong icons in the popups and now I am seeing them in the data grids.

I have resolved the issue. It was caused by our service called IntegrationAppService which was generating bad routes in version 8.0.2. After renaming the class to IntegrationsAppService, it worked correctly. This leads me to believe that there is some conflict in the names with the new ABP version.

For future reference, I used this code in the Program.cs of the API host right before the app.RunAsync() call to figure out the issue.

/*

  • Uncomment this snippet to have it throw an exception when there's an invalid route. Then data can be
  • extracted from the exception to find the pattern of the broken route. var endpointSources = builder.Services.GetRequiredService<IEnumerable<EndpointDataSource>>(); // This call will throw an execption for invalid routes. var endpoints = endpointSources.SelectMany(es => es.Endpoints); */

/*

  • Running this in the immediates window while having a debugger breaking before the exception will list
  • all of the routes with invalid patterns.

var problem = ((Microsoft.AspNetCore.Routing.CompositeEndpointDataSource)endpointSources.First()).DataSources.First(); var actions = ((Microsoft.AspNetCore.Mvc.Routing.ControllerActionEndpointDataSource)problem)._actions.ActionDescriptors; actions.Items.Where(x => x.Properties.Count == 1 && x.AttributeRouteInfo.Template.Contains("//")) */

Note that the error persists after removing the AppController class from the project.

I am aware of what the route should be, but the issue is that we do not have that route specified in our controller. I attempted to run the 8.x template project but it fails out of the box.

Here are all of the public methods in our controller

[Route("api/app")]
public class AppController : AbpController

[HttpGet]
[Route("manifest.webmanifest")]
public async Task Manifest()

[HttpGet]
[Route("asset/{name}")]
public async Task Asset(string name)

[HttpGet]
[Route("seo/asset/{tenantId}/{name}")]
public async Task SeoAsset(Guid tenantId, string name)
Showing 1 to 4 of 4 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 12, 2024, 07:15