Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

#1739 closed defect (fixed)

Bad error message on concurrent wiki edit

Reported by: anonymous Owned by: Jonas Borgström
Priority: normal Milestone: 0.9
Component: wiki system Version: devel
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christopher Lenz)

Python traceback

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/cgi_frontend.py", line 103, in run
    dispatch_request(os.getenv('PATH_INFO', ''), req, env)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 419, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 283, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.3/site-packages/trac/wiki/web_ui.py", line 86, in process_request
    self._do_save(req, db, page)
  File "/usr/lib/python2.3/site-packages/trac/wiki/web_ui.py", line 182, in _do_save
    req.remote_addr)
  File "/usr/lib/python2.3/site-packages/trac/wiki/model.py", line 120, in save
    "%s,%s)", (self.name, self.version + 1, t, author,
  File "/usr/lib/python2.3/site-packages/sqlite/main.py", line 255, in execute
    self.rs = self.con.db.execute(SQL % parms)
IntegrityError: columns name, version are not unique

Attachments (0)

Change History (3)

comment:1 by Christopher Lenz, 19 years ago

Component: generalwiki
Description: modified (diff)
Milestone: 0.9
Summary: bugBad error message on concurrent wiki edit
Version: 0.8.4devel

So I guess this happened after submitting a wiki edit, but you've been using the back button to get to the form after having submitted it previously, or someone else edited the page at the same time.

comment:2 by Jonas Borgström, 19 years ago

Status: newassigned

comment:3 by Jonas Borgström, 19 years ago

Resolution: fixed
Status: assignedclosed

The concurrent wiki editing detection was broken in trunk. [2105] implements a (imho) slightly more user-friendly system.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.