Commit 5c967083 authored by Fischer, Tim's avatar Fischer, Tim
Browse files

Fixed old reference

parent 09209ba0
......@@ -78,8 +78,8 @@ public class TemplateResource {
bundlesSource.setOwner(userRepository.findOneByLogin(SecurityUtils.getCurrentUserLogin()).get());
bundlesSource.setBundlesSourceState(BundlesSourceState.UNPROCESSED);
bundlesSource.setType(BundlesSourceType.EXCEL_SPREADSHEET);
bundlesSource.setReference("excel-database-" + result.getId());
bundlesSource.setData("excel-database-" + result.getId());
bundlesSource.setReference(Long.toString(result.getId()));
bundlesSource.setData(Long.toString(result.getId()));
BundlesSource resultBundlesSource = bundlesSourceRepository.save(bundlesSource);
result.setBundlesSource(resultBundlesSource);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment