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: v4.3.3 - updated v7.0.1
- UI type: Angular
- DB provider: EF Core / Mssql
- Tiered (MVC) or Identity Server Separated (Angular): no
- Exception message and stack trace:
- Steps to reproduce the issue:"
"After upgrading the project, the lookup methods in the Pop-up are empty. I initially thought the issue was frontend-related, but it turned out to be API-related. The method being called returns a 500 error code as a response. It was working fine before the upgrade. Could there have been an issue during the upgrade? How can I resolve this?"
I'm waiting for your help.
28 Answer(s)
-
0
it seems "service.getCitylookup" is undefined. Could you check this? Also I have ask team-mate for why backend return 500 too)
Just a reminder. also there is visual issue. Maybe you should check your styles because some bootstrap classes are deprecated like form-group like padding classes etc.
-
0
hi
Method not found
Can you share some code/project to reproduce it? liming.ma@volosoft.com
-
0
it seems "service.getCitylookup" is undefined. Could you check this? Also I have ask team-mate for why backend return 500 too)
Just a reminder. also there is visual issue. Maybe you should check your styles because some bootstrap classes are deprecated like form-group like padding classes etc.
-
0
hi
Method not found
Can you share some code/project to reproduce it? liming.ma@volosoft.com
"Actually, the error wasn't present in version 4.3.3. It occurred after updating to 7.0.1. It works when using ToListAsync instead of ToDynamicListAsync, but I don't think that's suitable for the look-up method. I believe the problem may be a package mismatch, but it doesn't seem like there's an issue with the ABP packages. There might be a problem with the update. Do you think this could be the case?"
-
0
hi
We are using the
<PackageReference Include="System.Linq.Dynamic.Core" Version="1.2.18" />
on 7.x -
0
-
0
-
0
You can try to add
<PackageReference Include="System.Linq.Dynamic.Core" Version="1.2.18" />
to your project. -
0
If other projects refer to high-version packages, you can only wait for abp to upgrade
-
0
it seems "service.getCitylookup" is undefined. Could you check this? Also I have ask team-mate for why backend return 500 too)
Just a reminder. also there is visual issue. Maybe you should check your styles because some bootstrap classes are deprecated like form-group like padding classes etc.
I can understand Turkish, but Maliming is is not. . but if you can write English. Lets continue in English or I would translate Turkish to Eng
-
0
If other projects refer to high-version packages, you can only wait for abp to upgrade
"Actually, the project is created with the ABP Suite. Should I wait for ABP to be upgraded for this?
-
0
"Actually, the project is created with the ABP Suite. Should I wait for ABP to be upgraded for this?
OK, How can I reproduce this exception?
Please share the steps and code. Thanks
-
0
"Actually, the project is created with the ABP Suite. Should I wait for ABP to be upgraded for this?
OK, How can I reproduce this exception?
Please share the steps and code. Thanks
"Actually, I don't think the error can be reproduced because I created a project that also includes the look-up method with ABP Suite, and that method works fine there. What do you think I should pay attention to when upgrading the project from dotnet5.0 to dotnet7.0?"
-
0
Please refer to our upgrade documentation,
https://docs.abp.io/en/abp/latest/Migration-Guides/Index https://docs.abp.io/en/commercial/latest/migration-guides/index
It is difficult for me to determine the cause of the problem if I cannot reproduce the problem
-
0
Please refer to our upgrade documentation,
https://docs.abp.io/en/abp/latest/Migration-Guides/Index https://docs.abp.io/en/commercial/latest/migration-guides/index
It is difficult for me to determine the cause of the problem if I cannot reproduce the problem
Actually, we can maybe replicate the error by creating a branch of a project with version 4.3.3 that has the lookup method and upgrading it to 7.0.1 to obtain the error
-
0
OK, I'll wait for your project. liming.ma@volosoft.com
-
0
OK, I'll wait for your project. liming.ma@volosoft.com
The 500 error that was caused by a backend issue has been resolved with the help of @gterdem 's support. Thank you for your assistance. But the front-end issue still persists. @mahmut.gundogdu
-
0
ok I will ask mahmut.gundogdu
-
0
OK, I'll wait for your project. liming.ma@volosoft.com
The 500 error that was caused by a backend issue has been resolved with the help of @gterdem 's support. Thank you for your assistance. But the front-end issue still persists. @mahmut.gundogdu
I have produced the issue. getFn ="" must be input. it is not output.
-
0
OK, I'll wait for your project. liming.ma@volosoft.com
The 500 error that was caused by a backend issue has been resolved with the help of @gterdem 's support. Thank you for your assistance.But the front-end issue still persists. @mahmut.gundogdu
I have produced the issue. getFn ="" must be input. it is not output.
-
0
I think expected signature is different here the signeture of getFn
getFn: (params: ABP.PageQueryParams) => Observable<ABP.PagedResponse<any>>;
PageQueryParams is
interface PageQueryParams { filter?: string; sorting?: string; skipCount?: number; maxResultCount?: number; }
lookupRequestDto is not compatible PageQueryParams maybe you should wrap this with a file or maybe you should re-generate the proxies.
-
0
I think expected signature is different
here the signeture of getFngetFn: (params: ABP.PageQueryParams) => Observable<ABP.PagedResponse<any>>;
PageQueryParams is
interface PageQueryParams { filter?: string; sorting?: string; skipCount?: number; maxResultCount?: number; }
lookupRequestDto is not compatible PageQueryParams maybe you should wrap this with a file or maybe you should re-generate the proxies.
Mahmut bey dediğiniz interfacelere ve sınıflara baktık herhangi bir farklılık göremedik konuyla ilgi uygun bir zamanınızda zoom üzerinden bir toplantı gerçekleştirebilirmiyiz?
-
0
I think expected signature is different
here the signeture of getFngetFn: (params: ABP.PageQueryParams) => Observable<ABP.PagedResponse<any>>;
PageQueryParams is
interface PageQueryParams { filter?: string; sorting?: string; skipCount?: number; maxResultCount?: number; }
lookupRequestDto is not compatible PageQueryParams maybe you should wrap this with a file or maybe you should re-generate the proxies.
Mahmut bey dediğiniz interfacelere ve sınıflara baktık herhangi bir farklılık göremedik konuyla ilgi uygun bir zamanınızda zoom üzerinden bir toplantı gerçekleştirebilirmiyiz?
mahmut bey merhaba sorun hala devam ediyor nasıl çözüme ulaştırabiliriz?
-
0
Hocam lookuprequestDTO nun icerigini paylasabilir misniz? Bir de service.getLookupCity foksiyonunun imzasini ve imzadaki typelari paylasabilir misiniz? bir type uyumsuzlugu var. olmadi seklinde fonsiyon olusturup sorunu .html den en azindan .ts e tasisak. orada daha rahat type cast yapaibliriz.
getCityData(input:PageQueryParams){ return this.service.getCityLookup(input) }
-
0