Edgewall Software

Ticket #3720 (new defect)

Opened 2 years ago

Last modified 2 years ago

Upgrade script db18.py can fail.

Reported by: cboos Owned by: jonas
Priority: normal Milestone: 0.10.6
Component: general Version: 0.10b1
Severity: normal Keywords: upgrade
Cc:

Description (last modified by cboos) (diff)

In the new session table, we introduce a compound primary key on (sid,authenticated).

However, during the upgrade, depending on the content of the old session table, we might insert duplicate records according to this key. This in turn aborts the upgrade.

On 9/13/06, nomorsad <nomorsad@gmail.com> wrote:

... In fact, the db17 is working well, but db18 fails !! ... Command failed: columns sid, authenticated, name are not unique

See source:trunk/trac/upgrades/db18.py@3730#L41

Attachments

Change History

Changed 2 years ago by cboos

  • description modified (diff)

Add/Change #3720 (Upgrade script db18.py can fail.)

Author



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