File tree 1 file changed +1
-2
lines changed
module-base/src/main/java/de/intranda/goobi/plugins
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 31
31
import org .goobi .beans .Step ;
32
32
import org .goobi .production .enums .PluginType ;
33
33
import org .goobi .production .plugin .interfaces .IWorkflowPlugin ;
34
- import org .goobi .vocabulary .Field ;
35
34
import org .goobi .vocabulary .VocabRecord ;
36
35
37
36
import de .intranda .digiverso .normdataimporter .NormDataImporter ;
@@ -254,7 +253,7 @@ private void readConfiguration(String projectName) {
254
253
// 3.) project name matches and step name is *
255
254
// 4.) project name and step name are *
256
255
try {
257
- config = xmlConfig .configurationAt ("//config[./project = '" + projectName + "']" );
256
+ config = xmlConfig .configurationAt ("//config[./project = '" + projectName . replace ( "'" , " \\ '" ) + "']" );
258
257
} catch (IllegalArgumentException e ) {
259
258
try {
260
259
config = xmlConfig .configurationAt ("//config[./project = '*']" );
You can’t perform that action at this time.
0 commit comments