Add notes for 2022-11-27

This commit is contained in:
2022-11-27 13:52:43 +03:00
parent 6240bdf5ad
commit f5750dab39
29 changed files with 67 additions and 35 deletions

View File

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