Edgewall Software
Modify

Opened 21 years ago

Closed 21 years ago

#378 closed defect (fixed)

wiki diff ignores first line of page

Reported by: anonymous Owned by: Jonas Borgström
Priority: high Milestone: 0.7
Component: general Version: 0.6.1
Severity: critical Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

If you add text to the first line of the start page, it is ignored by the diff (I.e., isn't shown when you do a diff). On inspection, this seems to be restricted to the first line of text which is When messing around with it, the following error was generated upon one of the save changes:

Oops...

Trac detected an internal error:

columns name, version are not unique

Traceback (most recent call last):
  File "D:\Python23\Lib\site-packages\trac\trac.py", line 254, in main
    real_main()
  File "D:\Python23\Lib\site-packages\trac\trac.py", line 208, in real_main
    module.run()
  File "D:\Python23\Lib\site-packages\trac\Module.py", line 38, in run
    self.render()
  File "D:\Python23\Lib\site-packages\trac\Wiki.py", line 677, in render
    self.page.commit ()
  File "D:\Python23\Lib\site-packages\trac\Wiki.py", line 538, in commit
    self.authname, self.remote_addr, 0, self.text)
  File "D:\Python23\Lib\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 (2)

comment:1 by daniel, 21 years ago

Milestone: 0.7
Priority: normalhigh
Severity: normalcritical

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

Resolution: fixed
Status: newclosed

Good catch, fixed in [523].

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.