Uploaded image for project: 'Location Based Access Control'
  1. Location Based Access Control
  2. LBAC-27

Need to add exception for getPersonAttributeTypeByUuid method in PersonServiceInterceptorAdvice

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Should
    • Resolution: Fixed
    • None
    • 0.2.0
    • None

    Description

      When users calling  getSimilarPeople or other added methods, it calls the PersonServiceInterceptorAdvice. Inside the PersonServiceInterceptorAdvice, it calls getPersonAttributeTypeByUuid to get personAttributeType. Unfortunately, it makes calls like a loop and causes stackoverflowerror. So an exception for getPersonAttributeTypeByUuid() method need to be added in the PersonServiceInterceptorAdvice

       

      https://github.com/openmrs/openmrs-module-locationbasedaccess/blob/master/api/src/main/java/org/openmrs/module/locationbasedaccess/aop/interceptor/PersonServiceInterceptorAdvice.java#L45

      Gliffy Diagrams

        Attachments

          Activity

            People

              suthagar23 Suthagar Kailayapathy
              suthagar23 Suthagar Kailayapathy
              Suthagar Kailayapathy Suthagar Kailayapathy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: