Skip to content

Commit

Permalink
Merge pull request #1090 from OPUS4/v4.8.0.1
Browse files Browse the repository at this point in the history
OPUS 4.8.0.1 Patch Release
  • Loading branch information
j3nsch authored Aug 15, 2023
2 parents d6f0877 + 515ca76 commit d4f3cb5
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# OPUS 4 Change Log

## Release 4.8.0.1 - 2023-08-15

OPUS 4.8.0.1 Project on GitHub
https://github.com/orgs/OPUS4/projects/55

## Release 4.8 - 2023-04-25

OPUS 4.8 Project on GitHub
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ redevelopment that was created as part of a DFG ([Deutsche Forschungsgemeinschaf
Since then the development has been continued at KOBV ([Kooperativer Bibliotheksverbund Berlin-Brandenburg][KOBV])
mostly.

## OPUS 4.8 (current version)
## OPUS 4.8.0.1 (current version)

The current version of OPUS 4 is __4.8__. It is available on the [master][MASTER] branch and compatible with PHP 7.1
to 8.1.
The current version of OPUS 4 is __4.8.0.1__. It is available on the [master][MASTER] branch and compatible with
PHP 7.1 to 8.1.

[Documentation][DOC]
: Information on setting up a repository, for users and administrators.
Expand Down
27 changes: 27 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# OPUS 4 Release Notes

## Patch Release 4.8.0.1 - 2023-08-15

Es wurde ein Fehler behoben, bei dem Personen im Metadaten-Formular
unter Umständen nicht mehr angezeigt wurden.

https://github.com/OPUS4/application/issues/1068

### BibTeX-Import

Außerdem wurde der BibTeX-Import erweitert. Beim Mapping von Titeln
kann jetzt die Sprache angegeben werden und es kann auf alle Titel-Typen
gemappt werden.

https://github.com/OPUS4/opus4-bibtex/issues/67

In Personen-Feldern können nun Identifier mit angegeben werden.

https://github.com/OPUS4/opus4-bibtex/issues/69

Die Personen-Rolle in OPUS 4 kann jetzt im Mapping konfiguriert werden,
damit der BibTeX-Feldname nicht mehr mit der Rolle übereinstimmen muss.

https://github.com/OPUS4/opus4-bibtex/issues/70

Für weitere Änderungen am OPUS4-BibTeX Package, siehe hier:
https://github.com/OPUS4/opus4-bibtex/releases/tag/4.8.0.1

## Release 4.8 - 2023-04-25

Für diesen Release wurden sehr viele Änderungen am Code von OPUS 4
Expand Down
2 changes: 1 addition & 1 deletion application/configs/application.ini
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ name = 'OPUS 4'
logoLink = home
security = 1
workspacePath = APPLICATION_PATH "/workspace"
version = 4.8
version = 4.8.0.1
update.latestVersionCheckUrl = "https://api.github.com/repos/opus4/application/releases/latest"

; Determines the implementation of the OPUS 4 data model
Expand Down
3 changes: 2 additions & 1 deletion modules/admin/views/scripts/form/personForm.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ use Opus\Common\Person;
$personId = $this->element->getElement(Admin_Form_Person::ELEMENT_PERSON_ID)->getValue();
$person = $this->element->getModel();
if ($person === null && $personId !== null) {
$person = Person::new($personId);
// TODO TEST Bug #1068 new() was used instead of get() - How to write a unit test for that?
$person = Person::get($personId);
}
// TODO ELSE err output

Expand Down
4 changes: 2 additions & 2 deletions public/layouts/opus4/js/doiAssist.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ function getEditor(json)
if (json.message.editor[_z].ORCID != null) {
if (json.message.editor[_z].ORCID.includes("/")) {
var orcid_raw = json.message.editor[_z].ORCID;
let re = orcid_raw.match(/([\d\-]+)/g);
let re = orcid_raw.match(/([\d\-X]+)/g);
if (re != null) {
orcid = re[0];} else {
orcid = ''}
Expand Down Expand Up @@ -337,7 +337,7 @@ function getAuthor(json)
if (json.message.author[_z].ORCID != null) {
if (json.message.author[_z].ORCID.includes("/")) {
var orcid_raw = json.message.author[_z].ORCID;
let re = orcid_raw.match(/([\d\-]+)/g);
let re = orcid_raw.match(/([\d\-X]+)/g);
if (re != null) {
orcid = re[0];
} else {
Expand Down

0 comments on commit d4f3cb5

Please sign in to comment.