View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0013696 | mantisbt | bugtracker | public | 2011-12-27 01:18 | 2014-09-23 18:05 |
Reporter | AbsolutelyFreeWeb | Assigned To | atrol | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | XP | OS Version | SP3 |
Product Version | 1.2.8 | ||||
Target Version | 1.2.9 | Fixed in Version | 1.2.9 | ||
Summary | 0013696: 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. | ||||
Tags | No tags attached. | ||||
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 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 aware that the default setting of MantisBT is to store attachments in database? |
|
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 |
|
Let me repeat: There are two issues
Did you search your webserver logfiles for errors and warnings? 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. |
|
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. |
|
AbsolutelyFreeWeb, my mistake was to look at 0008250 and the attached commit (only for master) instead of just trying myself. I don't like mixing up issues in one issue, so lets start again from scratch with your first issue
I get a form where the value for "Upload File Path" is prefilled with the value of $g_absolute_path_default_upload_folder 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) |
|
Hi atrol, I don't like mixing issues either :) installed mantis2go successfully this time after downloading it again. Also checked that manage_proj_update.php and manage_proj_edit_page.php are identical in both installations. |
|
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 haveto 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. |
|
Maybe also related 0008504 |
|
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 Note: until 1.2.0rc1 there was only the "master" branch, "master-1.2.x" was only created then. |
|
Thanks dregad for clearing up the confusion |
|
Waiting for source control plugin to attach changesets |
|
Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch |
|
MantisBT: master-1.2.x 125af4e4 2012-02-20 07:46 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 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 |