You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2025/07/20 18:20:36 UTC

(jena) 08/14: GH-3319: Write only the request mode, without assembler RDFS

This is an automated email from the ASF dual-hosted git repository.

andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git

commit 754f6cf114051cf3cd8146b7d718a28a1f4ccb90
Author: Andy Seaborne <an...@apache.org>
AuthorDate: Wed Jul 16 12:24:08 2025 +0100

    GH-3319: Write only the request mode, without assembler RDFS
---
 .../src/main/java/org/apache/jena/fuseki/mgt/ActionDatasets.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/jena-fuseki2/jena-fuseki-main/src/main/java/org/apache/jena/fuseki/mgt/ActionDatasets.java b/jena-fuseki2/jena-fuseki-main/src/main/java/org/apache/jena/fuseki/mgt/ActionDatasets.java
index 5736235c3f..544eeaf081 100644
--- a/jena-fuseki2/jena-fuseki-main/src/main/java/org/apache/jena/fuseki/mgt/ActionDatasets.java
+++ b/jena-fuseki2/jena-fuseki-main/src/main/java/org/apache/jena/fuseki/mgt/ActionDatasets.java
@@ -247,7 +247,7 @@ public class ActionDatasets extends ActionContainerItem {
                 // Keep a persistent copy with a globally unique name.
                 // This is not used for anything other than being "for the record".
                 systemFileCopy = FusekiServerCtl.dirSystemFileArea.resolve(uuid.toString()).toString();
-                RDFWriter.source(model).lang(Lang.TURTLE).output(systemFileCopy);
+                RDFWriter.source(modelFromRequest).lang(Lang.TURTLE).output(systemFileCopy);
 
                 // ----
                 action.log.info(format("[%d] Create database : name = %s", action.id, datasetPath));
@@ -267,8 +267,8 @@ public class ActionDatasets extends ActionContainerItem {
                 }
                 dataAccessPoint.getDataService().setEndpointProcessors(action.getOperationRegistry());
 
-                // Write to configuration directory.
-                RDFWriter.source(model).lang(Lang.TURTLE).output(configFile);
+                // Write to configuration directory (without assembler additional details).
+                RDFWriter.source(modelFromRequest).lang(Lang.TURTLE).output(configFile);
 
                 if ( ! datasetPath.equals(dataAccessPoint.getName()) )
                     FmtLog.warn(action.log, "Inconsistent names: datasetPath = %s; DataAccessPoint name = %s", datasetPath, dataAccessPoint);