View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006605 | Taler | mechant backend | public | 2020-09-13 20:57 | 2021-08-24 16:23 |
Reporter | Florian Dold | Assigned To | Christian Grothoff | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | git (master) | ||||
Target Version | 0.8 | Fixed in Version | 0.8 | ||
Summary | 0006605: taler-merchant-dbinit -r doesn't work | ||||
Description | Looks like this somehow first tries to read the current database with the current schema. | ||||
Steps To Reproduce | $ taler-merchant-dbinit -r Sep 13 20:49:47-075508 pq-4100070 ERROR PQprepare (`SELECT contract_terms,claim_token,h_post_data FROM merchant_orders WHERE merchant_orders.merchant_serial= (SELECT merchant_serial FROM merchant_instances WHERE merchant_id=$1) AND merchant_orders.order_id=$2' as `lookup_order') failed with error: ERROR: column "h_post_data" does not exist LINE 1: SELECT contract_terms,claim_token,h_post_data FROM merchant_... ^ Failed to initialize database plugin. | ||||
Tags | No tags attached. | ||||
|
Is this on a fresh DB? Like the wallet, we didn't implement migration from older DBs. |
|
It's on an existing DB, but since taler-merchant-dbinit is being called with the *reset* flag (-r), I would expect it to not care about migrations! (Otherwise, there's no point in --reset and we should just remove it!) |
|
Fixed in b9e87dd..5466b94 |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-09-13 20:57 | Florian Dold | New Issue | |
2020-09-13 20:57 | Florian Dold | Status | new => assigned |
2020-09-13 20:57 | Florian Dold | Assigned To | => Christian Grothoff |
2020-09-13 23:12 | Christian Grothoff | Note Added: 0016968 | |
2020-09-13 23:14 | Christian Grothoff | Assigned To | Christian Grothoff => Florian Dold |
2020-09-13 23:14 | Christian Grothoff | Status | assigned => feedback |
2020-09-14 07:16 | Florian Dold | Note Added: 0016969 | |
2020-09-14 09:07 | Christian Grothoff | Assigned To | Florian Dold => Christian Grothoff |
2020-09-14 09:07 | Christian Grothoff | Status | feedback => resolved |
2020-09-14 09:07 | Christian Grothoff | Resolution | open => fixed |
2020-09-14 09:07 | Christian Grothoff | Fixed in Version | => 0.8 |
2020-09-14 09:07 | Christian Grothoff | Note Added: 0016970 | |
2020-09-14 09:07 | Christian Grothoff | Target Version | 0.8.1 => 0.8 |
2021-08-24 16:23 | Christian Grothoff | Status | resolved => closed |