Thread: Fw: JIRA SQL file upload fails due to pgAdmin

Fw: JIRA SQL file upload fails due to pgAdmin

From
Rade Martinović
Date:
Hello pgAdmin team!
 
Apparently, this is a known issue in JIRA knowledgebase:
 
Upload of SQL files to JIRA (probably other Java-based web applications) fails due to pgAdmin associating the .SQL file extension with 'text\plain' instead of the traditional 'text/plain'. 
 
 
I am using pgAdmin version 1.16.0 (Sep 7 2012; rev: REL-1_16_0).
 
I have already reported this to JIRA team, but I concluded that the error is due to pgAdmin's Windows installation.
 
I trust that this is an easy fix in installer.
 
Regards,
-- 
Rade Martinović, M.Sc.E.E
Software architect

Belgrade University Computer Center
Kumanovska 7, 126119 Beograd
Serbia

Tel:            +381-11-3031258
Fax:            +381-11-3031259
Email:          rade@rcub.bg.ac.rs
Internet:       http://www.rcub.bg.ac.rs

Re: Fw: JIRA SQL file upload fails due to pgAdmin

From
Dave Page
Date:
Hi

On Thu, Nov 22, 2012 at 4:38 PM, Rade Martinović <rade@rcub.bg.ac.rs> wrote:
> Hello pgAdmin team!
>
> Apparently, this is a known issue in JIRA knowledgebase:
>
> Upload of SQL files to JIRA (probably other Java-based web applications)
> fails due to pgAdmin associating the .SQL file extension with 'text\plain'
> instead of the traditional 'text/plain'.
>
>
https://confluence.atlassian.com/display/JIRAKB/Cannot+upload+SQL+files+to+JIRA+on+Windows?utm_source=SAC&utm_medium=hercules-issue-view&utm_content=391448
>
> I am using pgAdmin version 1.16.0 (Sep 7 2012; rev: REL-1_16_0).
>
> I have already reported this to JIRA team, but I concluded that the error is
> due to pgAdmin's Windows installation.
>
> I trust that this is an easy fix in installer.

Yes, and I've pushed a fix.

Thanks!

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company