#546 closed defect (fixed)
WebStat: renaming a column in webstat.cfg deletes the column
| Reported by: | jcaffaro | Owned by: | calvarez |
|---|---|---|---|
| Priority: | trivial | Milestone: | v1.2 |
| Component: | WebStat | Version: | |
| Keywords: | Cc: |
Description
When renaming a column in webstat.cfg and running ./webstatadmin --load-config,
the column is deleted from the database instead of being renamed, losing the information previously logged.
It would be safer that the column is renamed instead of being "replaced".
Change History (13)
comment:1 Changed 2 years ago by calvarez
- Status changed from new to in_merge
comment:2 Changed 2 years ago by simko
- Status changed from in_merge to assigned
comment:3 Changed 2 years ago by calvarez
- Status changed from assigned to in_merge
comment:4 Changed 19 months ago by Carmen Alvarez Perez <carmen.alvarez.perez@…>
- Resolution set to fixed
- Status changed from in_merge to closed
comment:5 follow-up: ↓ 7 Changed 19 months ago by simko
- Resolution fixed deleted
- Status changed from closed to new
Reopening this ticket, because the above comment:2 related to 909C4 vs 773 was not addressed... slipped during merge.
comment:6 Changed 19 months ago by simko
- Status changed from new to assigned
comment:7 in reply to: ↑ 5 ; follow-up: ↓ 8 Changed 17 months ago by calvarez
- Status changed from assigned to in_merge
Replying to simko:
Reopening this ticket, because the above comment:2 related to 909C4 vs 773 was not addressed... slipped during merge.
It was fixed in this commit: http://invenio-software.org/repo/invenio/commit/?id=ea5536211192ac35b81615a73a8d8acdb7611b7f
- Fix custom query summary (use CFG_JOURNAL_TAG variable)
comment:8 in reply to: ↑ 7 Changed 16 months ago by simko
- Status changed from in_merge to assigned
Replying to calvarez:
It was fixed in this commit:
Actually, it wasn't fixed in that commit. The commit you mention was merged back in November as [ea5536211192ac35b81615a73a8d8acdb7611b7f] already, and while it addresses the 773/909C4 issue, it does not fixes it completely. Which is why I reopened this ticket.
$ git grep -C 1 773 modules/webstat/lib/ modules/webstat/lib/webstat.py- if args['tag'] == '': modules/webstat/lib/webstat.py: args['tag'] = "773__p" modules/webstat/lib/webstat.py- data = get_custom_summary_data(args['query'], args['tag'])
comment:9 Changed 16 months ago by calvarez
- Status changed from assigned to in_merge
comment:10 Changed 4 months ago by skaplun
- Milestone set to v1.2
comment:11 Changed 3 months ago by Carmen Alvarez Perez <carmen.alvarez.perez@…>
- Resolution set to fixed
- Status changed from in_merge to closed

This commit builds on top of another commit that has issues like
909C4p being replaced by 773__p. The demo markup uses 909C4p
precisely so that things like this are configurable... The correct
field to use is 909C4 for the demo markup, while 773 for CDS markup.
So we cannot do such a change globally, it must be made configurable.
More comments IRL.