diff --git a/plugins/importexport/onix30/filter/MonographONIX30XmlFilter.php b/plugins/importexport/onix30/filter/MonographONIX30XmlFilter.php index 121eb86f79..bd7b0c5471 100644 --- a/plugins/importexport/onix30/filter/MonographONIX30XmlFilter.php +++ b/plugins/importexport/onix30/filter/MonographONIX30XmlFilter.php @@ -169,7 +169,14 @@ public function createProductNode($doc, $submission, $publicationFormat, $identi $productNode = $doc->createElementNS($deployment->getNamespace(), 'Product'); $request = Application::get()->getRequest(); - $productNode->appendChild($this->_buildTextNode($doc, 'RecordReference', $request->url($context->getPath(), 'monograph', 'view', [$submission->getId()]))); + + // Create the RecordReference + $host = $request->getServerHost(null, false); + $path = $context->getPath(); + $pubId = $publicationFormat->getId(); + $recordReference = $host . '.' . $path . '.' . $pubId; + + $productNode->appendChild($this->_buildTextNode($doc, 'RecordReference', $recordReference)); $productNode->appendChild($this->_buildTextNode($doc, 'NotificationType', '03')); $productNode->appendChild($this->_buildTextNode($doc, 'RecordSourceType', '04')); // Bibliographic agency