mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2022-11-27
This commit is contained in:
@ -353,4 +353,18 @@ openjdk-8-jre-headless set on hold.
|
||||
|
||||
- Start a harvest on AReS
|
||||
|
||||
## 2022-11-27
|
||||
|
||||
- I realized I made a mistake in the PDF CropBox code I wrote for dspace-api a few weeks ago
|
||||
- For PDFs with only one page I was seeing this in the filter-media output:
|
||||
|
||||
```console
|
||||
java.lang.IndexOutOfBoundsException: 1-based index out of bounds: 2
|
||||
```
|
||||
|
||||
- It turns out that [PDDocument's getPage() is zero-based](https://javadoc.io/static/org.apache.pdfbox/pdfbox/2.0.27/org/apache/pdfbox/pdmodel/PDDocument.html#getPage-int-)
|
||||
- I also updated PDFBox from 2.0.24 to 2.0.27
|
||||
- I synced DSpace 7 Test with CGSpace
|
||||
- I had to follow my notes from 2022-03 to delete the missing Atmire migrations
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user