mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Update notes for 2019-03-19
This commit is contained in:
@ -485,4 +485,19 @@ $ xzgrep 'Can not load requested doc' cocoon.log.2019-03-08.xz | grep -oE '2019-
|
||||
|
||||
- I'm not sure if it's cocoon or that's just a symptom of something else
|
||||
|
||||
## 2019-03-19
|
||||
|
||||
- I found a handful of AGROVOC subjects that use a non-breaking space (0x00a0) instead of a regular space, which makes for a pretty confusing debugging...
|
||||
- I will replace these in the database immediately to save myself the headache later:
|
||||
|
||||
```
|
||||
dspace=# SELECT count(text_value) FROM metadatavalue WHERE resource_type_id=2 AND metadata_field_id = 57 AND text_value ~ '.+\u00a0.+';
|
||||
count
|
||||
-------
|
||||
84
|
||||
(1 row)
|
||||
```
|
||||
|
||||
- Perhaps my `agrovoc-lookup.py` script could notify if it finds these because they potentially give false negatives
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user