Set merge_profile id sequence explicitly
Bug #1426133 reported by
Remington Steed
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Low
|
Unassigned | ||
2.6 |
Fix Released
|
Undecided
|
Unassigned | ||
2.7 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Many database tables need to explicitly set the id sequence (often to 100) to provide room for stock data with static ids. The stock database contains 2 profiles but doesn't yet set the sequence for merge_profile. This is causing the pgTAP test for bug 957466 to fail, since the test tries to create a new profile, which defaults to id=1 which is already taken by a stock profile.
We need to set merge_profile_
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Here is a branch that sets the sequence value in the stock database and includes an upgrade script.
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ rsteed/ lp1426133_ set_merge_ profile_ sequence