2016-08-30
| ||
09:32 | • Ticket [8179e10483] refdb: set appends changes but does not replace status still Open with 3 other changes artifact: bf0960777f user: tyardeni | |
09:29 | • Ticket [8179e10483]: 3 changes artifact: 150149175e user: tyardeni | |
2016-08-29
| ||
17:45 | • Ticket [8179e10483]: 5 changes artifact: 7dc08e016f user: tyardeni | |
17:44 | • New ticket [8179e10483]. artifact: 3ec83b4c45 user: tyardeni | |
Ticket Hash: | 8179e10483d73a7a1ebfdd702d34c8cc8a49434d | |||
Title: | refdb: set appends changes but does not replace | |||
Status: | Open | Type: | Code_Defect | |
Severity: | Important | Priority: | Immediate | |
Subsystem: | Resolution: | Open | ||
Last Modified: | 2016-08-30 09:32:57 | |||
Version Found In: | ||||
Description: | ||||
refdb set command does not replace existing lines in the .dat file when updating existing keys:
refdb set db row col data [] [col] row data ... refdb set db row col data [] [col] row data row data | ||||
User Comments: | ||||
tyardeni added on 2016-08-29 23:45:55:
See below for sample of the behavior. Opening with "refdb edit" cleans up the extra lines... refdb set db row col data [] [col] row data ... refdb set db row col data [] [col] row data row data tyardeni added on 2016-08-30 15:29:19: On refdb set command if sheet-names.cfg is missing: $ refdb set db sheet col row data Error: (open-output-file) cannot open file - No such file or directory: "db/sheet-names.cfg" Call history: refdb.scm:149: main refdb.scm:136: argv refdb.scm:64: string->symbol refdb-module.scm:702: ##sys#get-keyword refdb-module.scm:703: conc refdb-module.scm:706: refdb#conf-get-record refdb-module.scm:775: conc refdb-module.scm:775: file-exists? refdb-module.scm:778: dat-lookup refdb-module.scm:472: filter refdb-module.scm:707: file-exists? refdb-module.scm:711: add-sheet refdb-module.scm:608: refdb#list-sheets refdb-module.scm:603: file-exists? refdb-module.scm:609: conc refdb-module.scm:609: with-output-to-file <-- tyardeni added on 2016-08-30 15:32:57: The last update belonged on a different ticket :( |