I am facing this weird error when i am creating concepts using a recursive utility which reads from a csv file.
The scenario is as follows:
Concept A has two child answers B and C present in the file .
When A is being loaded, it can’t find B and C, hence i make a recursive call to store B and C. when the recursive call returns to the parent, i get an error the child don’t exist yet.
During the recursive calls made to B and C, after the are created. I check using conceptService.getConceptbyuuid() to see whether B and C exist and they do. But when the call returns to parent, the children don’t exist.
I tried flushing the session as soon as i create concepts. But it still doesn’t work. I am using ConceptService.SaveConcept(concept) to save a concept.