Korrektur am ImportUtil
git-svn-id: https://svn.libreccm.org/ccm/trunk@1912 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
1c151d775c
commit
2372b3b309
|
|
@ -294,7 +294,7 @@ public class ImporterUtil {
|
||||||
report.addAuthor(processAuthor(proceedings, author, pretend));
|
report.addAuthor(processAuthor(proceedings, author, pretend));
|
||||||
}
|
}
|
||||||
|
|
||||||
report.setPublisher(processPublisher(proceedings, publisherName, place, pretend));
|
report.setPublisher(processPublisher(proceedings, place, publisherName, pretend));
|
||||||
|
|
||||||
proceedings.save();
|
proceedings.save();
|
||||||
inProceedings.setProceedings(proceedings);
|
inProceedings.setProceedings(proceedings);
|
||||||
|
|
@ -347,18 +347,19 @@ public class ImporterUtil {
|
||||||
throw new IllegalArgumentException("Error getting folder for journals");
|
throw new IllegalArgumentException("Error getting folder for journals");
|
||||||
}
|
}
|
||||||
|
|
||||||
final Journal newJournal = new Journal();
|
final Journal journal = new Journal();
|
||||||
newJournal.setTitle(title);
|
journal.setName(normalizeString(title));
|
||||||
newJournal.setLanguage(Kernel.getConfig().getLanguagesIndependentCode());
|
journal.setTitle(title);
|
||||||
newJournal.setContentSection(folder.getContentSection());
|
journal.setLanguage(Kernel.getConfig().getLanguagesIndependentCode());
|
||||||
newJournal.save();
|
journal.setContentSection(folder.getContentSection());
|
||||||
|
journal.save();
|
||||||
|
|
||||||
final JournalBundle bundle = new JournalBundle(newJournal);
|
final JournalBundle bundle = new JournalBundle(journal);
|
||||||
bundle.setParent(folder);
|
bundle.setParent(folder);
|
||||||
bundle.setContentSection(folder.getContentSection());
|
bundle.setContentSection(folder.getContentSection());
|
||||||
bundle.save();
|
bundle.save();
|
||||||
|
|
||||||
article.setJournal(newJournal);
|
article.setJournal(journal);
|
||||||
}
|
}
|
||||||
report.setCreated(true);
|
report.setCreated(true);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue