Commit 2d0e5f0f by Antti Tonkyra

VotingBean fix

1 parent 494e1282
......@@ -58,7 +58,10 @@ public class VotingBean implements VotingBeanLocal {
compoEntry.setCreator(permissionBean.getCurrentUser());
compoEntryFacade.create(compoEntry);
compoEntryFile.setEntriesId(compoEntry);
compoEntryFileFacade.create(compoEntryFile);
compoEntry.setCurrentFile(compoEntryFile);
compoEntry.setFiles(new ArrayList<CompoEntryFile>());
compoEntry.getFiles().add(compoEntryFile);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!