Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-3812

QueryException received while searching for concepts through ConceptService

    XMLWordPrintable

    Details

    • Complexity:
      Low

      Description

      Executing:

      Context.getConceptService().getAllConcepts("name", true, false);

      results in the following exception:

      org.hibernate.QueryException: illegal attempt to dereference collection [concept0_.concept_id.names] with element property reference [name] [from org.openmrs.Concept concept where retired = false order by concept.names.name asc]

        Attachments

          Activity

            People

            Assignee:
            rapilabs David Sanders
            Reporter:
            rapilabs David Sanders
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h