View Issue Details

IDProjectCategoryView StatusLast Update
0013696mantisbtbugtrackerpublic2014-09-23 18:05
ReporterAbsolutelyFreeWeb Assigned Toatrol  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
PlatformWindowsOSXPOS VersionSP3
Product Version1.2.8 
Target Version1.2.9Fixed in Version1.2.9 
Summary0013696: Project path
Description

Hi, I tried to reopen 0008250 but it old me access denied :(

it says fixed but not in what version?

I'm running 1.2.8, and the project path is empty, and even if I put a path in it and save it remains empty. This does not seem to be fixed and I'm repoening it.

TagsNo tags attached.

Relationships

related to 0015721 closedgrangeway Functionality to consider porting to master-2.0.x 

Activities

atrol

atrol

2011-12-28 08:12

developer   ~0030715

The feature request 0008250 was to show upload path defined in absolute_path_default_upload_folder and has not been implemented in version 1.2.x
I set fixed in version of 0008250 to 1.3.x because the changes where only commited to master branch and not to master-1.2.x.

I am not able to reproduce your issue concerning setting the path. (I tried also 1.2.8)

Can you give step by step instructions how to reproduce the issue?
Are you able to reproduce the issue using http://sourceforge.net/projects/mantis2go

Are you aware that the default setting of MantisBT is to store attachments in database?
If you want to change this you have to add the following line to file config_inc.php
$g_file_upload_method = DISK;

AbsolutelyFreeWeb

AbsolutelyFreeWeb

2011-12-28 16:16

reporter   ~0030720

sorry for the confusion. yes it is set to disk and a default absolute path is given and it does work, the files end up in the right place.

but the path in administration is always empty. I can try to save other path in there. it remains empty.

step by step: go to manage->manage project->choose a project

oh, so if the patch is not applied to 1.2.x it could explain it. why has it not?

ooh, do another installation with exe file..? My 1.2.8 is quite out of the box. Only added timetracking plugin, and changed the status enum so far. windows 2003 server, php 5.3.6, mysql 5.0.91

atrol

atrol

2011-12-29 05:05

developer   ~0030725

Let me repeat: There are two issues

  1. A feature request to show upload path defined in $g_absolute_path_default_upload_folder 0008250

  2. Path remains empty after saving a path

  3. has been resolved in version 1.3.x, maybe dhx didn't commit also to master 1.2.x because it's not a bug but a feature request. I don't know.

  4. You wrote

    I can try to save other path in there. it remains empty.
    I am not able to reproduce the issue using standard MantisBT 1.2.8 without any patches.

Did you search your webserver logfiles for errors and warnings?
Which browser do you use?
Did you run admin/check.php?

Maybe you will try Mantis2Go if I tell you, that the exe is nothing more than unpacking an archive and creating one link and one folder on your desktop. To get rid of Mantis2Go you have just to remove the link and the folder from your desktop.

AbsolutelyFreeWeb

AbsolutelyFreeWeb

2011-12-29 13:15

reporter   ~0030731

I'm sorry Atrol, my bug report has been missleading :(

I have put the -same- path into the path field, not -other-. So sub issue 2 is not actually happening. I think it's related to sub issue 1 and not displaying default path.

But I have another sub issue 2, when I upload files from an issue they end up in the default folder(mantisinstallationpath\upload) which is correct. But when I upload files from the "Docs" area , they end up in root folder (mantisinstallationpath).

I am using mostly opera 11.60, or IE 8. i'm on xp.
I am not aware of any php error logs on the server. I have http access logs but they don't say much.
admin/check.php reports a few errors related to a plugin called timecard (which is not "installed" by the way)
Mantis2go won't install at all. I have downloaded it twice: "Installer integrity check has failed. Common causes include incomplete download and damaged media. Contact the installers author to obtain a new copy."

atrol

atrol

2011-12-30 11:55

developer   ~0030740

AbsolutelyFreeWeb, my mistake was to look at 0008250 and the attached commit (only for master) instead of just trying myself.
At the moment I am not able to reproduce any of your issues or subissues using MantisBT 1.2.8

I don't like mixing up issues in one issue, so lets start again from scratch with your first issue

  1. Set $g_absolute_path_default_upload_folder in config_inc.php
  2. Goto page "Manage" -> "Manage Projects"
  3. Push button "Create New Project"

I get a form where the value for "Upload File Path" is prefilled with the value of $g_absolute_path_default_upload_folder
If I understand right, your field for "Upload File Path" is empty?

I tried this using Mantis2Go 1.0.5 (which includes MantisBT 1.2.8) and IE9

You will have to provide a reproducible workflow or I will close this issue as "not reproducible"

BTW, I downloaded Mantis2Go and installed without any problems. Until now there was no other user of Mantis2Go who reported a similar issue to me. You should download again and check the filesize (should be 56.470.210 bytes)

AbsolutelyFreeWeb

AbsolutelyFreeWeb

2011-12-30 21:04

reporter   ~0030741

Hi atrol,

I don't like mixing issues either :)

installed mantis2go successfully this time after downloading it again.
steps 1,2,3 path will show on both installations, I just checked.
however after creating the project, the file_path is not there on any of my projects in my installation, but file_path is saved in mantis2go. I have checked the database.

Also checked that manage_proj_update.php and manage_proj_edit_page.php are identical in both installations.

AbsolutelyFreeWeb

AbsolutelyFreeWeb

2011-12-30 21:52

reporter   ~0030742

more information, in my installation the path goes empty after call to validate_project_file_path in project_api.php where code compares the path to default and blanks it out. since project_api is identical too, I'm not sure why mantis2go behaved differently. It should have blanked it out there as well.

Here is what code comment says:

If the provided path is the same as the default, make the path blank.

This means that if the default upload path is changed, you don't have

to update the upload path for every single project.

so, back to the issue, if the file_path is empty the default should be shown. the proposed fix seems to have been applied in manage_proj_create_page, but it is still to be applied to manage_proj_edit_page.

atrol

atrol

2011-12-31 05:31

developer   ~0030750

Maybe also related 0008504

dregad

dregad

2011-12-31 11:19

developer   ~0030751

Just for the record and to clear up any confusion (see 0013696:0030725), the fix for 0008250 was applied to 1.2.x branch, not 1.3.x :

$ git describe --contains 7871f6cf
release-1.2.0rc1~52^2

Note: until 1.2.0rc1 there was only the "master" branch, "master-1.2.x" was only created then.

atrol

atrol

2012-02-20 16:33

developer   ~0031264

Last edited: 2012-02-20 16:33

Thanks dregad for clearing up the confusion

atrol

atrol

2012-02-20 16:59

developer   ~0031266

Waiting for source control plugin to attach changesets

grangeway

grangeway

2013-04-05 17:57

reporter   ~0036373

Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch

Related Changesets

MantisBT: master-1.2.x 125af4e4

2012-02-20 07:46

atrol


Details Diff
Fix 0013696: Show absolute_path_default_upload_folder on edit project page

Fix of 0008250 did the same for the create project page
Affected Issues
0013696
mod - manage_proj_edit_page.php Diff File

MantisBT: master 26db7ae2

2012-02-20 08:04

atrol


Details Diff
Fix 0013696: Show absolute_path_default_upload_folder on edit project page

Fix of 0008250 did the same for the create project page
Affected Issues
0013696
mod - manage_proj_edit_page.php Diff File