Activities of "devpayoff"

probably will be fixed 1-2 hours Really??

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, and please first use the search on the homepage. Provide us with the following info:

  • ABP Framework version: v7.4.5
  • UI Type: Angular
  • Database System: EF Core
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

{ type: ePropType.Enum, name: 'type', id: 'type', displayName: 'Blox::Entity:ModelDetail.Type', options: data => { return data.getInjected(ContentModelDetailService).getTypeSelectOptions$(); }, validators: () => [Validators.required] }, { type: ePropType.Enum, name: 'encryption', id: 'encryption', displayName: 'Blox::Entity:ModelDetail.EncryptionKeys', options: data => { return data.getInjected(ContentModelDetailService).getTypeEncryption$() ?? null; }, defaultValue: null as unknown as string, visible: data => { debugger; return true; } },

I have these 2 props, both select, i don't know how to get the value selected in my "type" prop, in debug i have record that is undefined (it's filled only in editForm and not dynamic) so how i get the value of my "type" prop dynamically so every time i change it i can hide or not my "encryption" select?

  • ABP Framework version: v7.4.5
  • UI Type: Angular
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): tiered
  • Exception message and full stack trace:
  • Steps to reproduce the issue: call to /connect/revocat (consequento to invocation in Angular of method oAuthService.revokeTokenAndLogout();

Sometimes we get this error,

  • is it important?
  • when happens is the token revoked?
  • how can we avoid it?

System.ObjectDisposedException: Cannot access a disposed context instance. A common cause of this error is disposing a context instance that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. This may occur if you are calling 'Dispose' on the context instance, or wrapping it in a using statement. If you are using dependency injection, you should let the dependency injection container take care of disposing context instances. Object name: 'OpenIddictProDbContext'. at Microsoft.EntityFrameworkCore.DbContext.CheckDisposed() at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices() at Microsoft.EntityFrameworkCore.DbContext.get_ChangeTracker() at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.OnStateChanged(InternalEntityEntry internalEntityEntry, EntityState oldState) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState oldState, EntityState newState, Boolean acceptChanges, Boolean modifyProperties) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState entityState, Boolean acceptChanges, Boolean modifyProperties, Nullable1 forceStateWhenUnknownKey, Nullable1 fallbackState) at Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry.set_State(EntityState value) at Volo.Abp.OpenIddict.EfCoreOpenIddictDbConcurrencyExceptionHandler.HandleAsync(AbpDbConcurrencyException exception) at Volo.Abp.OpenIddict.Tokens.AbpOpenIddictTokenStore.UpdateAsync(OpenIddictTokenModel token, CancellationToken cancellationToken) at OpenIddict.Core.OpenIddictTokenManager1.UpdateAsync(TToken token, CancellationToken cancellationToken) at Volo.Abp.OpenIddict.Tokens.AbpTokenManager.UpdateAsync(OpenIddictTokenModel token, CancellationToken cancellationToken) at OpenIddict.Core.OpenIddictTokenManager1.TryRevokeAsync(TToken token, CancellationToken cancellationToken)

  • ABP Framework version: v7.4.5
  • UI Type: Angular
  • Database System: EF Core (Pgsql)
  • Angular: yes
  • OpenIddict: yes

We have a multi-tenant system based on url, so for every tenant we have a different url.

Currently, when users request a password reset and receive the email, the reset link provided redirects them to the host URL instead of the respective tenant URL. This results in an error as the system cannot locate the user in the host environment.

We have identified that the problem lies in the Text Templates, specifically in the model.link of Abp.Account.PasswordResetLink. The link generated consistently redirects to the host URL, causing the mentioned inconvenience.

How can we fix that?

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, and please first use the search on the homepage. Provide us with the following info:

  • ABP Framework version: v7.4.1
  • UI Type: Angular
  • Database System: EF Core
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

We want to manage the users session in such a way that after 20 minutes of inactivity a popup appears that asks the user if he wants to stay connected, if he doesn't press yes he will logout.

How can we do that?

Thank you

Answer

hi

The login page belongs to MVC. right?

https://support.abp.io/QA/Questions/160/How-to-customize-an-ABP-project

I m working with angular, what s the best way to modify login page in angular?

Question
  • ABP Framework version: v7.4.1
  • UI Type: Angular
  • Database System: EF Core
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

How can i modify the login page like adding a button? Do i need to do a custom login page for only adding a button or i can do something else?

I can't find a way to upload my yarn.lock....

Yes, disabling optimization it works, but it's not something we can accept. We could manage to solve the issue UPGRADING all Angular packages to ver. ~16.2.8 and "@angular-devkit/build-angular": "~16.2.5".

  • ABP Framework version: v7.3.3
  • UI Type: Angular
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
main.32733563c8aaffad.js:1 Uncaught TypeError: Cannot set properties of undefined (setting 'ɵfac')
    at 4160 (main.32733563c8aaffad.js:1:1216871)
    at l (runtime.e3f26f76c119af31.js:1:127)
    at 63849 (main.32733563c8aaffad.js:1:80537)
    at l (runtime.e3f26f76c119af31.js:1:127)
    at main.32733563c8aaffad.js:1:1332542
    at n (runtime.e3f26f76c119af31.js:1:32226)
    at main.32733563c8aaffad.js:1:53

  • Steps to reproduce the issue: generate the commercial template with abp new prova -t app-pro -u angular -v 7.3.3 build in production mode with npm run "build:prod" serve it locally with cd dist/prova && npx --yes angular-http-server

We encounter the SAME issue with our deployed app (based on ABP 7.3.2, when deleting yarn.lock and republishing it) and with commercial template v 7.4. (since our deployed app builds and runs correctly with an older yarn.lock file and the same codebase, it seems an issue related to upgraded versions of some package...., but it's absurd that this happens also with a clean template!) Really need help... thank you

Showing 1 to 10 of 13 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11