MantisBT 2.7.0: attach file to already existing issue

Get help from other users here.

Moderators: Contributor, Developer

MantisBT 2.7.0: attach file to already existing issue

Postby atgfehqyzsulxwkjodtm » Oct 24, 2017 1:28 pm

Hi all,

This is probably a very simple thing and I am missing something but I can't find any way to do this.

I have an already entered issue and now want to attach a new log to the issue. I can't find any way to do this on the "View Issue" page. When I create an issue, it gives me the opportunity to attach a file but nothing either on the issue page or in the add note page. I would be happy with being able to add it to the issue globally or to any particular new note, but can't.

I looked over the bugs for this kind of thing in the bug tracker for Mantis itself, and see that this seems to have been addressed, but can't find any of the configuration issues that need to be there, at least no defaults.

Is this a configuration issue that I need to activate? .. or is this something that is not possible? Thanks.
atgfehqyzsulxwkjodtm
 
Posts: 7
Joined: Oct 24, 2017 1:02 pm

Re: MantisBT 2.7.0: attach file to already existing issue

Postby atrol » Oct 25, 2017 1:02 am

Could you attach a screen shot of your "View Issue" page?
Please use Search before posting and read the Manual
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
Site Admin
 
Posts: 6714
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: MantisBT 2.7.0: attach file to already existing issue

Postby atgfehqyzsulxwkjodtm » Oct 26, 2017 2:54 pm

MantisBT View Issues - Redacted.PNG
MantisBT View Issues - Redacted.PNG (96.59 KiB) Viewed 694 times
Thanks for the reply. I've attached a screen shot with all my project and personal information redacted. Hopefully this will help? Please advise.
atgfehqyzsulxwkjodtm
 
Posts: 7
Joined: Oct 24, 2017 1:02 pm

Re: MantisBT 2.7.0: attach file to already existing issue

Postby atrol » Oct 26, 2017 4:56 pm

atgfehqyzsulxwkjodtm wrote:I can't find any way to do this on the "View Issue" page.
Are you talking about "View Issues" page (many issues), but not the "View Issue" page (single issue)?
Please use Search before posting and read the Manual
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
Site Admin
 
Posts: 6714
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: MantisBT 2.7.0: attach file to already existing issue

Postby atgfehqyzsulxwkjodtm » Oct 27, 2017 12:05 pm

MantisBT View Issue - Redacted.PNG
MantisBT View Issue - Redacted.PNG (93.69 KiB) Viewed 684 times
Yes, my mistake. It makes sense that it would be the individual "View Issue". Here is a redacted image of an existing issue to which I want to attach a file. As you can see (unless I am really missing something), there is no way to attach anything to this issue. Going into the Edit issue doesn't show any way to do this either (I can create an image of that page if you need as well).
atgfehqyzsulxwkjodtm
 
Posts: 7
Joined: Oct 24, 2017 1:02 pm

Re: MantisBT 2.7.0: attach file to already existing issue

Postby atrol » Oct 28, 2017 8:50 am

Did you change setting $g_allow_reporter_upload or $g_upload_bug_file_threshold?

Check settings for attachments on page Manage > Manage Configuration > Permission Report

If all is fine, check that you have file_uploads enabled in your PHP configuration (php.ini)
Run also admin/check/index.php where you might see messages for that.
Please use Search before posting and read the Manual
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
Site Admin
 
Posts: 6714
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: MantisBT 2.7.0: attach file to already existing issue

Postby atgfehqyzsulxwkjodtm » Oct 31, 2017 2:40 am

Thanks for the reply.

No changes to default of either of those two settings. Permissions allow me to upload attachments. Not sure if I have file_uploads enabled in php.ini as this is controlled by the hosting admin, but it seems logical that it is since the listing of the max file upload size in the read only php config options in cPanel shows 2gb. It is possible that this may in fact be off but i would have to contact the admin to verify, and I will if you have no other ideas. admin/check/index.php shows no warnings for attachments.

No joy.
atgfehqyzsulxwkjodtm
 
Posts: 7
Joined: Oct 24, 2017 1:02 pm

Re: MantisBT 2.7.0: attach file to already existing issue

Postby atgfehqyzsulxwkjodtm » Nov 03, 2017 3:38 pm

Since I can attach/upload files when I report a new issue, doesn't this mean that file_upload is enabled in the web hosting's php.ini configuration? If so, then I still have this problem of not being able to attach any files to an issue after it is reported. Please advise.
Last edited by atgfehqyzsulxwkjodtm on Nov 03, 2017 5:56 pm, edited 1 time in total.
atgfehqyzsulxwkjodtm
 
Posts: 7
Joined: Oct 24, 2017 1:02 pm

Re: MantisBT 2.7.0: attach file to already existing issue

Postby atrol » Nov 03, 2017 3:51 pm

Have you set $g_default_bugnote_view_status to VS_PRIVATE ?
Please use Search before posting and read the Manual
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
Site Admin
 
Posts: 6714
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: MantisBT 2.7.0: attach file to already existing issue

Postby atgfehqyzsulxwkjodtm » Nov 03, 2017 5:59 pm

Thanks for the reply. Yes, I have this set to VS_PRIVATE. I need everything to be private. Is this the problem? If so, what is my work around?
atgfehqyzsulxwkjodtm
 
Posts: 7
Joined: Oct 24, 2017 1:02 pm

Re: MantisBT 2.7.0: attach file to already existing issue

Postby atrol » Nov 03, 2017 6:11 pm

Attachments can't be private
https://www.mantisbt.org/bugs/view.php?id=22817
https://www.mantisbt.org/bugs/view.php?id=9802

You have to uncheck the "private" check box to see the attachment section.

atgfehqyzsulxwkjodtm wrote:I need everything to be private.
Are you sure you need private notes for that?
Maybe you don't know the meaning of private projects and private issues.
Please use Search before posting and read the Manual
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
Site Admin
 
Posts: 6714
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: MantisBT 2.7.0: attach file to already existing issue

Postby atgfehqyzsulxwkjodtm » Nov 04, 2017 12:25 am

Hi, and thanks for your patience. I completely misunderstood a bunch of things and now realize why my problem was so hard to explain. My overriding concern was to make sure that our Mantis content was not viewable by anybody that we did not give a log in to, and I see now that making sure that anonymous use is disabled (as it is by default) and eliminating the signup option at the login page is all I needed to do.

The public/private attribute is for restricting access to authenticated users (including anonymous if enabled) at different levels. For my use, I can make all public since the only ones that can get in in the first place must have login ids. This is all explained in the docs and it is on me that I misunderstood all of this.

Again, thanks for your help and apologies for the noise.
atgfehqyzsulxwkjodtm
 
Posts: 7
Joined: Oct 24, 2017 1:02 pm


Return to Help

Who is online

Users browsing this forum: ShadowKatmandu and 11 guests