Fyi, it looks like this is the offending part of the code: at org.openmrs.web.controller.ConceptFormController$ConceptFormBackingObject.getNumberOfObsUsingThisConcept(ConceptFormController.java:913)
Assumedly, something within this method call is causing a flush, and the Concept is transient as this point, because it is new. It looks like the page is trying to read some statistical data about a concept, which is really only relevant when viewing/editing an existing concept. Mark From: dev@openmrs.org [mailto:dev@openmrs.org] On Behalf Of Ishara Premadasa Sent: Friday, May 11, 2012 10:02 AM To: openmrs-deve...@listserv.iupui.edu Subject: [OPENMRS-DEV] Exception occurs when trying to create a new concept Hi, I was trying to create a new concept with the latest trunk today for my gsoc project related work and it throws the following exception and page is not fully loaded. An error has occurred! The following error happened somewhere on this page: javax.el.ELException: org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: org.openmrs.Concept (The full error stack trace output is in the source of this page.) I have created a ticket for this in https://tickets.openmrs.org/browse/TRUNK-3345 . Can someone please have a look and help me? -- Ishara Premadasa, Google Summer of Code Intern 2012, Dept. of Computer Science and Engineering, University of Moratuwa, Sri Lanka. ________________________________ Click here to unsubscribe<mailto:lists...@listserv.iupui.edu?body=SIGNOFF%20openmrs-devel-l> from OpenMRS Developers' mailing list _________________________________________ To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to lists...@listserv.iupui.edu with "SIGNOFF openmrs-devel-l" in the body (not the subject) of your e-mail. [mailto:lists...@listserv.iupui.edu?body=SIGNOFF%20openmrs-devel-l]