View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0022817 | mantisbt | attachments | public | 2017-04-26 11:01 | 2019-12-09 04:32 |
Reporter | n - i - i | Assigned To | vboctor | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.3.0 | ||||
Target Version | 2.23.0 | Fixed in Version | 2.23.0 | ||
Summary | 0022817: "private bugnotes" as default setting prevents uploading further attachments | ||||
Description | Changing the config option $g_default_bugnote_view_status = VS_PUBLIC; to VS_PRIVATE blocks the possibility to add further attachments to an existing issue for users, who can't see private notes, because the checkbox(!) for setting bugnotes to private/public is also used to toggle the display-settings of the dropzone for attachments (which is hidden when the checkbox is checked, because there is no such thing as private attachments). Since bugnotes for users, who can't see private notes, are (set later on to) public anyway, the checkbox isn't displayed. That means there's no way for those users to toggle the checkbox and therefore make the dropzone visible. Tested in Mantis version 2.0.0 and 2.3.0. | ||||
Additional Information | The problem lies in bugnote_add_inc.php somewhere around line 151 (2.3.0): $t_attach_style = ( $t_default_bugnote_view_status != VS_PUBLIC ) ? 'display: none;' : ''; This is the initial (and without the checkbox only) part where the display settings for the attachment dropzone is set. | ||||
Tags | mantishub | ||||
has duplicate | 0024123 | closed | atrol | Reporter can't upload attachment when bugnote are private by default. |
has duplicate | 0025915 | closed | atrol | setting $g_default_bugnote_view_status to private prevent normal users to post attachments |
related to | 0009802 | closed | vboctor | Support attachments associated with private notes |
related to | 0024573 | new | cannot reopen or close issue when adding a comment | |
related to | 0025935 | closed | vboctor | Warning for users when making public notes with attachments private |
If you remove this line you will be able to attach files, but even though the note will be private, the attachment will be public and available to users who can't see the private note. I have added a relation to 0009802 for private attachments support. |
|
Even when you comment that line out it won't work in every case. I noticed that you have to type in a note and then add the attachment, during it the other way the attachment is lost (after it got uploaded). |
|
This bug is a blocker which prevents us from upgrading from Mantis 1.3.11 to Mantis 2.8.0. This bugs results in reporters being not able to upload attachments when the default bugnote view status is set to private. |
|
Hi, |
|
We would also like to get this attachment feature in private bugnotes but only accessible for users with a certain level of access. Is it possible to have visibility about the implementation of this feature ? |
|