Opened 6 years ago

Closed 21 months ago

#8187 closed defect (worksforme)

Add Attachment to Trac ticket does not work with Browse-95 in joyride-2301

Reported by: thomaswamm Owned by: erikos
Priority: normal Milestone: 9.1.0-cancelled
Component: browse-activity Version: Development build as of this date
Keywords: cjbfor9.1.0 Cc:
Blocked By: Blocking:
Deployments affected: Action Needed: reproduce
Verified: no

Description

When I create (or add to) a Trac ticket and click the tiny checkbox (above the Preview button) to indicate I have files to attach to this ticket, the subsequent Add Attachment web page has a non-functional Browse button for file selection.

The best work-around I have found is to launch another instance of Browse, view the ticket in there and click the Attach Files button. The subsequent Add Attachment web page then works okay. And then I close the previous instance of Browse, and continue working with the newer instance.

I assume this is a Browse bug, but could be wrong.

Attachments (3)

tmpXUFOOX.png (62.6 KB) - added by thomaswamm 6 years ago.
[Browse] button on Trac's Add Attachment web page sometimes does not function.
tmpsRDlJK.log (25.3 KB) - added by thomaswamm 6 years ago.
WebActivity.log with filepicker references that might be related to bug
Screenshot of %22Browse Activity%22.png (44.1 KB) - added by humitos 21 months ago.
Testing

Download all attachments as: .zip

Change History (12)

Changed 6 years ago by thomaswamm

[Browse] button on Trac's Add Attachment web page sometimes does not function.

comment:1 follow-up: Changed 6 years ago by erikos

  • Resolution set to duplicate
  • Status changed from new to closed

Quite sure you see #7498 - feel free to reopen if you think otherwise. Steps to reproduce:

  • open browse a
  • open browse b
  • try to open attach a file to a ticket in browse a
  • the objectchooser dialog will appear in browse b

comment:2 in reply to: ↑ 1 Changed 6 years ago by thomaswamm

  • Resolution duplicate deleted
  • Status changed from closed to reopened

Replying to erikos:

Quite sure you see #7498 - feel free to reopen if you think otherwise...

It might be related, but I see my bug with only ONE instance of Browse running. My work-around opens a second Browse, and then, yes, I see 7498 happening. It surprised me, but worked around my bug. One bug counteracting another bug!

So I suggest to keep this ticket open until better diagnosed.

A new clue: I see my bug when I use the Trac preview button, but I do not see the bug if I just submit changes right away without any preview. I prefer to preview, but now am tempted to avoid it :-(

comment:3 Changed 6 years ago by erikos

Hmmm the 'I have files to attach to this ticket' is only available once you create a bug, right? I tested with the 'add attachement' button at the top wich was working fine for me.

comment:4 Changed 6 years ago by erikos

ok i did the following:

  • click: New Ticket
  • add header, and comment
  • select 'I have files to attach...'
  • click preview
  • click submit
  • attach file

The result is #8232. Can you give me your detailed instructions to reproduce? Thanks!

comment:5 Changed 6 years ago by thomaswamm

I reproduced it again, using same Browse-95 in joyride-2301. No other activities launched (except Journal). The XO was Restarted not long before trying this.

I created a new Trac ticket using these steps in Browse:

  • clicked New Ticket
  • filled in the form with Summary, Description, selected component, etc.
  • selected 'I have files to attach...'
  • clicked preview, then reviewed my inputs
  • clicked create ticket, then received 'Add Attachment' web page as seen in screenshot
  • clicked Browse button on the page, but nothing happened !

At this point, I exploited bug #7498 by launching a second Browse, going back to my first Browse and clicking the Browse button again, then going to the second Browse and finally seeing the Choose an object dialog box. I used this work-around 3 times to attach 3 files to my new ticket #8246 (which is irrelevant to this ticket).

Hope that helps. Incidentally, you are correct that the checkbox 'I have files to attach...' only appears when creating a new ticket, not when adding to an existing ticket. Until now I had been confused by that. So my original Description is incorrect when I wrote '(or add to)'.

I am mystified why you were unable to reproduce this bug. It has affected me several times, and is now so predictable.

comment:6 Changed 6 years ago by thomaswamm

More confusion: I just added an additional attachment to an existing ticket, but the Add Attachment Browse button did not work again. But this was using the same Browse-95 instance that had failed before. So once Browse-95 is broken, it seems to stay broken for that session or instance. Again, I was able to work-around by launching a second instance of Browse.

Changed 6 years ago by thomaswamm

WebActivity.log with filepicker references that might be related to bug

comment:7 Changed 6 years ago by erikos

I really can not reproduce this one. I thought that it might be related to an old compreg.dat like in #5428. You might just want to update to latest joyride > 2378 and see if you still have the problem there (you have to use browse-96 for that test).

Thanks

comment:8 Changed 6 years ago by mstone-xmlrpc

  • Keywords cjbfor9.1.0 added
  • Milestone changed from 8.2.1 to 9.1.0

Pushing out to 9.1.0, per edmcnierney's request.

Changed 21 months ago by humitos

Testing

comment:9 Changed 21 months ago by humitos

  • Resolution set to worksforme
  • Status changed from reopened to closed

Closing as "works for me". I was able to attach a file with the new version of Browse (WebKit) in 13.1.0 os25

Note: See TracTickets for help on using tickets.