Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#4214 closed defect (wontfix)

causes new environments to always need upgrading but fails to upgrade

Reported by: progrium@… Owned by: Matthew Good
Priority: high Milestone:
Component: plugin/spamfilter Version: 0.10
Severity: major Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

after creating a new environment with this plugin enabled and running trac (in the browser) it says the environment needs to be upgraded. however, running upgrade fails because the tables already exist.

i did some debugging and it seems that the spamfilter_version record in the system table is being set correctly after setting up the tables during environment create, but after the create process, the row is completely gone. I can't find where exactly it disappears otherwise i would submit a patch, but because that row isn't there it assumes the version is 0 and needs to upgrade and on upgrade fails because it's really at the current schema version.

Attachments (0)

Change History (3)

comment:1 by Matthew Good, 18 years ago

Priority: normalhigh
Severity: normalmajor
Status: newassigned

comment:2 by Matthew Good, 18 years ago

Keywords: needinfo added

I'm unable to reproduce this at this time. Can you post some more information including the version of the SpamFilter you're using and list the steps you used to create your project and upgrade it where you saw this failure? What database and database library version are you using? Thanks, we'll try to take care of this once we're able to reproduce the issue.

comment:3 by Christian Boos, 18 years ago

Keywords: needinfo removed
Resolution: wontfix
Status: assignedclosed

No feedback in two months for an issue we couldn't reproduce, closing.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matthew Good.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Matthew Good 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.