Open Closed

Upload Files in File Management not working #5358


User avatar
0
pvala 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: v7.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes Identity Server Separated (Angular)
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

I followed the steps mentioned in the below URL to add the File Management module in our project https://docs.abp.io/en/commercial/latest/modules/file-management

After following all these steps, I tried to Upload a file. But when clicking on the "Upload File" button, nothing happens. There should be a modal opening up to select the file to upload, but it's not opening.

Steps followed to add the File Management Module :

  1. Added File Management module in the Administration service using ABP Suite (Added as a package)

  2. Installed and configured the @volo/file-management npm package in Angular

  3. Added the following code to configure Blob Storage in the AdministrationServiceApplicationModule.cs file

     Configure<AbpBlobStoringOptions>(options =>
     {
         options.Containers.Configure<FileManagementContainer>(c =>
         {
             c.UseFileSystem(fileSystem =>
             {
                 fileSystem.BasePath = "<I have put the file path here>";
             }); // You can use FileSystem or Azure providers also.
         });
     });
    
  4. After that I seeded the data using DB Migrator and the following tables were created in administration database fmdirectorydescriptors fmfiledescriptors

  5. Then I configured the path for file management in angular project

  6. After following all these steps, I ran the project. Clicked on File Management, I was able to create folders, but when clicking on the Upload File button, nothing happens. Can you help me what I might be missing?


6 Answer(s)
  • User Avatar
    0
    masum.ulu created
    Support Team Angular Expert

    Hi pvala, We're working on it it'll fix next version (7.3-final). I Refunded your credit

  • User Avatar
    0
    pvala created

    Hello, thanks for the response and the refunded credit. What would be the estimated time for the next version?

  • User Avatar
    0
    masum.ulu created
    Support Team Angular Expert

    Hello, thanks for the response and the refunded credit. What would be the estimated time for the next version?

    Hi again,

    Can you open the DevTools and go to file-management path after that open console tab please, you must get an error like below

    I just want to be sure that's your problem, otherwise we can look for real problem

  • User Avatar
    0
    pvala created

    Hi,

    Yes, I am getting these errors while clicking on the File Management.

  • User Avatar
    0
    masum.ulu created
    Support Team Angular Expert

    Okay it'll fixed with 7.3.0

  • User Avatar
    0
    masum.ulu created
    Support Team Angular Expert

    You can track the status at here

Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35