Open Closed

Problem about uploading files with the same name in FileDescriptorAppService #7327


User avatar
0
ElifKaya created

Hi,

https://support.abp.io/QA/Questions/6230/ABP-FileDescriptorAppService-overrideExisting-parameters-quest

I have opened the question in the link before. And I tested it now with v8.1.3. If we used overrideExisting parameter as a 'true', it provides to change file content. So, we want to use as a 'False'. But, it didn't any update database when it is 'False'. It is also good for us. But, Could you return a different response with the message? Because, we need to show the reason why no changes were made in database. We don't want to override File Service. So, we need the actual detail of the request result.

Thanks

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: v8.1.3
  • UI Type: Angular / MVC /
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    But, Could you return a different response with the message? Because, we need to show the reason why no changes were made in database. We don't want to override File Service. So, we need the actual detail of the request result.

    I suggest you override the default service to implement these needs. This is the simplest way.

    Other developers may think otherwise.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09