Open Closed

Error encountered while upgrading the project from version 4.3.3 to version 7.0.1 #4719


User avatar
0
ilhan.ordukaya created

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.

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

28 Answer(s)
  • User Avatar
    0
    mahmut.gundogdu created

    getCityData(input:PageQueryParams){ return this.service.getCityLookup(input) }

    hocam getFn methodu 1 tane parametre aliyor. o parametrenin degerleri

     interface PageQueryParams {  
            filter?: string;  
            sorting?: string;  
            skipCount?: number;  
            maxResultCount?: number;  
        }  
    

    sizin methodunuzun degeri LookupRequestDTO o da Id ce displayName aliyor. Ben olsam componente bir method ekler

    getFn({filter}:PageQueryParams) {
    return this.service.getCityLookup(filter);
    }
    
    

    derdim. LookupRequestDTO , PageQueryParams a benzer degerler icersede TS cast edemiyor. zaten bize basitce filter lazim. onu da gonderirseniz calisir/

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    ilhan.ordukaya created

    getFn({filter}:PageQueryParams) { return this.service.getCityLookup(filter); }

    componente dediğiniz gibi bir metod tanımladığımda şöyle bir hata alıyorum

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    mahmut.gundogdu created

    getFn({filter}:PageQueryParams) { return this.service.getCityLookup(filter); }

    componente dediğiniz gibi bir metod tanımladığımda şöyle bir hata alıyorum

    Hocam typescript uyari ile aslinda derdiniz anlatmis. Type uyumsuzlugu var. Beklenen deger ile sizin atadiginiz deger uygun degil

    function yourFunctionName({filter}:LookupRequestDto){
    //...
    }
    

    gibi yazabilirsiniz

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.