[pgAdmin4][Patch]: RM1397 - File upload not working in File Manager in pgAdmin4 Runtime - Mailing list pgadmin-hackers

From Surinder Kumar
Subject [pgAdmin4][Patch]: RM1397 - File upload not working in File Manager in pgAdmin4 Runtime
Date
Msg-id CAM5-9D-5PETJ4=SA+zp6J3GGZ0UkG310DTVpgV=M3frioUsg2g@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin4][Patch]: RM1397 - File upload not working in File Manager in pgAdmin4 Runtime  (Dave Page <dpage@pgadmin.org>)
List pgadmin-hackers
Hi

Issue:
When a file is uploaded via FileManager it gets storage directory path from STORAGE_DIR config variable. but in case of pgAdmin4 Runtime it is set to None, that means STORAGE_DIR path should be the root directory.

The path formed to file was "None/filename.ext'. but it should be '/filename.txt' which is now fixed.
Please find attached patch and review.

Thanks,
Surinder Kumar
Attachment

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: pgAdmin IV : Unittest modular patch
Next
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Fix drop trigger function, function and procedures. F