Update notes for 2019-03-19

This commit is contained in:
2019-03-19 11:33:51 +02:00
parent 33cb0325c1
commit fa99c86dd2
3 changed files with 41 additions and 8 deletions

View File

@ -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: -->