Created
November 21, 2020 22:36
-
-
Save awoods/791f9f2fd4f8661f8d039542d126cd11 to your computer and use it in GitHub Desktop.
Diff required to allow page management
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/ProcessRdfForm.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/ProcessRdfForm.java | |
index 406db61fe..668d65683 100644 | |
--- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/ProcessRdfForm.java | |
+++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/ProcessRdfForm.java | |
@@ -233,7 +233,8 @@ public class ProcessRdfForm { | |
literalsFromForm.replace(aKey, newLiteralFromForm); | |
} | |
- substituteInMultiLiterals( literalsFromForm, requiredAsserts, optionalAsserts, URLToReturnTo); | |
+ substituteInMultiLiterals( submission.getLiteralsFromForm(), requiredAsserts, optionalAsserts, URLToReturnTo); | |
+// substituteInMultiLiterals( literalsFromForm, requiredAsserts, optionalAsserts, URLToReturnTo); | |
logSubstitue( "Added form Literals", requiredAsserts, optionalAsserts, requiredRetracts, optionalRetracts); | |
//Retractions does NOT get values from form. | |
@@ -329,8 +330,10 @@ public class ProcessRdfForm { | |
} | |
} catch (Exception e) { | |
} | |
- retracts.addAll( parseN3ToRDF(requiredDels, REQUIRED, lingCxt) ); | |
- retracts.addAll( parseN3ToRDF(optionalDels, OPTIONAL, lingCxt) ); | |
+// retracts.addAll( parseN3ToRDF(requiredDels, REQUIRED, lingCxt) ); | |
+// retracts.addAll( parseN3ToRDF(optionalDels, OPTIONAL, lingCxt) ); | |
+ retracts.addAll( parseN3ToRDF(requiredDels, REQUIRED) ); | |
+ retracts.addAll( parseN3ToRDF(optionalDels, OPTIONAL) ); | |
} | |
return new AdditionsAndRetractions(adds,retracts); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment