View Issue Details

IDProjectCategoryView StatusLast Update
0017151mantisbtattachmentspublic2014-04-14 14:49
ReporterEmersonD Assigned Todregad  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version1.2.17 
Summary0017151: Attachment corrupted on PostgreSQL
Description

Mantis version 1.2.17 installed using PostgresSQL MySQL database and also in different versions, but all versions all the attached images when trying to view the file corrupts not maintaining its integrity, follows an image attachment how is the attached file.

excuse the spelling mistakes but I'm Brazilian.

TagsNo tags attached.
Attached Files
bug_mantis.png (66,515 bytes)   
bug_mantis.png (66,515 bytes)   
mantis erro imagem.png (104,992 bytes)   
mantis erro imagem.png (104,992 bytes)   
mantis erro de imagem.png (140,690 bytes)   
mantis erro de imagem.png (140,690 bytes)   

Relationships

duplicate of 0012837 closeddregad Download Attachment doesn't work; Get some header information or Jabber 

Activities

dregad

dregad

2014-04-02 11:51

developer   ~0039807

Sounds like a duplicate of an issue which I have fixed in 1.3, can you please have a look at 0012837, and if you don't mind downloading a nightly build[1] and test to confirm if that resolves the issue.

Thanks

[1] http://www.mantisbt.org/builds.php

grangeway

grangeway

2014-04-03 11:53

reporter   ~0039813

EmersonD,

PostgreSQL support is known to be broken at the moment.

We plan to fix this with a new DB Layer.

Would you be interested in helping to test the new DB layer when it is ready?

Paul

EmersonD

EmersonD

2014-04-03 12:00

reporter   ~0039815

Last edited: 2014-04-03 12:05

Yes I will be willing, no problem just give me the instructions on how to proceed.

About last statement by dregad, I downloaded the nightly build [1] and made changes postgres but my problem still exists.
I have attached new images.

dregad

dregad

2014-04-04 04:37

developer   ~0039816

Are you sure you got a nightly build for master branch ? Your screenshot looks like 1.2.x.

EmersonD

EmersonD

2014-04-04 08:48

reporter   ~0039817

Last edited: 2014-04-04 08:53

Good day, I could perceive an issue that may be important, the files in. Txt and images of small size I can see, but in fact as the image size it distorts it, or has something to do with the size of archive.

dregad

dregad

2014-04-04 09:59

developer   ~0039818

By default, attachments bigger than 256K are not displayed and must be downloaded for viewing - this is driven by $g_preview_attachments_inline_max_size

EmersonD

EmersonD

2014-04-04 10:13

reporter   ~0039819

I actually installed the 1.2'm upgrading to master 1.3.0dev

EmersonD

EmersonD

2014-04-04 10:36

reporter   ~0039820

Last edited: 2014-04-04 10:37

I installed the master 1.3.0dev and did a test, tests showed the same problem.
Image attached, and could not understand what is the file that boosted the size of the images ($ g_preview_attachments_inline_max_size)

EmersonD

EmersonD

2014-04-04 10:50

reporter   ~0039821

Just for the record I'm using Zend Server. PHP 5.3 apache 2.2zend

EmersonD

EmersonD

2014-04-04 12:26

reporter   ~0039822

I installed apache server postgres (phpPgAdmin) and this fixed the problem, my problem was with the ZendServer not know if it's some setting or incompatibility but now works.

grangeway

grangeway

2014-04-04 13:17

reporter   ~0039823

Hello EmersonD,

I will send you details on Sunday for a Tarball with the new database code in.

Paul

EmersonD

EmersonD

2014-04-04 15:27

reporter   ~0039824

ok grangeway.

dregad

dregad

2014-04-05 06:27

developer   ~0039828

Resolving following your feedback in 0017151:0039822