Activities of "isteer"

How I can share logs as I can not attach log txt file and can not copy logs text as it is not allowing me to post big logs text.

hi

please share the logs of these three websites.

Hello Please find attached logs here

Hello Team,

OUR ABP CONFIGURATION:

ABP Framework version: v7.0.0 UI type: MVC DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): Tiered MVC Exception message and stack trace

We have deployed our ABP application on IIS server, we have tiered MVC application so we hosted all ports:

  1. Auth server (port - 44349) : hosted on https://authserver.stage.careermaps.co.uk/ on IIS
  2. Swagger (port- 44324) : hosted on https://host.stage.careermaps.co.uk/
  3. Web-App (port 44389) : hosted on https://web.stage.careermaps.co.uk/

The issue is when we open https://web.stage.careermaps.co.uk/ this site it redirect us to on this URL : https://authserver.stage.careermaps.co.uk/Error?httpStatusCode=400

We have modified table [OpenIddictApplications] with live URLs as well :

For our web app :

GTCManagement_Web: PostLogoutRedirectUris : ["https://web.stage.careermaps.co.uk/signout-callback-oidc"] RedirectUris : ["https://web.stage.careermaps.co.uk/signin-oidc"] ClientUris : https://web.stage.careermaps.co.uk/

For our swagger app : GTCManagement_Swagger: PostLogoutRedirectUris :NULL RedirectUris : ["https://host.stage.careermaps.co.uk/swagger/oauth2-redirect.html"] ClientUris : https://host.stage.careermaps.co.uk

Don't know if anything needs to change for AUTH server.

Please help us or share some direction to resolve this, we are using redis cloud here.

Steps to reproduce:

  1. open https://web.stage.careermaps.co.uk/
  2. It will redirect to https://authserver.stage.careermaps.co.uk/Error?httpStatusCode=400

All URLs : https://authserver.stage.careermaps.co.uk/ https://web.stage.careermaps.co.uk/ https://host.stage.careermaps.co.uk

Hi,

This looks like a common query form, we have an easy-crm example that covers this: https://easycrm.abp.io/

You can download the complete source code from https://abp.io/api/download/samples/easy-crm

Here the thing is I have two databases Database one is connected to Mainapp and database2 is connected with Module know in Module I am getting the data of my Mainapp through API I am fetching the users based on role in the module I have one entity named called as Candidate and I have full crud page for that here I want to add another one dropdown while creating the Candidate in dropdown I want to show the data which is coming from the API and i want to Store the Selected Value through Dropdown in Candidate Table in database

@liangshiwei thanks for your replay This is the Major things where we have stucked through That API Approach, I am able to create API and get the user Data through API Know I have One Candidate Table and I have created a CRUD page for that. The Data I am getting I want to show in the Candidate Table in the form of a Dropdown And the selected Value of the Dropdown I want to store in the Database is in Candidate Table Can you help me with this thing... can you update this thing in https://github.com/realLiangshiwei/Qa4516 this project only.

@liangshiwei Can you Please Help me with this

@liangshiwei thanks for your replay through That API Approach, I am able to create API and get the user Data through API Know I have One Candidate Table and I have created a CRUD page for that. The Data I am getting I want to show in the Candidate Table in the form of a Dropdown And the selected Value of the Dropdown I want to store in the Database are in Candidate Table Can you help me with this thing... can you update this thing in https://github.com/realLiangshiwei/Qa4516 this project only.

@liangshiwei thanks for your replay This is the Major things where we have stucked through That API Approach, I am able to create API and get the user Data through API Know I have One Candidate Table and I have created a CRUD page for that. The Data I am getting I want to show in the Candidate Table in the form of a Dropdown And the selected Value of the Dropdown I want to store in the Database is in Candidate Table Can you help me with this thing... can you update this thing in https://github.com/realLiangshiwei/Qa4516 this project only.

@liangshiwei thanks for your replay through That API Approach, I am able to create API and get the user Data through API Know I have One Candidate Table and I have created a CRUD page for that. The Data I am getting I want to show in the Candidate Table in the form of a Dropdown And the selected Value of the Dropdown I want to store in the Database are in Candidate Table Can you help me with this thing... can you update this thing in https://github.com/realLiangshiwei/Qa4516 this project only.

Hi,

You can check it: https://support.abp.io/QA/Questions/4483/After-login-It-is-not-redirecting-to-swagger-page#answer-0dac1928-15ab-ea7a-ad93-3a093a97493f

but I am running this application in local system my laptop

Hi,

See: https://docs.abp.io/en/commercial/latest/abp-suite/generating-crud-page#navigation-properties

ABP Suite allows you to create a navigation property for 1-to-many (1:N) and many-to-many (N:N) relationships.

You can't do it with the ABP suite, but it's easy to do yourself:

public class MyEntity1 : AggregateRoot<Guid> 
{ 
    public MyEntity1(Guid id) 
    { 
        Id = id; 
    } 
 
    public string Name { get; set; } 
 
    public Guid MyEntity2Id { get; set; } 
    public virtual MyEntity2 MyEntity2 { get; set; } 
} 
 
public class MyEntity2 : AggregateRoot<Guid> 
{ 
    public MyEntity2(Guid id) 
    { 
        Id = id; 
    } 
 
 
    public string Name { get; set; } 
 
    public Guid MyEntity1Id { get; set; } 
    public virtual MyEntity1 MyEntity1 { get; set; } 
} 
 
public DbSet<MyEntity1> MyEntityTest { get; set; } 
public DbSet<MyEntity2> MyEntityTest2 { get; set; } 
 
builder.Entity<MyEntity1>(b => 
{ 
    b.HasOne(x => x.MyEntity2) 
        .WithOne(x => x.MyEntity1) 
        .HasForeignKey<MyEntity2>(x => x.MyEntity1Id) 
        .OnDelete(DeleteBehavior.Cascade); 
}); 
public class TestAppService : QaAppService 
{ 
    private readonly IRepository<MyEntity1> _myEntity1Repository; 
 
    public TestAppService(IRepository<MyEntity1> myEntity1Repository) 
    { 
        _myEntity1Repository = myEntity1Repository; 
    } 
 
    public async Task CreateAsync() 
    { 
        var entity1Id = GuidGenerator.Create(); 
        var entity2Id = GuidGenerator.Create(); 
        var entity = new MyEntity1(entity1Id) 
        { 
            Name = "test", 
            MyEntity2Id = entity2Id, 
            MyEntity2 = new MyEntity2(entity2Id) 
            { 
                MyEntity1Id = entity1Id, 
                Name = "test2" 
            } 
        }; 
 
        await _myEntity1Repository.InsertAsync(entity); 
    } 
 
    public async Task DeleteAsync() 
    { 
        var entity = await (await _myEntity1Repository.GetQueryableAsync()).Include(x=>x.MyEntity2).FirstOrDefaultAsync(); 
 
        await _myEntity1Repository.DeleteAsync(entity); 
    } 
} 

Deleting a Myentity1 will also delete the Myentity2, but, of course, not the other way around

Note: Only deleting the principal entity will cascade delete the dependent entity. Vice-versa is not possible.

If you want to delete any entity, the records of other tables will be deleted. You need to delete them manually.

@liangshiwei thanks for your replay

Actually, when I am running my application I am getting this exception please help me with This

The code is running fine with my other team but when I am trying to run the application i am getting this error

Showing 81 to 90 of 98 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11