mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Update notes for 2018-03-16
This commit is contained in:
@ -206,3 +206,26 @@ org.apache.jasper.JasperException: java.lang.ArrayIndexOutOfBoundsException: -1
|
||||
- If I do a report for "Orth, Alan" with the same custom layout it works!
|
||||
- I submitted a ticket to Atmire: https://tracker.atmire.com/tickets-cgiar-ilri/view-ticket?id=589
|
||||
- Small fix to the example citation text in Listings and Reports ([#365](https://github.com/ilri/DSpace/pull/365))
|
||||
|
||||
## 2018-03-16
|
||||
|
||||
- ICT made the DNS updates for dspacetest.cgiar.org late last night
|
||||
- I have removed the old server (linode02 aka linode578611) in favor of linode19 aka linode6624164
|
||||
- Looking at the CRP subjects on CGSpace I see there is one blank one so I'll just fix it:
|
||||
|
||||
```
|
||||
dspace=# delete from metadatavalue where resource_type_id=2 and metadata_field_id=230 and text_value='';
|
||||
```
|
||||
|
||||
- Copy all CRP subjects to a CSV to do the mass updates:
|
||||
|
||||
```
|
||||
dspace=# \copy (select distinct text_value, count(*) from metadatavalue where resource_type_id=2 and metadata_field_id=230 group by text_value order by count desc) to /tmp/crps.csv with csv header;
|
||||
COPY 21
|
||||
```
|
||||
|
||||
- Once I prepare the new input forms ([#362](https://github.com/ilri/DSpace/issues/362)) I will need to do the batch corrections:
|
||||
|
||||
```
|
||||
$ ./fix-metadata-values.py -i Correct-20-CRPs-2018-03-16.csv -db dspace -u dspace -p 'fuuu' -f cg.contributor.crp -t correct -m 230 -n -d
|
||||
```
|
||||
|
Reference in New Issue
Block a user