Starts in:
1 DAY
20 HRS
8 MIN
58 SEC
Starts in:
1 D
20 H
8 M
58 S

Activities of "Spospisil"

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v6.0.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

Hi,

I am opening another ticket on my issue because at this point I have exhausted all ideas/attempts at getting a new record into the database from an application service. Previously you told me that you had no issue with this sample project however when I run it although it may work the first and second time, but eventually it gives me a 'Volo.Abp.Http.Client.AbpRemoteCallException: An error occurred during the ABP remote HTTP request. (The operation was canceled).' error. At this point I'm out of ideas and need assistance getting this test solution to work consistently every time.

See the below link for the git repo and the steps to reproduce. What does not make sense is that I can call my custom application services and subsequent associated repository methods when the logic is in a class inherited from AbpViewComponent (Which is in the web project too) but not from just a normal class (DashboardStorageExtension). Make sure you get the latest version of this project from github please.

Run the migrations associated with the solution Login as host user/admin From the Setup Menu click 'Setup' From the resulting Dashboard list page choose the 'New Dashboard' button on the right. Click 'Create' in the middle of the screen Drag a dashboard control onto the main part of the designer From the hamburger menu in the upper left click the 'Save' option

The error occurs in the DashboardAppService class on the below highlighted line. For some reason it cannot insert a new record into the table. I was able to get past the previous issue of the service itself not being injected properly but now it seems like I cannot do anything database related from my injected service.

I've given access to https://github.com/maliming for the git repository that contains the example project showing the issue

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v6.0.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

Hi,

I've created another test project showing the issue I am not having with being able to save a entity to the database. See the below link for the git repo and the steps to reproduce. What does not make sense is that I can call my custom application services and subsequent associated repository methods when the logic is in a class inherited from AbpViewComponent (Which is in the web project too) but not from just a normal class (DashboardStorageExtension).

Run the migrations associated with the solution Login as host user/admin From the Setup Menu click 'Setup' From the resulting Dashboard list page choose the 'New Dashboard' button on the right. Click 'Create' in the middle of the screen Drag a dashboard control onto the main part of the designer From the hamburger menu in the upper left click the 'Save' option

The error occurs in the DashboardAppService class on the below highlighted line. For some reason it cannot insert a new record into the table. I was able to get past the previous issue of the service itself not being injected properly but now it seems like I cannot do anything database related from my injected service.

I've given access to https://github.com/maliming for the git repository that contains the example project showing the issue

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v6.0.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

I have 3 menu items at the 2nd structural level of my left side nav menu. The structure is as follows. As shown in the screenshot when I click the Test Sub Menu the 3 menu items belonging to Test Sub Menu do not show. If you want to reproduce this issue just add the below code to your class that implements the IMenuContributor interface.

Test Menu 1 Test Sub Menu Test Menu Item 1 Test Menu Item 2 Test Menu Item 3

Code to reproduce

    var miMenu1 = new ApplicationMenuItem(
        name: "TestMenu1",
        displayName: "Test Menu 1",
        elementId: "TestMenu1",
        order: 1
        ).RequireAuthenticated();

    var miMenu1SubMenu1 = new ApplicationMenuItem(
        name: "TestMenu1SubMenu1",
        displayName: "Test Sub Menu",
        elementId: "TestMenu1SubMenu1",
        order: 1
        ).RequireAuthenticated();

    miMenu1SubMenu1.Items.Add(
        new ApplicationMenuItem (
        "TestMenuItem1",
        "Test Menu Item 1",
        "TestMenuItem1",
        order: 1
        ).RequireAuthenticated());

    miMenu1SubMenu1.Items.Add(
        new ApplicationMenuItem(
        "TestMenuItem2",
        "Test Menu Item 2",
        "TestMenuItem2",
        order: 2
        ).RequireAuthenticated());

    miMenu1SubMenu1.Items.Add(
        new ApplicationMenuItem(
        "TestMenuItem3",
        "Test Menu Item 3",
        "TestMenuItem3",
        order: 3
        ).RequireAuthenticated());

    miMenu1.Items.Add(miMenu1SubMenu1);

    //Add Application Security Group menu item
    context.Menu.GetAdministration().AddItem(miMenu1);
  • ABP Framework version: v6.0.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

I am having an issue injecting ANY repository into a ApplicationService class that is being used by the DevExpress Dashboard control to 'Save' a dashboard definition to the database. If I inject it via the class constructor the project throws an error and I try to get the repository manually using the .GetRequiredService<> method it tells me the repository has not been registered.

I've created a sample application to show the issue. If you tell me your github username I will give you access to it and tell you exactly how to reproduce it.

Thanks.

Steve

Question
  • ABP Framework version: v5.3.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Tiered

We are using Stripe to bill our customers under defined conditions from our application. For example, when a customer adds a new user we want our application to automatically charge their credit card that we have on file in an automated way without any Stripe screens coming up. It appears ABP's implementation of the stripe gateway requires additional input on the stripe screens to complete the transaction. Is there a way for us to pass this additional information required in the messaging to Stripe so that additional input is not needed via user intereaction?

Thanks.

  • ABP Framework version: v5.3.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

I have a tiered MVC application for which I have overridden the ConfirmUser page in the Identity Server project of my solution. I would like to call an API action defined by my xxxx.HttpApi.Host project from the Identity Server project. How can I do this?

See github repo sample that shows what I'm trying to do. In particular take a look at the \Pages\Account\ConfigmUser.js file to see that I am trying to refer to the 'TestService' that is defined in the AbpSample.Application project.

https://github.com/spospisil/abpSample.git

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v5.3.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

I would like my tenant's admin by default (when creating a tenant via the Saas module) to not have access to certain modules. I see that if I add a row to the FeatureValues table as shown below I can prevent the module from showing up in the Tenant's Role/User 'permission' modal, however there doesn't seem to be one for 'Payment' or 'Account' and for that matter within the 'Identity Management' group I see various permissions within the module that I do not want displayed at all on the Permissions modal.

Question
  • ABP Framework version: v5.3.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

Is there an update to this thread?

https://github.com/abpframework/abp/issues/2611

  • ABP Framework version: v5.2.1
  • UI type:MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Tiered

I am not able to call an ABP service directly from Javascript. It appears as if my ABP Service is not being included in the ServiceProxyScript that gets loaded. Steps to reproduce issue.

  • Run the DB migrator to create DB
  • Log in as admin
  • Go to the dashboard page
  • At the bottom of the dashboard page is a button with the caption 'Save'
  • Push the Save button to call the javascript code block below.

$('#CallFunctionButton').click(function (e) { structureWeb.companyTenant().then(function (result) { console.log(result.items); }); });

  • ABP Framework version: v5.1.3
  • UI type: MVS
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Tiered MVC

Is it possible to call one of my Application Services (that returns a List collection from values from the DB) within a class that inherits from the PermissionDefinitionProvider to dynamically create PermissionDefinition objects? I create an instance of my application service using the **var permissionService = context.ServiceProvider.GetRequiredService(); **statement but after the service calls the supporting repository lookup I get an "Instances cannot be resolved and nested lifetimes cannot be created from this LifetimeScope as it (or one of its parent scopes) has already been disposed."

This same application service/method is used elsewhere in my application without any issues, so it appears to not work when I use it within a class that inherits from the PermissionDefinitionProvider class.

This exception was originally thrown at this call stack: Autofac.Core.Lifetime.LifetimeScope.CheckNotDisposed() Autofac.Core.Lifetime.LifetimeScope.BeginLifetimeScope(object) Autofac.Core.Lifetime.LifetimeScope.BeginLifetimeScope() Autofac.Extensions.DependencyInjection.AutofacServiceScopeFactory.CreateScope() Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(Volo.Abp.DynamicProxy.IAbpMethodInvocation) in UnitOfWorkInterceptor.cs System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult() Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter.InterceptAsync(Castle.DynamicProxy.IInvocation, Castle.DynamicProxy.IInvocationProceedInfo, System.Func&lt;Castle.DynamicProxy.IInvocation, Castle.DynamicProxy.IInvocationProceedInfo, System.Threading.Tasks.Task>) ... [Call Stack Truncated]

Showing 31 to 40 of 72 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06