Add notes for 2017-02-26

This commit is contained in:
2017-02-26 22:29:46 +02:00
parent a1dae750d8
commit 7bae9fb09e
5 changed files with 78 additions and 1 deletions

View File

@ -216,3 +216,16 @@ filter.org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter.inputFormats = A
- Atmire said I can add `dspace.internalUrl` to my build properties and the error will go away
- It should be the local URL for accessing Tomcat from the server's own perspective, ie: http://localhost:8080
## 2017-02-26
- Find all fields with "http://hdl.handle.net" values (most are in `dc.identifier.uri`, but some are in other URL-related fields like `cg.link.reference`, `cg.identifier.dataurl`, and `cg.identifier.url`):
```
dspace=# select distinct metadata_field_id from metadatavalue where resource_type_id=2 and text_value like 'http://hdl.handle.net%';
dspace=# update metadatavalue set text_value = regexp_replace(text_value, 'http://hdl.handle.net', 'https://hdl.handle.net') where resource_type_id=2 and metadata_field_id IN (25, 113, 179, 219, 220, 223) and text_value like 'http://hdl.handle.net%';
UPDATE 58633
```
- This works but I'm thinking I'll wait on the replacement as there are perhaps some other places that rely on `http://hdl.handle.net` (grep the code, it's scary how many things are hard coded)
- Send message to dspace-tech mailing list with concerns about this