[pgAdmin4][Patch]: RM1397 - File upload not working in File Manager in pgAdmin4 Runtime

From: Surinder Kumar <surinder(dot)kumar(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin4][Patch]: RM1397 - File upload not working in File Manager in pgAdmin4 Runtime
Date: 2016-08-04 12:59:03
Message-ID: CAM5-9D-5PETJ4=SA+zp6J3GGZ0UkG310DTVpgV=M3frioUsg2g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
RM1397.patch application/octet-stream 875 bytes

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2016-08-04 14:24:06 pgAdmin 4 commit: Fix drop trigger function, function and procedures. F
Previous Message Dave Page 2016-08-04 12:25:57 Re: pgAdmin IV : Unittest modular patch