Activities of "cangunaydin"

Hello @maliming, The problem is fixed now, i have no idea how it has been fixed though, i have tried to delete all node_modules and delete yarn.lock. Also try to clean the yarn cache. The problem persisted. Then i restart the computer and recreate my docker images for postgresql, redis and rabbitmq, then the problem is solved, but i have no clue how it has been fixed.

there were no errors on the backend side.

2024-06-15 01:09:30.647 +02:00 [INF] Route matched with {area = "clientManagement", controller = "Clients", action = "Get", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Doohlink.ClientManagement.Clients.ClientDto] GetAsync(System.Guid) on controller Doohlink.ClientManagement.Clients.ClientController (Doohlink.ClientManagement.HttpApi).
2024-06-15 01:09:30.650 +02:00 [INF] Executing action method Doohlink.ClientManagement.Clients.ClientController.GetAsync (Doohlink.ClientManagement.HttpApi) - Validation state: "Valid"
2024-06-15 01:09:30.682 +02:00 [INF] Executed action method Doohlink.ClientManagement.Clients.ClientController.GetAsync (Doohlink.ClientManagement.HttpApi), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 32.2896ms.
2024-06-15 01:09:30.683 +02:00 [INF] Executing ObjectResult, writing value of type 'Doohlink.ClientManagement.Clients.ClientDto'.
2024-06-15 01:09:30.683 +02:00 [INF] Executed action Doohlink.ClientManagement.Clients.ClientController.GetAsync (Doohlink.ClientManagement.HttpApi) in 35.4488ms
2024-06-15 01:09:30.683 +02:00 [INF] Executed endpoint 'Doohlink.ClientManagement.Clients.ClientController.GetAsync (Doohlink.ClientManagement.HttpApi)'
2024-06-15 01:09:30.863 +02:00 [INF] CORS policy execution successful.
2024-06-15 01:09:30.872 +02:00 [INF] CORS policy execution successful.
2024-06-15 01:09:30.895 +02:00 [INF] Executing endpoint 'Doohlink.ClientManagement.Clients.ClientController.GetListAsync (Doohlink.ClientManagement.HttpApi)'
2024-06-15 01:09:30.895 +02:00 [INF] Route matched with {area = "clientManagement", controller = "Clients", action = "GetList", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.Application.Dtos.PagedResultDto`1[Doohlink.ClientManagement.Clients.ClientDto]] GetListAsync(Doohlink.ClientManagement.Clients.ClientListFilterDto) on controller Doohlink.ClientManagement.Clients.ClientController (Doohlink.ClientManagement.HttpApi).
2024-06-15 01:09:30.898 +02:00 [INF] Executing action method Doohlink.ClientManagement.Clients.ClientController.GetListAsync (Doohlink.ClientManagement.HttpApi) - Validation state: "Valid"
2024-06-15 01:09:30.921 +02:00 [INF] Executed action method Doohlink.ClientManagement.Clients.ClientController.GetListAsync (Doohlink.ClientManagement.HttpApi), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 23.1177ms.
2024-06-15 01:09:30.921 +02:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Application.Dtos.PagedResultDto`1[[Doohlink.ClientManagement.Clients.ClientDto, Doohlink.ClientManagement.Application.Contracts, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null]]'.
2024-06-15 01:09:30.921 +02:00 [INF] Executed action Doohlink.ClientManagement.Clients.ClientController.GetListAsync (Doohlink.ClientManagement.HttpApi) in 26.1573ms
2024-06-15 01:09:30.921 +02:00 [INF] Executed endpoint 'Doohlink.ClientManagement.Clients.ClientController.GetListAsync (Doohlink.ClientManagement.HttpApi)'
2024-06-15 01:09:31.107 +02:00 [INF] CORS policy execution successful.
2024-06-15 01:09:31.112 +02:00 [INF] CORS policy execution successful.
2024-06-15 01:09:31.180 +02:00 [INF] Executing endpoint 'Doohlink.Screens.ScreenController.GetListAsync (Doohlink.HttpApi)'
2024-06-15 01:09:31.180 +02:00 [INF] Route matched with {area = "doohlink", controller = "Screens", action = "GetList", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.Application.Dtos.PagedResultDto`1[Doohlink.Screens.ScreenInListDto]] GetListAsync(Doohlink.Screens.ScreenListFilterDto) on controller Doohlink.Screens.ScreenController (Doohlink.HttpApi).
2024-06-15 01:09:31.203 +02:00 [INF] Executing action method Doohlink.Screens.ScreenController.GetListAsync (Doohlink.HttpApi) - Validation state: "Valid"
2024-06-15 01:09:31.289 +02:00 [INF] Executed action method Doohlink.Screens.ScreenController.GetListAsync (Doohlink.HttpApi), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 86.0839ms.
2024-06-15 01:09:31.289 +02:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Application.Dtos.PagedResultDto`1[[Doohlink.Screens.ScreenInListDto, Doohlink.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
2024-06-15 01:09:31.289 +02:00 [INF] Executed action Doohlink.Screens.ScreenController.GetListAsync (Doohlink.HttpApi) in 109.2992ms
2024-06-15 01:09:31.289 +02:00 [INF] Executed endpoint 'Doohlink.Screens.ScreenController.GetListAsync (Doohlink.HttpApi)'
2024-06-15 01:09:32.108 +02:00 [INF] CORS policy execution successful.
2024-06-15 01:09:32.110 +02:00 [INF] CORS policy execution successful.
2024-06-15 01:09:32.143 +02:00 [INF] Executing endpoint 'Doohlink.Campaigns.CampaignController.UpdateAsync (Doohlink.HttpApi)'
2024-06-15 01:09:32.144 +02:00 [INF] Route matched with {area = "doohlink", controller = "Campaigns", action = "Update", page = ""}. Executing controller action with signature System.Threading.Tasks.Task UpdateAsync(System.Guid, Doohlink.Campaigns.UpdateCampaignDto) on controller Doohlink.Campaigns.CampaignController (Doohlink.HttpApi).
2024-06-15 01:09:32.166 +02:00 [INF] Executing action method Doohlink.Campaigns.CampaignController.UpdateAsync (Doohlink.HttpApi) - Validation state: "Valid"
2024-06-15 01:09:32.207 +02:00 [INF] Executed action method Doohlink.Campaigns.CampaignController.UpdateAsync (Doohlink.HttpApi), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 41.3137ms.
2024-06-15 01:09:32.207 +02:00 [INF] Executed action Doohlink.Campaigns.CampaignController.UpdateAsync (Doohlink.HttpApi) in 63.3134ms
2024-06-15 01:09:32.207 +02:00 [INF] Executed endpoint 'Doohlink.Campaigns.CampaignController.UpdateAsync (Doohlink.HttpApi)'
2024-06-15 01:09:33.962 +02:00 [INF] CORS policy execution successful.
2024-06-15 01:09:33.964 +02:00 [INF] CORS policy execution successful.
2024-06-15 01:09:33.988 +02:00 [INF] Executing endpoint 'Doohlink.Campaigns.CampaignController.GetListAsync (Doohlink.HttpApi)'
2024-06-15 01:09:33.988 +02:00 [INF] Route matched with {area = "doohlink", controller = "Campaigns", action = "GetList", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.Application.Dtos.PagedResultDto`1[Doohlink.Campaigns.CampaignInListDto]] GetListAsync(Doohlink.Campaigns.CampaignListFilterDto) on controller Doohlink.Campaigns.CampaignController (Doohlink.HttpApi).
2024-06-15 01:09:34.011 +02:00 [INF] Executing action method Doohlink.Campaigns.CampaignController.GetListAsync (Doohlink.HttpApi) - Validation state: "Valid"
2024-06-15 01:09:34.045 +02:00 [INF] Executed action method Doohlink.Campaigns.CampaignController.GetListAsync (Doohlink.HttpApi), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 34.7376ms.
2024-06-15 01:09:34.046 +02:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Application.Dtos.PagedResultDto`1[[Doohlink.Campaigns.CampaignInListDto, Doohlink.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
2024-06-15 01:09:34.046 +02:00 [INF] Executed action Doohlink.Campaigns.CampaignController.GetListAsync (Doohlink.HttpApi) in 57.2554ms
2024-06-15 01:09:34.046 +02:00 [INF] Executed endpoint 'Doohlink.Campaigns.CampaignController.GetListAsync (Doohlink.HttpApi)'

and whenever call is reached to the backend side it was updating the database. Only problem was after the http call whenever client side see status 204 it redirected to the error page.

Anyway for now we can close this ticket. If it happens again, i can create a new ticket for it.

Hello, My problem is not with the angular project that is created with template. I am adding an extra angular project to the folder with angular cli and configuring it accordingly. When i do that i am getting localization error. I will prepare the sample project on weekend and send it to you.

how do you know which port i am running it :) I am running it on port 4201 already and i have configured it with port 4201. And i do not run it on docker. And i do not understand how loading dependencies (@angular/common) is related with port configuration?

If you are talking about HttpApi.Host project that is already disabled. So it doesn't work. Isn't there any workaround so it can be done through angular while it posts to the server side?

Hello @liangshiwei, In the meantime can you suggest a solution, so i can implement a patch while you guys are fixing it. I have tried to replace both tenants component and connection-strings component in angular, but still @viewchild is not getting reference of the component. What can i do to fix the issue?

And when i want to replace the connection-strings component in angular, it doesn't work. The problem is related with @viewchild reference. since it is directly dependent on the default component, even if i replace the component with my own component it doesn't find the reference.

If you can see the current user information from the application-configuration endpoint, authentication is successful. The authentication server also hasn't any exceptions, so that means you can use authenticated API requests. The problem is caused on the Angular side. To make sure of this, could you send a HTTP request from the Swagger UI?

it didn't work from swagger, then i looked at the permissions that comes from application-configuration endpoint, then i see that it doesn't have Tenant.Dashboard permission, afterwards, When i was looking at it i realised, code that is posted over here also in my case, it didn't have CurrentTenant.Change(eventData.Id). So that's why it couldn't give the correct permissions to the newly created admin user :) What a waste of time :) Thanks anyway at least one thing has been fixed.

for the localization it is very difficult to produce error each time. when i invalidate the redis cache everything works fine. So most of the time it works correct. Sometimes By restarting the app or running the dbmigrator is making the microservice resource disappear i couldn't find the real cause what makes it not getting the microservice resource. So i will let it go for now until i am sure how it behaves, it is annoying though. I am closing this ticket since it is almost one month since it is open. Thank you for the help.

ok i have managed to make it work by downloading the font and including it in my styles for font-bundle.css, but for the future update it could be nice for lepton theme to load the fonts with cors origin: anonymous. If there is a restriction wanted when it has been used.

Another question with the upgrade is, now i am having lots of The localization source separator (::) not found. error. Is there any breaking change from leptonx 3.0.0 to 3.1.1? Probably at first load there is an issue with the order of the scripts loaded in the page? cause localization seems to work fine. when i look at the page.

Hello again, I created new tenant to check your theory. i can see the user admin for the tenant in db. So don't think it is because of that.

i can also see inside angular app when it requests api/abp/application-configuration?includeLocalizationResources=false endpoint. you can check the picture.

From Auth Server. The logs seems normal.

When application start, it check the localization resources by md5 result if changes occurs then it try to update inserted resource. If both application use different key prefix that would be a reason for main module cannot get the microservice localization files from the cache.

for this i can assure that keys are same. first pic you see below is from shared project. Each project is dependent to this module like it is in microservice template.

Hello @ahmetfarukulu, thank you for the replies, but the problem is not related with Impersonation, i can not login without impersonation either. Also When i dataseed it like microservice project, everything works fine. So i still think the problem is related with data seeding.

For the localization, i believe it is sth related with redis cache invalidation as you mentioned.One thing bothering me though, if i restart the microservice every localization is gone, redis is still running and old cache values are still there. Why all the localizations are gone then? Is Abp deleting all the localizations in cache and recreating everything from scratch? Even if it is like that i wouldn't expect this behavior.

And why the main module can not get the microservice resource name from the cache?

Showing 11 to 20 of 84 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13