View Issue Details

IDProjectCategoryView StatusLast Update
0011810mantisbtattachmentspublic2012-07-20 14:13
Reporterelankumaran Assigned Toatrol  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionunable to reproduce 
OSWindowsOS VersionXP 
Product Version1.1.6 
Summary0011810: Problem in moving bugs WITH ATTACHMENTS
Description

I am the administrator of the MantisBT 1.1.6 application. When i try to move the issues WITH ATTACHMENTS from one project to the other, I get the access denied error on the top of the page and Error# 18 in the middle of the page. Please let me know if this is because of the "onfig_defaults_inc.php" permission settings(At present its 0400)or any other permissions problems in my destination folder.
The exact error message is:
SYSTEM WARNING: copy(d:\data92b4ffd12607f8d9c5950a6e69bc4fa0): failed to open stream: Permission denied
SYSTEM WARNING: No such file or directory

TagsNo tags attached.

Activities

jchoover

jchoover

2010-04-21 00:41

reporter   ~0025175

A few things seem a bit off here..

A) The path looks like it is missing a \ (d:\data\92b4...) You may wish to check your project configurations to ensure the disk path is correct.
B) Are you certain you are moving a bug and not copying it?
C) I ask, because I reported issue 0011687 and provided a possible fix, but that was because issues being moved ignored their attachments.

elankumaran

elankumaran

2010-04-21 08:22

reporter   ~0025186

There are other Administrators who are able to move the bug WITH ATTACHMENTS from one project to the other successfully, but only myself in Admins and a few other developers are getting this Error message, so
The path shouldn't be a problem and we are moving and not copying. Please advise

elankumaran

elankumaran

2010-04-23 09:52

reporter   ~0025233

Can any one help me out on this..

jchoover

jchoover

2010-04-23 10:20

reporter   ~0025234

Not certain what to say on this. I checked out the 1.1.6 branch from Git and did not find another instance of copy( in the source. Are you 100% certain you are running an unmodified install of 1.1.6?

elankumaran

elankumaran

2010-04-27 08:56

reporter   ~0025293

We are sure it is an unmodified install..can it be some other access issue to the file server...

jchoover

jchoover

2010-04-27 10:26

reporter   ~0025299

Again, I'm just another Mantis user with a background in programming, but when I checked out the 1.1.6 branch of Mantis, there is only one spot where the php copy function is called, and that's in the duplicate bug logic.

If I could identify the code that is failing, I could be of more help.

In 1.1.6, the only place copy( exists is on line 619 of bug_api.php inside of the function bug_copy. As such, I have to assume that either A) you have a modified copy, B) if 1.1.6 supports extensions then you may have one installed, C) you have a earlier or later release of the 1.1.6 branch, D) the error you are reporting is not the whole error.

Without being able to reproduce your error, or identify the code where you error is occurring, I won't be of much use.

atrol

atrol

2012-07-10 16:17

developer   ~0032300

elankumaran, this issue is not reproducible with current version of MantisBT.
There was a similar issue in 1.2.x, see 0011687 for it.
Feel free to reopen the issue if there are still problems after upgrading to a nightly build or 1.2.12 which will be released as next stable version.