Commit 94d0c0ab by apoorvnaik

Glossary bugfix for setting appropriate header info

Change-Id: I657f920f274f6cbdaeaa0b4c4a283779af589b99
parent 1617b671
...@@ -509,7 +509,7 @@ public class GlossaryService { ...@@ -509,7 +509,7 @@ public class GlossaryService {
glossaryCategoryUtils.processCategoryRelations(glossaryCategory, saved, GlossaryUtils.RelationshipOperation.CREATE); glossaryCategoryUtils.processCategoryRelations(glossaryCategory, saved, GlossaryUtils.RelationshipOperation.CREATE);
saved = dataAccess.load(glossaryCategory); saved = dataAccess.load(glossaryCategory);
setInfoForRelations(glossaryCategory); setInfoForRelations(saved);
if (DEBUG_ENABLED) { if (DEBUG_ENABLED) {
LOG.debug("<== GlossaryService.createCategory() : {}", saved); LOG.debug("<== GlossaryService.createCategory() : {}", saved);
...@@ -573,7 +573,7 @@ public class GlossaryService { ...@@ -573,7 +573,7 @@ public class GlossaryService {
} }
ret = dataAccess.load(glossaryCategory); ret = dataAccess.load(glossaryCategory);
setInfoForRelations(glossaryCategory); setInfoForRelations(ret);
return ret; return ret;
} }
......
Markdown is supported
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