Skip to content

Fixes issue with repository log view#4649

Merged
ajrbyers merged 1 commit into
openlibhums:masterfrom
bibliotechy:cdl/fix-repository-manage-log
Mar 7, 2025
Merged

Fixes issue with repository log view#4649
ajrbyers merged 1 commit into
openlibhums:masterfrom
bibliotechy:cdl/fix-repository-manage-log

Conversation

@bibliotechy

Copy link
Copy Markdown
Contributor

The addressee display template was updated to include a check for PII, but the implementation assumes that the item being managed is an article in a journal, but that template fragment is also used by the repository log.

Adds some logic to check if the article variable is defined before applying PII checks. This means that PII checks are not appliedd to repository email addresses in this list, but as none of the rest of the PII functionality is built out for repository side, this seems reasonble.

Fixes #4637

The addressee display template was updated to include a check for PII, but the
implementation assumes that the item being managed is an article in a
journal, but that template fragment is also used by the repository log.

Adds some logic to check if the article variable is defined before
applying PII checks. This means that PII checks are not appliedd to
repository email addresses in this list, but as none of the rest of the
PII functionality is built out for repository side, this seems
reasonble.

Fixes openlibhums#4637
@mauromsl mauromsl requested a review from ajrbyers March 7, 2025 08:50
@mauromsl mauromsl added this to the v1.8.0 Tracker milestone Mar 7, 2025
@ajrbyers ajrbyers merged commit 422c248 into openlibhums:master Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Repository: Server error when accessing repo item log

3 participants