Fixing problem with data property editing.

This commit is contained in:
briancaruso 2011-11-16 18:43:45 +00:00
parent a09feb0a4d
commit d3fac53bd3

View file

@ -100,8 +100,7 @@ public class N3EditUtils {
//need a new DataPropHash and a new editConfig that uses that, and replace //need a new DataPropHash and a new editConfig that uses that, and replace
//the editConfig used for this submission in the session. The same thing //the editConfig used for this submission in the session. The same thing
//is done for an update or a new insert since it will convert the insert //is done for an update or a new insert since it will convert the insert
//EditConfig into an update EditConfig. //EditConfig into an update EditConfig.
FieldVTwo dataField = copy.getField(copy.getVarNameForObject());
DataPropertyStatement dps = new DataPropertyStatementImpl(); DataPropertyStatement dps = new DataPropertyStatementImpl();
List<Literal> submitted = submission.getLiteralsFromForm().get(copy.getVarNameForObject()); List<Literal> submitted = submission.getLiteralsFromForm().get(copy.getVarNameForObject());