Bug 209870 - support adding attachments with new bug submission
Summary: support adding attachments with new bug submission
Status: CLOSED MOVED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
: 242808 242982 364870 (view as bug list)
Depends on:
Blocks: 216640
  Show dependency tree
 
Reported: 2007-11-14 16:52 EST by Robert Elves CLA
Modified: 2014-06-26 16:25 EDT (History)
5 users (show)

See Also:


Attachments
mylyn/context/zip (10.88 KB, application/octet-stream)
2007-11-15 16:43 EST, Frank Becker CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Elves CLA 2007-11-14 16:52:21 EST
Bugzilla 3.0 supports adding attachments at the same time as new bug submission. The Bugzilla Connector should ideally support this. Note that current attachment support is based on streaming contents of file to existing bug report but may be able to simply perform submit after new bug post.
Comment 1 Eugene Kuleshov CLA 2007-11-14 17:31:25 EST
JIRA support this too. But even for connectors that don't have such support it should be possible to simulate this by running several actions under the hood (i.e. allow user to add multiple attachments and submit them all in one shot). This is somehow in line with the making task editor a real editor that don't rely on the "submit to server" action (there is a separate bug for that).
Comment 2 Frank Becker CLA 2007-11-15 16:43:19 EST
What do you think about the following way.

actually if you look at the HTML of attachment.cgi and enter_bug.cgi you will see that the same part is included for set the form fields. So what about to factor this out in an extra method that we call from postAttachment and postTaskData.

But what is the corret UI to set the needet fields. Actually for add Attachments we use the NewAttachmentWizard but in Bugzilla during Generation only a new Groupbox get insert. So it is OK to use the NewAttachmentWizard for the Attachment creation in new Bug mode.
Comment 3 Frank Becker CLA 2007-11-15 16:43:22 EST
Created attachment 83005 [details]
mylyn/context/zip
Comment 4 Eugene Kuleshov CLA 2007-11-15 17:20:38 EST
If it was up to me, I'd have attachment table with "Add..." button then open a dialog similar to attachment wizard but with no "comment" area. So, user could add/remove attachments ant then submit them all at once.
Comment 5 Mik Kersten CLA 2007-11-16 01:57:58 EST
Rob: please review.
Comment 6 Eugene Kuleshov CLA 2007-11-16 11:54:47 EST
Mik, there is no patch yet, just the task context. But this issue is requesting input on how it should be implemented.
Comment 7 Robert Elves CLA 2007-11-17 01:36:29 EST
Frank, lets hold off on this functionality until 2.3 since this will require significant api and editor changes. These will need to be coordinated with:

179254: [api] AbstractRepositoryTaskEditor needs to be decomposed
https://bugs.eclipse.org/bugs/show_bug.cgi?id=179254

P.S. Reassigning to me since our standard policy is usually to assign to the contributor once patches are reviewed and committed. I will try to stick to this policy in the future.

Comment 8 Matthew Hall CLA 2008-05-05 17:21:34 EDT
> If it was up to me, I'd have attachment table with "Add..." button then open a
> dialog similar to attachment wizard but with no "comment" area. So, user could
> add/remove attachments ant then submit them all at once.

+1
Comment 9 Steffen Pingel CLA 2008-07-31 22:10:15 EDT
*** Bug 242808 has been marked as a duplicate of this bug. ***
Comment 10 Steffen Pingel CLA 2009-08-17 23:55:25 EDT
*** Bug 242982 has been marked as a duplicate of this bug. ***
Comment 11 Frank Becker CLA 2011-09-30 14:08:59 EDT
Bugzilla 3.6.3 supports add an attachment on new.

I think we can add an section where we have the editors for the attachment fields (File, Description).

Should I try this for 3.7?
Comment 12 Steffen Pingel CLA 2011-09-30 19:23:14 EDT
I think this is a larger feature that requires framework support for offline attachments. My sense is that this is out of scope for 3.7 since we don't have a good driver for the feature at the moment. I have marked it as plan though so we consider it during the next planning session.
Comment 13 Steffen Pingel CLA 2012-03-08 11:22:03 EST
*** Bug 364870 has been marked as a duplicate of this bug. ***
Comment 14 Sam Davis CLA 2012-03-08 15:42:23 EST
(In reply to comment #12)
> I think this is a larger feature that requires framework support for offline
> attachments. 

Couldn't it be enabled only if the connector supports submitting attachments with a new task? Then there would be no need for offline support.
Comment 15 Frank Becker CLA 2012-03-10 03:05:49 EST
Should I start with this after 3.7 is out?

The first step is to do the background work. So we have time to do the UI part later.

Thoughts?
Comment 16 Steffen Pingel CLA 2012-03-10 06:22:40 EST
I don't think we can take this on in the short term. We have determine how to manage unsubmitted attachments first.
Comment 17 Palmer Eldritch CLA 2014-05-02 12:52:05 EDT
Just to say I spent a lot of time(s) going through the bug submission task UI to find the clip icon - I was sure it would be there...

Especially for a new bug straight from the Error Log View - which should had the option to at least attach the log!

Needless to say this means use the web UI _or_ add (spam) two comments - one just for the attachment.

So please consider this, it is a serious deficiency in the bug submission UI

Thanks!

PS: reading the comments - no need for fancy additions - a UI just like bugzilla's
Comment 18 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn