View Issue Details

IDProjectCategoryView StatusLast Update
0014545mantisbtattachmentspublic2013-01-30 16:05
Reporterflo1999 Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version1.2.11 
Summary0014545: cloning issue with attachments doesn't work with mssql
Description

When trying to clone an issue including its attachments an APPLICATION ERROR 401 comes up originating from function file_copy_attachments complaining Mantis is trying to insert a varchar into a varbinary field (mantis_bug_file_table -> content).

Problem exists at least with Mantis versions 1.2.8 and 1.2.11.

Steps To Reproduce

0) use mssql
1) set $g_file_upload_method = DATABASE
2) create an issue and attach a file
3) try to clone it including attachments

Additional Information

Windows Server 2008 R2 SP1
MS SQL Server 2008 R2 SP1
SQL Server Native Client 10.0
MS IIS 7.5

TagsNo tags attached.
Attached Files
error_Mantis1_2_11.png (12,370 bytes)   
error_Mantis1_2_11.png (12,370 bytes)   

Activities

dregad

dregad

2012-08-02 09:43

developer   ~0032455

This sounds like an issue with ADOdb, the database-abstraction layer library we use in MantisBT.

As I have no access to any windows / MSSQL server for testing/debugging, I am unfortunately not able to help much here. Hopefully someone else can help.

dregad

dregad

2012-08-02 09:44

developer   ~0032456

@tomkraw1, I'm adding you to the monitoring list here, as you've helped in the past on mssql issues and maybe you could assist for this one too... Thanks in advance

tomkraw1

tomkraw1

2012-08-08 11:37

reporter   ~0032513

@dregad, I always stored attachments on the disk. So, I will not help this time. But I put some work in three other SQL Server related issues. ;-)

cheers

dregad

dregad

2012-08-09 03:17

developer   ~0032523

Oh well. Thanks anyway for your help.