Edgewall Software

Ticket #4493 (closed defect: worksforme)

Opened 23 months ago

Last modified 4 weeks ago

Duplicate ticket entries and other issues with notifications enabled (browser dependent)

Reported by: mail@… Owned by: jonas
Priority: normal Milestone:
Component: ticket system Version: 0.10.4
Severity: major Keywords: needinfo
Cc: mail@…

Description

I tried to enable ticket notifications in trac 0.10.3. Here is a snippet from trac.ini:

smtp_enabled = true
smtp_from = trac@myhost.tld
smtp_password = abc123
smtp_port = 25
smtp_replyto = mail@myhost.tld
smtp_server = localhost
smtp_user = mail@myhost.tld
use_tls = true

Ticket notifications work just fine, however, trac behaves rather weird now, dependent on client browser:

  1. Firefox and Internet Explorer 6:
    • Every ticket is submitted twice. For every new ticket entry, two tickets with consecutive IDs are created and thus also two notifications sent.
    • After the user saves a ticket, a blank page is shown with the URL /newticket#preview
    • When a ticket is edited, the user gets the following error:
      Internal Error
      
      Sorry, can not save your changes. This ticket has been modified by someone else since you started
      
      However, there is positively no one else working on the project. Also, the changes are saved as if there was no error at all. Again, the URL shows /ticket/44#preview for example.
  2. Opera:
    • Everything works as expected.
  3. Internet Explorer 7:
    • After the user saves a ticket (new or changes), the error message
      Internet Explorer cannot display the web page
      
      is shown. Changes are saved nonetheless.
  4. links2:
    • After the user saves a ticket (new or changes), the error message
      Error reading from socket
      
      is shown. Changes are saved nonetheless.

I am not just hitting ENTER to save a ticket/ticket change, but click on the "Submit changes" button. These problems are the same for every user of the project, on client windows and linux, regardless whether client connects through proxy, via internet or local.

As soon as I disable notifications, everything works normal again.

Logging is enabled and does not show any error (even not the Internal Error mentioned above).

I am running mod_python-3.1.4 on Apache-2.0.58 on Gentoo Linux. Trac runs with enscript 1.6.4, silvercity 0.9.7, and sqlite 3.3.5.

Best regards, Eric

Attachments

Change History

Changed 23 months ago by mail@…

Update:

Opera displays a new empty ticket entry form after a ticket has been submitted, not the expected ticket view page of the submitted ticket.

Changed 23 months ago by eblot

  • keywords needinfo added

Are you using any plugin or external script?

Changed 23 months ago by Eric

Yes, I am using TracDiscussion? 0.5 and TracWebAdmin 0.1.2dev-r4240

Changed 21 months ago by cboos

  • severity changed from critical to major

... so what happens when you don't enable those plugins? Is the problem still there?

Changed 14 months ago by Jeffrey Hulten <jeffh@…>

Dear Trac Bug Reporter,

There is an outstanding request for information on ticket #4493 (Duplicate ticket entries and other issues with notifications enabled (browser dependent)).

Please test the case of disabling the plugins and testing bug submittal again.

The link to the information requested is http://trac.edgewall.org/ticket/4493#comment:4

Thanks,

Jeffrey Hulten

Changed 12 months ago by sid

  • status changed from new to closed
  • resolution set to worksforme

Closing due to lack of information. Please reopen if you can try this again without the plugins enabled. Thanks.

Changed 8 months ago by w.vanecke@…

  • status changed from closed to reopened
  • version changed from 0.10.3 to 0.10.4
  • resolution worksforme deleted

I am experiencing the same thing. Although not all the time and not for all users.
The onsite users accessing via LAN and using either Firefox or IE 6/7, don't have any problems. The offsite users accessing via the internet and using mainly IE 6/7 sometimes have problems.

I'm using TRAC 0.10.4 and have the following plugins enabled:
traccombinewiki 1.0 tracdiscussion 0.5 tracdoxygen 0.4 tracgantt 0.3.2a tracpagetopdf 0.2 tracwebadmin 0.1.2dev-r4240

Right now I am not in a position to take them all offline to see if the problem still persists. I can probably do a test in a couple of months.But I don't see how the plugins would interfere with the ticket creation process?

Changed 8 months ago by thatch

Both you and the original reporter had issues with th:WebAdminPlugin (the same rev) and th:DiscussionPlugin (0.5). I don't see any big changes in the webadmin plugin, so my suggestion is check the logs and see if th:ticket:2792 might apply. It really would be helpful if you could disable plugin as the comment two above says - "Please reopen if you can try this again without the plugins enabled."

Changed 4 weeks ago by cboos

  • status changed from reopened to closed
  • resolution set to worksforme

If this is still happening for someone with 0.11, please reopen, providing as much relevant information as you can.

Add/Change #4493 (Duplicate ticket entries and other issues with notifications enabled (browser dependent))

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.